{
  "name": "Generate multi-format social visuals with Abyssale and publish via Blotato",
  "nodes": [
    {
      "id": "232ae3dc-e4df-4625-9397-391931f3ba07",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -2080,
        32
      ]
    },
    {
      "id": "d18ba114-72ad-4db5-9c4b-c941f8f27531",
      "name": "Upload Image to tmpfiles",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1568,
        32
      ]
    },
    {
      "id": "f1861716-a262-4d02-829f-70d458a92198",
      "name": "Extract Public URL",
      "type": "n8n-nodes-base.code",
      "position": [
        -1344,
        32
      ]
    },
    {
      "id": "cefed02e-4202-4190-a822-19d535f2729d",
      "name": "Prepare AI Agent Input",
      "type": "n8n-nodes-base.set",
      "position": [
        -1152,
        32
      ]
    },
    {
      "id": "085dc2cc-78e9-4f59-bec7-dd4b202dba42",
      "name": "Generate NanoBanana Prompt",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -704,
        32
      ]
    },
    {
      "id": "9a761277-3dd0-404f-af33-a2bb7aa2728d",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -752,
        256
      ]
    },
    {
      "id": "0d27891c-1c86-477e-b2d4-f332446305df",
      "name": "Create NanoBanana Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -2080,
        624
      ]
    },
    {
      "id": "49cc7a95-ed18-448f-8781-5e5f524fb116",
      "name": "Extract Prediction ID",
      "type": "n8n-nodes-base.code",
      "position": [
        -1840,
        624
      ]
    },
    {
      "id": "19aa00e5-1ff7-464f-98ac-597b19a3c38a",
      "name": "Wait Before Polling",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1632,
        624
      ]
    },
    {
      "id": "1e001217-7330-4f11-8979-11162600119a",
      "name": "Check Image Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1408,
        544
      ]
    },
    {
      "id": "18205223-f657-44fe-a4fa-3ca893f662ae",
      "name": "Check If Completed",
      "type": "n8n-nodes-base.if",
      "position": [
        -1184,
        624
      ]
    },
    {
      "id": "35c79312-101d-4d24-8fb1-0df74494eb30",
      "name": "Extract Final Image URL",
      "type": "n8n-nodes-base.code",
      "position": [
        -576,
        608
      ]
    },
    {
      "id": "fa9d6cf8-de1d-4f5b-b8c1-2c5ba73ed41d",
      "name": "Download Final Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -752,
        1024
      ]
    },
    {
      "id": "827f8e60-3332-491f-b41f-cc422fbcb16e",
      "name": "Send Photo to Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -576,
        1024
      ]
    },
    {
      "id": "3873ed63-05cf-476a-bb8c-67111030c436",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -560,
        256
      ]
    },
    {
      "id": "9ddd1aad-aa7e-4340-8122-820c87b033ee",
      "name": "Get a file",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1792,
        32
      ]
    },
    {
      "id": "771d9550-e94a-4bc9-9b09-31d7b4306e21",
      "name": "OpenAI Vision: Analyze Reference Image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -928,
        32
      ]
    },
    {
      "id": "d16a1b1b-67bf-41f6-8381-0aa6ae4ec160",
      "name": "Extract Prediction ID1",
      "type": "n8n-nodes-base.code",
      "position": [
        -1824,
        1040
      ]
    },
    {
      "id": "6c5aba77-4e97-4254-82d8-1bdd32da5753",
      "name": "Wait Before Polling1",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1632,
        1040
      ]
    },
    {
      "id": "bd4e2d4c-9e24-412b-8c4a-d665e47a9e8b",
      "name": "Check Image Status1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1408,
        976
      ]
    },
    {
      "id": "44d4f1be-036e-40f1-a631-908b20c3472b",
      "name": "Check If Completed1",
      "type": "n8n-nodes-base.if",
      "position": [
        -1184,
        1040
      ]
    },
    {
      "id": "483240de-724d-4480-8e2f-2e2e7ba66211",
      "name": "Extract Final Image URL1",
      "type": "n8n-nodes-base.code",
      "position": [
        -960,
        1024
      ]
    },
    {
      "id": "ad3967cc-28fd-4b8e-a1b1-d36b2edb46a0",
      "name": "image background remover",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -2064,
        1040
      ]
    },
    {
      "id": "8a0f9bd6-b924-4bd1-b70f-b7f018fe44af",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2160,
        -96
      ],
      "parameters": {
        "width": 1776,
        "height": 512,
        "content": "# 🔹 Step 1: Generate the NanoBanana Image Prompt"
      }
    },
    {
      "id": "4732c674-806d-469f-99a5-568d4590cbca",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2160,
        448
      ],
      "parameters": {
        "width": 1776,
        "height": 416,
        "content": "# 🔹 Step 2: Generate and Retrieve the Edited Product Image"
      }
    },
    {
      "id": "410ceaf4-3597-4146-af88-993d73350a61",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2160,
        896
      ],
      "parameters": {
        "width": 1776,
        "height": 384,
        "content": "# 🔹 Step 3: Remove the Background and Create Transparent Cutout"
      }
    },
    {
      "id": "bc7327be-95f1-475a-98c3-9d16eb2d057e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2160,
        1344
      ],
      "parameters": {
        "width": 2496,
        "height": 448,
        "content": "# 🔹 Step 4: Generate Multi-Platform Social Media Designs with **[Abyssale.com](https://abyssale.cello.so/wXzGGKBcrTl)** "
      }
    },
    {
      "id": "297ac9c1-9a7b-4096-bfbe-fa6587d6fb50",
      "name": "Extract Layers",
      "type": "n8n-nodes-base.code",
      "position": [
        -1680,
        1504
      ]
    },
    {
      "id": "f9e9b69f-4cad-424d-b860-4daa9f383fa3",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -2080,
        1504
      ]
    },
    {
      "id": "08f267cd-95fc-418e-bcd8-976d46a315ce",
      "name": "Form",
      "type": "n8n-nodes-base.form",
      "position": [
        -1264,
        1504
      ]
    },
    {
      "id": "e22e8f52-0eb8-437f-80c0-05e19cbe8db6",
      "name": "Build Form Fields",
      "type": "n8n-nodes-base.code",
      "position": [
        -1472,
        1504
      ]
    },
    {
      "id": "bfdf16ff-ed68-4a1b-b9c7-7d307cf990a6",
      "name": "Build Abyssale Elements",
      "type": "n8n-nodes-base.code",
      "position": [
        -736,
        1504
      ]
    },
    {
      "id": "43ae98f5-a5bd-40a1-8fcb-810ee13b9dac",
      "name": "Generate Images",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -416,
        1504
      ]
    },
    {
      "id": "c2fba49f-218b-4395-add2-1ad9fdee133a",
      "name": "Convert Uploads to Base64",
      "type": "n8n-nodes-base.code",
      "position": [
        -1056,
        1504
      ]
    },
    {
      "id": "ecf7e142-9849-4a5f-84ee-3ba4e2f9dfcb",
      "name": "Get a design",
      "type": "n8n-nodes-abyssale.abyssale",
      "position": [
        -1872,
        1504
      ]
    },
    {
      "id": "40a97295-d673-466d-9817-c35be92558c2",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -144,
        1408
      ]
    },
    {
      "id": "47361162-0cac-48de-bada-fc9337e409c3",
      "name": "Upload media",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        80,
        1392
      ]
    },
    {
      "id": "4b3b55e9-863c-4de5-91cf-393a1991283c",
      "name": "Upload media1",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        224,
        1568
      ]
    },
    {
      "id": "ab17e10c-ff38-4cd6-a751-cf0706c1b3aa",
      "name": "Upload media2",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        368,
        1712
      ]
    },
    {
      "id": "c7078365-3b0a-4be0-86e7-a7538443ab6b",
      "name": "Upload media3",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        512,
        1856
      ]
    },
    {
      "id": "39f7f020-b7d6-43e1-9c41-4d055997aa2e",
      "name": "Upload media4",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        656,
        2000
      ]
    },
    {
      "id": "9e814c5f-8f5d-4dac-832c-d8968b554d1a",
      "name": "Upload media5",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        800,
        2144
      ]
    },
    {
      "id": "d3741df6-0f8f-4fe1-b7b3-8f9cb0ab3052",
      "name": "Upload media6",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        944,
        2288
      ]
    },
    {
      "id": "8b4a13db-6984-4e67-8bb1-709d2c251b91",
      "name": "Upload media7",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1088,
        2432
      ]
    },
    {
      "id": "5ad85f0a-c812-401c-a3f2-458320f14f63",
      "name": "Create facebook-post",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        288,
        1392
      ]
    },
    {
      "id": "835769b8-a965-4282-99ec-e9f69f2cff91",
      "name": "Create facebook-reel",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        432,
        1568
      ]
    },
    {
      "id": "a454dcb9-ada8-45c6-ba33-8157d8978992",
      "name": "Create instagram-post",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        576,
        1712
      ]
    },
    {
      "id": "afbf44f7-3d68-4da7-b56c-b1d8c34bb896",
      "name": "Create instagram-story",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        720,
        1856
      ]
    },
    {
      "id": "7027e436-973d-47f1-a2a3-2745ef9074d6",
      "name": "Create tiktok-post",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        864,
        2000
      ]
    },
    {
      "id": "4b89de18-9909-4f90-97a5-49cf6096d000",
      "name": "Create twitter-post",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1008,
        2144
      ]
    },
    {
      "id": "afa64f71-6b3b-4b95-b48c-ec881d71e1a9",
      "name": "Create linkedin-feed",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1152,
        2288
      ]
    },
    {
      "id": "d9991da3-e57e-47ce-865e-731cef9bc25c",
      "name": "Create pinterest-pins",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1296,
        2432
      ]
    },
    {
      "id": "d0e9a4a8-738e-48ec-98a9-62083a893b3a",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2848,
        -96
      ],
      "parameters": {
        "width": 652,
        "height": 1892,
        "content": "# 🚀  Generate social media designs in Abyssale and publish to Blotato \n## (By Dr. Firas)\n\n@[youtube](T9gNqXRH8nE)\n\n# 📘 Documentation  \nAccess detailed setup instructions, API config, platform connecti"
      }
    }
  ],
  "connections": {
    "Form": {
      "main": [
        [
          {
            "node": "Convert Uploads to Base64",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Upload media",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Upload media1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Upload media2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Upload media3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Upload media4",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Upload media5",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Upload media6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Upload media7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a file": {
      "main": [
        [
          {
            "node": "Upload Image to tmpfiles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a design": {
      "main": [
        [
          {
            "node": "Extract Layers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media": {
      "main": [
        [
          {
            "node": "Create facebook-post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media1": {
      "main": [
        [
          {
            "node": "Create facebook-reel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media2": {
      "main": [
        [
          {
            "node": "Create instagram-post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media3": {
      "main": [
        [
          {
            "node": "Create instagram-story",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media4": {
      "main": [
        [
          {
            "node": "Create tiktok-post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media5": {
      "main": [
        [
          {
            "node": "Create twitter-post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media6": {
      "main": [
        [
          {
            "node": "Create linkedin-feed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media7": {
      "main": [
        [
          {
            "node": "Create pinterest-pins",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Layers": {
      "main": [
        [
          {
            "node": "Build Form Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Images": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Get a file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Form Fields": {
      "main": [
        [
          {
            "node": "Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate NanoBanana Prompt",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Check If Completed": {
      "main": [
        [
          {
            "node": "Extract Final Image URL",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait Before Polling",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Image Status": {
      "main": [
        [
          {
            "node": "Check If Completed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Public URL": {
      "main": [
        [
          {
            "node": "Prepare AI Agent Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Get a design",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check If Completed1": {
      "main": [
        [
          {
            "node": "Extract Final Image URL1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait Before Polling1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Image Status1": {
      "main": [
        [
          {
            "node": "Check If Completed1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Before Polling": {
      "main": [
        [
          {
            "node": "Check Image Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create facebook-post": {
      "main": [
        []
      ]
    },
    "Download Final Image": {
      "main": [
        [
          {
            "node": "Send Photo to Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Before Polling1": {
      "main": [
        [
          {
            "node": "Check Image Status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Prediction ID": {
      "main": [
        [
          {
            "node": "Wait Before Polling",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Prediction ID1": {
      "main": [
        [
          {
            "node": "Wait Before Polling1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare AI Agent Input": {
      "main": [
        [
          {
            "node": "OpenAI Vision: Analyze Reference Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Abyssale Elements": {
      "main": [
        [
          {
            "node": "Generate Images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create NanoBanana Image": {
      "main": [
        [
          {
            "node": "Extract Prediction ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Final Image URL": {
      "main": [
        [
          {
            "node": "image background remover",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Final Image URL1": {
      "main": [
        [
          {
            "node": "Download Final Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Generate NanoBanana Prompt",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Upload Image to tmpfiles": {
      "main": [
        [
          {
            "node": "Extract Public URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "image background remover": {
      "main": [
        [
          {
            "node": "Extract Prediction ID1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert Uploads to Base64": {
      "main": [
        [
          {
            "node": "Build Abyssale Elements",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate NanoBanana Prompt": {
      "main": [
        [
          {
            "node": "Create NanoBanana Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Vision: Analyze Reference Image": {
      "main": [
        [
          {
            "node": "Generate NanoBanana Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}