{
  "name": "Automate Shopify Product Posting to Social Media with GPT-4.1-Mini & Data Tracking",
  "nodes": [
    {
      "id": "9647bd1c-13be-4d45-967b-1ee86860f830",
      "name": "Set Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        800,
        -144
      ]
    },
    {
      "id": "c58bbe87-716c-4813-a460-7aaff9aac416",
      "name": "Create Instagram Media Container",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1088,
        -16
      ]
    },
    {
      "id": "cf07a45a-6559-4970-9bb0-95f2c1a9be81",
      "name": "Wait for Processing",
      "type": "n8n-nodes-base.wait",
      "position": [
        1280,
        -16
      ]
    },
    {
      "id": "9d1e5a82-051f-4607-8495-f15a59063d6f",
      "name": "Publish Instagram Media",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1472,
        -16
      ]
    },
    {
      "id": "23c6d9e0-e49d-47e5-b263-69825a440ac2",
      "name": "Download Image for Facebook",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1104,
        -272
      ]
    },
    {
      "id": "f3093c54-b985-45f1-9552-dd56ad3c8b95",
      "name": "Shopify Trigger",
      "type": "n8n-nodes-base.shopifyTrigger",
      "position": [
        0,
        -144
      ]
    },
    {
      "id": "a05cc51d-33e4-4068-b415-23aa18ffeff9",
      "name": "parse product data",
      "type": "n8n-nodes-base.function",
      "position": [
        224,
        -144
      ]
    },
    {
      "id": "fa7aa400-a958-48d4-b01e-f898ec525c34",
      "name": "Generate caption and hashtags",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        448,
        -144
      ]
    },
    {
      "id": "edd5397c-da14-43de-914f-04536e215235",
      "name": "Post to Facebook Page",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1376,
        -272
      ]
    },
    {
      "id": "14e50a9c-a9c6-49e7-bb03-345a97267cda",
      "name": "Log Product Post Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1952,
        -160
      ]
    },
    {
      "id": "4e7031cb-0d60-4b42-ab24-6ee117f3ad03",
      "name": "Notify Discord About Post",
      "type": "n8n-nodes-base.discord",
      "position": [
        2208,
        -160
      ]
    },
    {
      "id": "ce105698-d31a-46ac-8228-c88e7f3ad6a5",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        1728,
        -160
      ]
    },
    {
      "id": "1af331ab-641b-4137-ad6a-890cfc051ef1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        -432
      ],
      "parameters": {
        "width": 784,
        "height": 624,
        "content": "## Step 1: Product Capture & Prep  \nCaptures new Shopify products, extracts all required product details, and prepares clean data for caption generation and social posting.\n"
      }
    },
    {
      "id": "81a00629-076d-447f-b9be-d4467b02b7d1",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        784,
        -432
      ],
      "parameters": {
        "width": 896,
        "height": 624,
        "content": "## Step 2: Social Content & Publishing  \nAI generates the caption and hashtags, then posts the product image and text to Instagram and Facebook using the Meta Graph API.\n"
      }
    },
    {
      "id": "7328d5cc-ce39-4075-85e3-b1a254a86a93",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1712,
        -432
      ],
      "parameters": {
        "width": 768,
        "height": 624,
        "content": "## Step 3: Logging & Notifications  \nLogs post details to Google Sheets and sends a final confirmation message to Discord with product information.\n"
      }
    },
    {
      "id": "c3a7fd78-0c2b-4719-86e0-75f51f16b9a4",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -656,
        -432
      ],
      "parameters": {
        "width": 544,
        "height": 592,
        "content": "## Ecom Auto Social Posting Workflow – Overview  \nThis workflow automatically turns every new Shopify product into a ready-to-post social media update. It collects the product’s name, price, image, an"
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Log Product Post Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Trigger": {
      "main": [
        [
          {
            "node": "parse product data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Configuration": {
      "main": [
        [
          {
            "node": "Create Instagram Media Container",
            "type": "main",
            "index": 0
          },
          {
            "node": "Download Image for Facebook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "parse product data": {
      "main": [
        [
          {
            "node": "Generate caption and hashtags",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Processing": {
      "main": [
        [
          {
            "node": "Publish Instagram Media",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Product Post Data": {
      "main": [
        [
          {
            "node": "Notify Discord About Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post to Facebook Page": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Publish Instagram Media": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Download Image for Facebook": {
      "main": [
        [
          {
            "node": "Post to Facebook Page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate caption and hashtags": {
      "main": [
        [
          {
            "node": "Set Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Instagram Media Container": {
      "main": [
        [
          {
            "node": "Wait for Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}