{
  "name": "Create AI social media carousels from Google Sheet and auto-publish with Blotato",
  "nodes": [
    {
      "id": "a4153a3e-38e5-40ba-bcbb-caed0ab0cd70",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1088,
        -32
      ]
    },
    {
      "id": "79710fea-ada9-47d9-a3c7-eb408d43e3fe",
      "name": "Get Rows",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -880,
        -32
      ]
    },
    {
      "id": "5ad3bd61-8b15-4511-8072-99ef2f582736",
      "name": "Set Processing",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -656,
        -32
      ]
    },
    {
      "id": "11ba211b-969d-4c66-a03f-def1c1f5fde4",
      "name": "Has Description?",
      "type": "n8n-nodes-base.if",
      "position": [
        -432,
        -32
      ]
    },
    {
      "id": "7d8276ec-f06f-4e64-90ea-510e3ef189bd",
      "name": "Merge Data",
      "type": "n8n-nodes-base.code",
      "position": [
        0,
        48
      ]
    },
    {
      "id": "b61b39a2-4268-4b68-b3ba-1d0cb761cfe7",
      "name": "Scrape Product",
      "type": "n8n-nodes-base.jinaAi",
      "position": [
        -208,
        -112
      ]
    },
    {
      "id": "de8f22e7-80a3-42a7-b17f-af8517ec6dee",
      "name": "Parse AI Response",
      "type": "n8n-nodes-base.code",
      "position": [
        -688,
        400
      ]
    },
    {
      "id": "3facdfe4-e477-465b-8ecd-218e36f7dd25",
      "name": "Fetch Images to Base64",
      "type": "n8n-nodes-base.code",
      "position": [
        -464,
        400
      ]
    },
    {
      "id": "d9693b4e-6bca-406f-a33e-9e9f734d1f81",
      "name": "Prepare Nano Banana Items",
      "type": "n8n-nodes-base.code",
      "position": [
        -240,
        400
      ]
    },
    {
      "id": "8fa5c209-84fd-43fd-b9d8-06b6b32625b6",
      "name": "Edit Fields1",
      "type": "n8n-nodes-base.set",
      "position": [
        -528,
        848
      ]
    },
    {
      "id": "01127227-53f3-433f-808b-7bc8a5045910",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -1200,
        848
      ]
    },
    {
      "id": "2e051a6b-d4bf-4471-8e62-b7b73ae55e5a",
      "name": "Nano Banana Pro",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -752,
        848
      ]
    },
    {
      "id": "ad05a6ab-5efc-46a0-a551-a906724800d2",
      "name": "Add Previous Slides",
      "type": "n8n-nodes-base.code",
      "position": [
        -976,
        848
      ]
    },
    {
      "id": "31253ae7-1329-4efe-8024-567ff4a00480",
      "name": "Save Slide to Memory",
      "type": "n8n-nodes-base.code",
      "position": [
        144,
        928
      ]
    },
    {
      "id": "66385310-9796-4fcc-947e-16c6e076bd28",
      "name": "Convert to File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        -304,
        848
      ]
    },
    {
      "id": "b4c16c23-a029-43a6-8406-22a166f2f07e",
      "name": "Prepare Post Payload",
      "type": "n8n-nodes-base.code",
      "position": [
        -832,
        1488
      ]
    },
    {
      "id": "6f956016-8ae7-4668-be08-f846612466cb",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -608,
        1472
      ]
    },
    {
      "id": "955c7268-fe99-4597-b1ad-37acd1b45843",
      "name": "instagram",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -176,
        1344
      ]
    },
    {
      "id": "5e6ce38b-e062-4bb5-b0b9-a96e63d39c82",
      "name": "facebook",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -176,
        1504
      ]
    },
    {
      "id": "d71e1d16-2031-4cc8-9f80-956ff6cc9f55",
      "name": "X",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -176,
        1664
      ]
    },
    {
      "id": "3422245f-08a5-4b69-b52b-f5768840fa86",
      "name": "Blotato Upload",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -80,
        848
      ]
    },
    {
      "id": "fa650309-45ce-41b7-9987-67a0cbadd208",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -1040,
        400
      ]
    },
    {
      "id": "1bbd210a-c06c-412c-9b75-7ed47ea7cddf",
      "name": "Anthropic Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        -1040,
        544
      ]
    },
    {
      "id": "79d00904-3a8a-4186-a215-9c368285d679",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -896,
        544
      ]
    },
    {
      "id": "245db2ba-fecb-462c-ace0-12ddda9d2cbe",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1232,
        -192
      ],
      "parameters": {
        "width": 1584,
        "height": 384,
        "content": "# 🔹 Step 1: Fetch Product Data & Prepare Content"
      }
    },
    {
      "id": "1a154f49-913d-4be9-964a-807f38c9ba65",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1232,
        256
      ],
      "parameters": {
        "width": 1584,
        "height": 416,
        "content": "# 🔹 Step 2: AI Creative Direction & Image Preparation"
      }
    },
    {
      "id": "229806dc-9667-434a-b246-277164450b9d",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1232,
        736
      ],
      "parameters": {
        "width": 1584,
        "height": 384,
        "content": "# 🔹 Step 3: Generate Slides with Visual Consistency Loop"
      }
    },
    {
      "id": "98f68613-01e1-43a4-8c35-602295926192",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1232,
        1200
      ],
      "parameters": {
        "width": 1584,
        "height": 656,
        "content": "# 🔹 Step 4: Publish"
      }
    },
    {
      "id": "2e63b1f8-2802-4175-a4dc-697d08c91808",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1936,
        -192
      ],
      "parameters": {
        "width": 652,
        "height": 2052,
        "content": "# 🚀 Social Media Carousel Generator AI-Powered Design + Auto-Publish\n### By @nocodehack\n@[youtube](A_QT-9qUkxc)\n---\n## ⚙️ What This Workflow Does\nThis workflow automates the complete lifecycle of an I"
      }
    },
    {
      "id": "22a8b9be-c8b0-4b8e-8c97-6d802c105baf",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -384,
        1344
      ]
    },
    {
      "id": "3ebe489d-1ac0-4f04-91b2-b3595247c5ee",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        -384,
        1504
      ]
    },
    {
      "id": "0476addb-8930-44e1-b267-1c196b2117d4",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "position": [
        -384,
        1664
      ]
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "instagram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "facebook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "X",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Rows": {
      "main": [
        [
          {
            "node": "Set Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "instagram": {
      "main": [
        []
      ]
    },
    "Merge Data": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Blotato Upload": {
      "main": [
        [
          {
            "node": "Save Slide to Memory",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Product": {
      "main": [
        [
          {
            "node": "Merge Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Processing": {
      "main": [
        [
          {
            "node": "Has Description?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Parse AI Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File": {
      "main": [
        [
          {
            "node": "Blotato Upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Prepare Post Payload",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Add Previous Slides",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Nano Banana Pro": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Description?": {
      "main": [
        [
          {
            "node": "Scrape Product",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get Rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI Response": {
      "main": [
        [
          {
            "node": "Fetch Images to Base64",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Previous Slides": {
      "main": [
        [
          {
            "node": "Nano Banana Pro",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Post Payload": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Slide to Memory": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Images to Base64": {
      "main": [
        [
          {
            "node": "Prepare Nano Banana Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Nano Banana Items": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}