{
  "name": "Automated viral content engine for LinkedIn & X with AI generation & publishing",
  "nodes": [
    {
      "id": "0bdefc95-4804-4aa7-b1a9-80488994a13c",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -512,
        -784
      ]
    },
    {
      "id": "0e8d2807-0890-4052-824a-fbe9d1d2d927",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        112,
        -784
      ]
    },
    {
      "id": "9239ff5e-b019-45c1-a767-299f19d1e299",
      "name": "Add competitors",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        320,
        -784
      ]
    },
    {
      "id": "5aabb4f8-6c8f-43e2-a20d-ef3ff9f99769",
      "name": ">100 likes",
      "type": "n8n-nodes-base.filter",
      "position": [
        -96,
        -784
      ]
    },
    {
      "id": "30e44b69-acb1-4558-84f1-eb03441d8e5f",
      "name": "Find competitors",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -304,
        -784
      ]
    },
    {
      "id": "74c3b57c-3da1-47f5-87db-5bb67046ba38",
      "name": "Scrape viral posts",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        496,
        -176
      ]
    },
    {
      "id": "104e2bfc-04c7-47db-996d-75d0c7240a25",
      "name": "Get competitors",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -128,
        -176
      ]
    },
    {
      "id": "368ff893-f6bc-480c-aba2-dc01d1390886",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        304,
        -176
      ]
    },
    {
      "id": "3080489e-14a4-4270-9333-6edca9ce50fe",
      "name": "Edit Fields1",
      "type": "n8n-nodes-base.set",
      "position": [
        96,
        -176
      ]
    },
    {
      "id": "6c4858c1-d1f8-4a69-9aff-1177833030f9",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -992,
        -400
      ],
      "parameters": {
        "width": 2096,
        "height": 80,
        "content": "# System 2: Content Discovery\nScrape Viral Posts based on defined niche/keywords from LinkedIn."
      }
    },
    {
      "id": "ef40de18-23bd-40ad-8003-b115d2f89c4d",
      "name": "Edit Fields2",
      "type": "n8n-nodes-base.set",
      "position": [
        1184,
        -176
      ]
    },
    {
      "id": "a2cd7304-2f2b-48b7-9279-1bba89a7fc39",
      "name": "Text Classifier",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        1392,
        -176
      ]
    },
    {
      "id": "13d83eb3-8739-402d-b693-19cf6375f25a",
      "name": "Deepseek",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1408,
        0
      ]
    },
    {
      "id": "56a8e4cd-ba34-4639-9055-b848adee7dfc",
      "name": "append ideas",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1808,
        -272
      ]
    },
    {
      "id": "0c29664f-183c-44a6-8d8d-16afe5b0307f",
      "name": "Remove Duplicates",
      "type": "n8n-nodes-base.removeDuplicates",
      "position": [
        896,
        -176
      ]
    },
    {
      "id": "ca614bd2-822c-4d65-9056-580d2337b43a",
      "name": "Telegram trigger",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -512,
        -48
      ]
    },
    {
      "id": "5b145e5a-4234-4194-a269-fff60be9e2b6",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2016,
        -272
      ]
    },
    {
      "id": "4b5f505d-4647-4dc1-a664-3b4fb5567b07",
      "name": "Saturday 11 PM",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -528,
        -256
      ]
    },
    {
      "id": "5e566dc4-77ed-48d0-bf1a-dbdf8a640ea4",
      "name": "Gemini flash",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1584,
        0
      ]
    },
    {
      "id": "397465a7-8369-4893-ab98-9160a464a67e",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1376,
        -416
      ],
      "parameters": {
        "width": 960,
        "height": 528,
        "content": "## Only Evergreen Content\nSave only evergreen content. Notify the user via Telegram when the execution is finished.\n\n### Make sure to change the system prompt of the classifier node according to your "
      }
    },
    {
      "id": "8d809e83-6663-4f82-a5eb-9ba7b98c2fc5",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -976,
        -1088
      ],
      "parameters": {
        "width": 2196,
        "height": 96,
        "content": "# System 1: Initialization (Optional)\nScrape Competitor Profiles from LinkedIn and save to a database or sheet."
      }
    },
    {
      "id": "0a3b245b-4804-4144-a45f-6b8f6acc145c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        -944
      ],
      "parameters": {
        "width": null,
        "height": 320,
        "content": "## Configure Me!\nMake sure to append the keywords for your niche in this node.\nI used AI, Automation niche keywords."
      }
    },
    {
      "id": "cacbe227-a90c-44a8-8fa0-b7e727824b2b",
      "name": ">100 likes1",
      "type": "n8n-nodes-base.filter",
      "position": [
        672,
        -176
      ]
    },
    {
      "id": "6dd5aea9-147b-4ae5-ad25-8ae428835842",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        544
      ],
      "parameters": {
        "width": 400,
        "height": 288,
        "content": "## OpenAI image gen\nMay use instead of Gemini image gen"
      }
    },
    {
      "id": "b838b58a-bbaf-438e-81c0-344225ffee21",
      "name": "OpenAI Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1872,
        640
      ]
    },
    {
      "id": "7a2bc301-24b7-4dce-8e76-66bf6058c1d2",
      "name": "Convert to File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        2064,
        640
      ]
    },
    {
      "id": "25023383-4d3c-4f79-8f76-3b29e31f6279",
      "name": "Aggregate2",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        384,
        496
      ]
    },
    {
      "id": "c3fc54bf-8e5f-4988-bde0-0af5d0feba22",
      "name": "Gemini flash1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        864,
        1152
      ]
    },
    {
      "id": "5807fc1e-576a-45ba-ad11-9e641960d6b1",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        720
      ],
      "parameters": {
        "width": 944,
        "height": 416,
        "content": "## Generate Post Image 🖼️\nTakes the image_description from the AI Agent.\n\nUses a reference image (Minimalistic) for style guidance.\n\nCalls the Gemini Image Generation API to create a new, unique image"
      }
    },
    {
      "id": "e0acacf8-0ab1-4ad1-8da8-53ea9c598ba2",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        544,
        1040
      ],
      "parameters": {
        "width": null,
        "height": 256,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n## Sub workflow\nsearch the web for relevant data"
      }
    },
    {
      "id": "0cad52b3-5fea-49e8-b10f-3f4e506b4e5e",
      "name": "Notify (HitL)1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        816,
        576
      ]
    },
    {
      "id": "6a464a15-dc14-45ef-83c7-9c2d8e411c5f",
      "name": "Edit Fields3",
      "type": "n8n-nodes-base.set",
      "position": [
        -112,
        688
      ]
    },
    {
      "id": "ea3b7069-7b0e-4b2f-bf05-82dcba7dd6d7",
      "name": "Deepseek1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        416,
        1040
      ]
    },
    {
      "id": "f8c9551c-c0ad-4ffa-a72a-91870287349c",
      "name": "Set content",
      "type": "n8n-nodes-base.set",
      "position": [
        3024,
        1056
      ]
    },
    {
      "id": "8185aad1-94cc-4085-ae93-c19a09fb932d",
      "name": "Mark Idea as Done",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3424,
        1056
      ]
    },
    {
      "id": "d2b42164-599c-4cf6-8f10-36addb20694c",
      "name": "Pic exist?",
      "type": "n8n-nodes-base.if",
      "position": [
        2384,
        912
      ]
    },
    {
      "id": "4d2618de-afa5-4610-a503-98c0ed3bb64c",
      "name": "Generated ?",
      "type": "n8n-nodes-base.if",
      "position": [
        1152,
        960
      ]
    },
    {
      "id": "536b05b1-d0e3-40b8-92bc-7bf513311c97",
      "name": "Sunday 1 AM",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -496,
        688
      ]
    },
    {
      "id": "cacd0862-834e-4818-b80f-41aeb8afdc07",
      "name": "Gemini 2.5 pro",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        304,
        928
      ]
    },
    {
      "id": "fbd1ffa8-4542-4b02-b982-91e4c744779a",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        80,
        688
      ]
    },
    {
      "id": "17960683-29d2-4731-b787-878070b179b4",
      "name": "Reasearch",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        624,
        1056
      ]
    },
    {
      "id": "4a4c40d8-58c7-4412-a7d2-3eb655c1a0b5",
      "name": "Minimalistic",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1392,
        944
      ]
    },
    {
      "id": "7507c779-9fa2-4f20-8d98-b113d70e9cdb",
      "name": "get base64",
      "type": "n8n-nodes-base.set",
      "position": [
        2112,
        928
      ]
    },
    {
      "id": "3741fa56-38dc-4283-87cc-884e4ce6ad21",
      "name": "set base64",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        1616,
        944
      ]
    },
    {
      "id": "cef3cf2b-2ad4-46cc-981d-a3f5876e5ef3",
      "name": "Convert to File1",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        2640,
        896
      ]
    },
    {
      "id": "e97caa8a-a037-4a65-9612-3432c3e451ce",
      "name": "Get Viral Ideas",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -320,
        688
      ]
    },
    {
      "id": "cec2333a-ef6d-44a4-a68d-5b63125f7b82",
      "name": "HTTP- Gemini",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1824,
        944
      ]
    },
    {
      "id": "161f5bbe-fd2f-434e-a401-09d8790f9135",
      "name": "Post repurpose",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        528,
        784
      ]
    },
    {
      "id": "793342ce-0874-4c77-96ba-324b5601074b",
      "name": "Save Post",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3216,
        1056
      ]
    },
    {
      "id": "fb68d656-d141-43bd-aa6e-776ec98357be",
      "name": "Save Image",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2848,
        912
      ]
    },
    {
      "id": "61913145-c69e-4eef-9717-f7008ceeb91a",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        784,
        976
      ]
    },
    {
      "id": "7a74a039-d59d-434b-918f-c53c26a57c53",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -992,
        304
      ],
      "parameters": {
        "width": 2164,
        "height": 96,
        "content": "# System 3: Generate New Post from viral posts"
      }
    },
    {
      "id": "aed48d5f-e719-4937-9e81-7529bc8d5fe6",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        528
      ],
      "parameters": {
        "width": 576,
        "height": 320,
        "content": "## Fetch Viral Post Ideas 📥\nGrabs all rows from the 'Viral Ideas' Google Sheet where the status is 'Ready'.\n\nLoops through each idea one by one for processing."
      }
    },
    {
      "id": "0506f9a6-bdbe-467e-af8b-018122862532",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3856,
        480
      ],
      "parameters": {
        "width": 1908,
        "height": 144,
        "content": "# Generate New Post from user's idea\nThis is a seperate workflow. \nAdd a`  When executed by another workflow  ` trigger node at the beginning\nThis will execute when the user sends a post idea via tele"
      }
    },
    {
      "id": "fb8fd38f-aad7-4f05-8125-8f0d8c4aeb1f",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        4448,
        944
      ]
    },
    {
      "id": "b7979c8a-6ab8-4555-9017-52126c249ac8",
      "name": "HTTP- Gemini1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5200,
        832
      ]
    },
    {
      "id": "94205b1c-1788-475c-8b41-d95a55c2d1cb",
      "name": "Convert to File2",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        5888,
        816
      ]
    },
    {
      "id": "3fc3eb82-2e0a-4d7a-9714-cd0f2c615558",
      "name": "set base",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        4976,
        832
      ]
    },
    {
      "id": "b57a79b5-7452-4a39-98a1-7a42a31e8329",
      "name": "get base",
      "type": "n8n-nodes-base.set",
      "position": [
        5424,
        832
      ]
    },
    {
      "id": "3f24cf47-7acd-4674-badb-89f40ca56bf5",
      "name": "Minimalistic1",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        4752,
        832
      ]
    },
    {
      "id": "181132d2-bba9-4503-af10-d95b7378650f",
      "name": "Reasearch1",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        4272,
        1056
      ]
    },
    {
      "id": "76edeac6-cda5-4b19-9be9-912f4eeb497d",
      "name": "Post generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        4192,
        720
      ]
    },
    {
      "id": "8f57c916-3b48-4002-80eb-ca25b5917827",
      "name": "Send post",
      "type": "n8n-nodes-base.telegram",
      "position": [
        4976,
        1104
      ]
    },
    {
      "id": "324e25a7-658f-4338-81bc-ff273004aa4b",
      "name": "Deepseek2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        4128,
        960
      ]
    },
    {
      "id": "d8a5ceb7-c1b8-4cc0-9798-e544accf31c3",
      "name": "Gemini 2.5 pro1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        4432,
        1152
      ]
    },
    {
      "id": "d39bdbee-657a-4a05-8149-e45f0cff9fa0",
      "name": "Send image",
      "type": "n8n-nodes-base.telegram",
      "position": [
        6080,
        816
      ]
    },
    {
      "id": "34e0076f-2b3a-4b8f-92dc-9aa549eccd07",
      "name": "Pic exist?1",
      "type": "n8n-nodes-base.if",
      "position": [
        5632,
        832
      ]
    },
    {
      "id": "44a1a5e0-a1c4-4730-9eec-dc9721ff3f1e",
      "name": "no pic",
      "type": "n8n-nodes-base.telegram",
      "position": [
        5872,
        1056
      ]
    },
    {
      "id": "a5a62673-3338-4bff-a3ee-94ac8956e2a6",
      "name": "Get content",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -128,
        2112
      ]
    },
    {
      "id": "c6d83820-e191-40bd-bb40-0690c6263648",
      "name": "Content repurpose",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        624,
        2240
      ]
    },
    {
      "id": "5ccb4770-78b7-4894-a283-7b8cedecf091",
      "name": "Append post",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1584,
        2256
      ]
    },
    {
      "id": "bb079338-af29-455e-b000-e90d1ce51cde",
      "name": "All Done",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1792,
        2256
      ]
    },
    {
      "id": "b442fe57-4deb-48b4-a48c-e19bf3aa871d",
      "name": "Gemini pro",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        496,
        2464
      ]
    },
    {
      "id": "1c035513-c4ba-48ce-9a75-bd511814331a",
      "name": "Sunday 7am",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -336,
        2112
      ]
    },
    {
      "id": "ac048865-1169-48f1-b854-5ef2aa913b4f",
      "name": "Edit Fields5",
      "type": "n8n-nodes-base.set",
      "position": [
        352,
        2224
      ]
    },
    {
      "id": "3c5333c8-0a79-4cf6-9560-e397de5171df",
      "name": "Structured Output Parser2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        912,
        2432
      ]
    },
    {
      "id": "d469f913-c817-4c7d-812f-425db95391bc",
      "name": "Deepseek3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        672,
        2480
      ]
    },
    {
      "id": "03ab1efe-3fec-4ff2-9163-03b467291592",
      "name": "Edit Fields6",
      "type": "n8n-nodes-base.set",
      "position": [
        1360,
        2224
      ]
    },
    {
      "id": "5d2cf1f4-e974-4cf0-89e6-6affd15f8493",
      "name": "Loop Over Items1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        112,
        2112
      ]
    },
    {
      "id": "2b7de710-a9c4-49db-988e-19661eaaff35",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -928,
        1584
      ],
      "parameters": {
        "width": 2144,
        "height": 80,
        "content": "# SYSTEM 4: Repurpose for X"
      }
    },
    {
      "id": "a4a25ef3-28dc-405a-9a6d-cf7f8d68ff41",
      "name": "Gemini flash2",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        816,
        2624
      ]
    },
    {
      "id": "939567a8-b92c-493a-8943-e2f96723f4d4",
      "name": "Aggregate3",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        400,
        1920
      ]
    },
    {
      "id": "df7eac13-8a3b-42a3-b7bb-d8eb29cfcd6a",
      "name": "Sticky Note21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        2352
      ],
      "parameters": {
        "width": 384,
        "height": 256,
        "content": "# Note\n## Good to run a week behind SMS (LinkedIn)"
      }
    },
    {
      "id": "938d15cb-b9bc-4fe1-8be4-7459e764599f",
      "name": "Sticky Note22",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        1792
      ],
      "parameters": {
        "width": 724,
        "height": 80,
        "content": "# Generate New Post Idea from viral posts"
      }
    },
    {
      "id": "24311385-78f4-4815-8fbb-5b1918554a6e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        2112
      ],
      "parameters": {
        "width": 496,
        "height": 304,
        "content": "### Make sure to change the system prompt according to your needs. (Currently optimized for AI, Automation-related content)"
      }
    },
    {
      "id": "f7634378-ee66-4c78-b59c-45549b5f777a",
      "name": "Generated ?1",
      "type": "n8n-nodes-base.if",
      "position": [
        1088,
        2240
      ]
    },
    {
      "id": "8be58366-4c41-4ec1-8bff-b0250404a329",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1504,
        2112
      ],
      "parameters": {
        "width": null,
        "height": 352,
        "content": "### Appends post and the same image used for linkedin post"
      }
    },
    {
      "id": "7764026d-fbec-44f1-9bee-031cce560860",
      "name": "Content repurpose1",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        4192,
        1920
      ]
    },
    {
      "id": "d5cc4ab8-3dcf-480f-99e7-85de45bd9c04",
      "name": "Gemini pro1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        4016,
        2128
      ]
    },
    {
      "id": "a06a691f-ce35-4c1c-9c98-9e20627e6193",
      "name": "Edit Fields4",
      "type": "n8n-nodes-base.set",
      "position": [
        4816,
        1888
      ]
    },
    {
      "id": "65bb5ff6-2c3d-4a89-8803-95801ee7ab16",
      "name": "Structured Output Parser3",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        4352,
        2112
      ]
    },
    {
      "id": "56e8b52c-4a52-4aeb-ae43-5543bd0664f9",
      "name": "Deepseek4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        4176,
        2128
      ]
    },
    {
      "id": "3f6d1595-182e-4325-841a-da833461cf0b",
      "name": "Gemini flash3",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        4256,
        2304
      ]
    },
    {
      "id": "5928023b-62c4-4b41-b83a-2435721d5c12",
      "name": "Sticky Note23",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3824,
        1584
      ],
      "parameters": {
        "width": 1908,
        "height": null,
        "content": "# Generate New Post Idea from user's idea\nThis is a seperate workflow. \nAdd a`  When executed by another workflow  ` trigger node at the beginning\nThis will execute when the user sends a post idea via"
      }
    },
    {
      "id": "7700fa0a-0993-4260-987e-13994a0bcbb4",
      "name": "Send post1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        5040,
        1888
      ]
    },
    {
      "id": "652285c1-5509-4b1a-abf5-2fd4711562d3",
      "name": "Generated ?2",
      "type": "n8n-nodes-base.if",
      "position": [
        4560,
        1904
      ]
    },
    {
      "id": "67450c76-99e1-4d28-8490-8e6efee603b7",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4144,
        1792
      ],
      "parameters": {
        "width": 352,
        "height": 256,
        "content": "This will generate 4-6 X threads for a post idea sent by the user.\n\nMake sure to configure the system prompt according to your needs."
      }
    },
    {
      "id": "adb0597f-85e5-4bdb-af24-19543f8ebf70",
      "name": "6 pm",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -496,
        3456
      ]
    },
    {
      "id": "1ee7a89e-a1ac-442c-a7e1-5895d668339c",
      "name": "Create a post",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        32,
        3456
      ]
    },
    {
      "id": "8ea814e0-04d8-40cf-936f-432b1751a666",
      "name": "Download file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -144,
        3456
      ]
    },
    {
      "id": "5b52c2b6-838d-422e-b077-38e85cd786d3",
      "name": "Update status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        224,
        3456
      ]
    },
    {
      "id": "76026aec-6d17-429b-a8e2-7cbda563c54a",
      "name": "Notify user",
      "type": "n8n-nodes-base.telegram",
      "position": [
        400,
        3456
      ]
    },
    {
      "id": "5572aa4a-71bb-4800-b920-d0f960a1187d",
      "name": "Get content1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -320,
        3456
      ]
    },
    {
      "id": "e5018325-4022-494e-ba56-15ec0d2fd869",
      "name": "6:30 pm",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1024,
        3536
      ]
    },
    {
      "id": "0be7a647-8630-463d-bb90-6c8421145870",
      "name": "Get valid content",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1248,
        3536
      ]
    },
    {
      "id": "87492ad0-9724-4db7-844a-17fc237973d4",
      "name": "Create Tweet",
      "type": "n8n-nodes-base.twitter",
      "position": [
        2144,
        3440
      ]
    },
    {
      "id": "b2e72ca9-973c-489a-8230-3d22c9e03be0",
      "name": "Update status1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2384,
        3440
      ]
    },
    {
      "id": "a79a6dee-8f83-4588-abe9-591a813ce289",
      "name": "Get image",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1696,
        3440
      ]
    },
    {
      "id": "0420ca11-e94b-4914-91ac-19dc59cb5354",
      "name": "Image valid?",
      "type": "n8n-nodes-base.if",
      "position": [
        1472,
        3536
      ]
    },
    {
      "id": "d2c278d9-b1dd-44cc-8b7d-b9f45c1f97a8",
      "name": "Create Tweet1",
      "type": "n8n-nodes-base.twitter",
      "position": [
        1696,
        3632
      ]
    },
    {
      "id": "e892b671-6d7e-44df-89e0-453d47146115",
      "name": "Update status2",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1920,
        3632
      ]
    },
    {
      "id": "5d94f34e-216d-4bcb-8ce5-854ce237bd5d",
      "name": "Upload image to X",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1920,
        3440
      ]
    },
    {
      "id": "9c1dcced-12e5-44ad-adcb-3119f204d59b",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        3296
      ],
      "parameters": {
        "width": 672,
        "height": 96,
        "content": "## Post to LinkedIn\nCheck for valid contents\nPost a valid content to LinkedIn and append the post record to sheets"
      }
    },
    {
      "id": "147c2348-9da8-450e-baaa-0460d96b3df9",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -912,
        2992
      ],
      "parameters": {
        "width": 3328,
        "height": 128,
        "content": "# System 5: Auto Post to different platforms"
      }
    },
    {
      "id": "cd0b2d85-59a7-46c4-b386-9b86540d3743",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1024,
        3280
      ],
      "parameters": {
        "width": 672,
        "height": 96,
        "content": "## Post to X\nCheck for valid contents\nPost a valid content to X and append the post record to sheets"
      }
    },
    {
      "id": "2daad5da-7715-43bd-ba31-9fd2a19327e5",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        3312
      ],
      "parameters": {
        "width": null,
        "height": 272,
        "content": "## NOTE:\n X OAuth (Not OAuth2) crential is needed here."
      }
    },
    {
      "id": "18b7ab74-3a98-4058-b367-f7a97d722a52",
      "name": "1 min",
      "type": "n8n-nodes-base.wait",
      "position": [
        96,
        4592
      ]
    },
    {
      "id": "26cc17e0-64a8-4b7f-b3bc-86762d1223ed",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        528,
        4592
      ]
    },
    {
      "id": "934bbf3f-4af2-4851-a3a0-2f3efc69d463",
      "name": "Error",
      "type": "n8n-nodes-base.set",
      "position": [
        752,
        4704
      ]
    },
    {
      "id": "72b6496e-8ac9-4c5d-9cd2-3425cbd562d0",
      "name": "Create task",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -224,
        4592
      ]
    },
    {
      "id": "73be38ab-e357-45c9-bffb-f58a27a89b3a",
      "name": "Get task status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        304,
        4592
      ]
    },
    {
      "id": "91c285cf-7b80-47e8-9221-8d61c0165e23",
      "name": "get output",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        880,
        4576
      ]
    },
    {
      "id": "f1f1ca83-c550-4d6c-a433-5969be2cde6c",
      "name": "Output",
      "type": "n8n-nodes-base.set",
      "position": [
        1088,
        4576
      ]
    },
    {
      "id": "d40ed3de-745b-4d62-99f4-972920087693",
      "name": "Perplexity Research",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1392,
        4400
      ]
    },
    {
      "id": "8c8b32a1-f6f8-4823-b94e-1361311a4ef1",
      "name": "Output1",
      "type": "n8n-nodes-base.set",
      "position": [
        1584,
        4400
      ]
    },
    {
      "id": "4230d8f3-5349-4895-aa51-a7358bf6426d",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        2480,
        4576
      ]
    },
    {
      "id": "16563435-48e3-4868-a784-2074d9a1c93f",
      "name": "If Dipt",
      "type": "n8n-nodes-base.if",
      "position": [
        3744,
        4448
      ]
    },
    {
      "id": "4e0d313b-f444-4d70-8cc7-bc21401329ae",
      "name": "Wrong user",
      "type": "n8n-nodes-base.telegram",
      "position": [
        4000,
        4464
      ]
    },
    {
      "id": "b1ff8b42-2103-4e10-8e48-2d58483b44d7",
      "name": "Incorrect input",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2928,
        4784
      ]
    },
    {
      "id": "f3600fe1-f11e-4bdd-b3ee-8cbaad77f719",
      "name": "Execute post scraper",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        3312,
        4752
      ]
    },
    {
      "id": "76a9f77d-552e-4af7-a3a3-7973bb3d10c5",
      "name": "Operation ?",
      "type": "n8n-nodes-base.switch",
      "position": [
        2704,
        4528
      ]
    },
    {
      "id": "ca5e6a82-211c-4769-92a5-0fc9b8372422",
      "name": "Start notif",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2944,
        4304
      ]
    },
    {
      "id": "ebbd24e5-d595-4a15-9bea-8368dc76954c",
      "name": "Generate Linkedin post",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        3328,
        4336
      ]
    },
    {
      "id": "3f1a2389-0e49-4fbf-991b-3ae9e7756d60",
      "name": "Generate X post",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        3328,
        4528
      ]
    },
    {
      "id": "270d7800-ad63-4b94-a036-6628cf6e45fb",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        4144
      ],
      "parameters": {
        "width": 2512,
        "height": 832,
        "content": "# Search for necessary info \nAdd a`  When executed by another workflow  ` trigger node at the beginning\nThis will execute when triggered by `LinkedIn Post Gen` Workflow"
      }
    },
    {
      "id": "832505a3-bc04-4a85-90b8-bf67ef773f6b",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -544,
        4272
      ],
      "parameters": {
        "width": 640,
        "height": 96,
        "content": "## Free alternative of perplexity\nbrowseract.com\nworths more than it costs"
      }
    },
    {
      "id": "a68e2767-48cf-4517-a494-af154ad8e05f",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1376,
        4272
      ],
      "parameters": {
        "width": 432,
        "height": 96,
        "content": "## Perplexity search\na bit costly but worth it"
      }
    },
    {
      "id": "6df50d32-a057-4a7f-a317-797ab55dfda2",
      "name": "Sticky Note24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2032,
        4144
      ],
      "parameters": {
        "width": 2352,
        "height": 832,
        "content": "# Execute any SMS operation\n### This will execute when the user sends a query in a predefined structure to the dedicated SMS bot via Telegram"
      }
    },
    {
      "id": "60ef7e77-a00e-4600-a7c8-092a3849e43b",
      "name": "Sticky Note25",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3712,
        4320
      ],
      "parameters": {
        "width": 432,
        "height": 336,
        "content": "## Notify Wrong user For convenience\n"
      }
    },
    {
      "id": "551a5479-e713-4cb9-b166-7340c9e0e012",
      "name": "Sticky Note26",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -912,
        3920
      ],
      "parameters": {
        "width": 5488,
        "height": 144,
        "content": "# System 6: Helper for SMS\n1. Search for necessary info/data for a LinkedIn post\n2. Works as a telegram trigger.\n"
      }
    },
    {
      "id": "09d00e12-f9bf-4694-ab6c-e6b4f4b03eb0",
      "name": "Sticky Note27",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        4400
      ],
      "parameters": {
        "width": null,
        "height": 320,
        "content": "## Configure Me!\n- Create an agent in browseract.com\n- Get your API key for that agent\n- Make a credential (header Auth w Bearer YOUR_TOKEN_HERE)\n- Paste the Task ID in json fields"
      }
    },
    {
      "id": "ffaa1213-910e-4985-8dca-4f388f515df7",
      "name": "Sticky Note28",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2160,
        -1056
      ],
      "parameters": {
        "width": 944,
        "height": 1472,
        "content": "# 🚀 Welcome to Social Media Spark (SMS)\n\nThis is your **end-to-end social media content engine**.  \nIt discovers viral ideas in your niche, generates posts in your tone, repurposes for X, and auto-pub"
      }
    },
    {
      "id": "7ad49014-bb3b-41df-b076-9a4a63426c88",
      "name": "Sticky Note29",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2144,
        1344
      ],
      "parameters": {
        "width": 944,
        "height": 2432,
        "content": "# EXPLANATION OF EACH SYSTEM\n\n## 🟩 PART 1 — The Foundation  \n### *(Initialization & Content Discovery — Systems 1 + 2)*\n\n### System 1: Initialization (Optional)\n- **Purpose:** Build a list of competit"
      }
    },
    {
      "id": "b53aed64-bf3b-4894-9004-4157d95fd027",
      "name": "Sticky Note30",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2160,
        672
      ],
      "parameters": {
        "width": 960,
        "height": 368,
        "content": "## 💡Tips:\n- Create 4 different workflows.\n  1. **Scrape Idea + Auto post:**\nSystem 1 + system 5\n  2. **LinkedIn Post gen**\nSystem 3\n  3. **X repurpose**\nSystem 4\n  4. **Helper for SMS**\nSystem 6\n\n- Ma"
      }
    },
    {
      "id": "4c3de8e0-d577-44c7-8099-419cc20039e2",
      "name": "Notify (HitL)",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2208,
        -96
      ]
    },
    {
      "id": "afc0501b-3ef1-4ff4-9f4b-4210107c7b92",
      "name": "Sticky Note31",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        -256
      ],
      "parameters": {
        "width": null,
        "height": 320,
        "content": "## Configure Me!\n- Paste your telegram chatID in the `chat ID` field\n- Paste your specified sheet_ID in the `message` field"
      }
    },
    {
      "id": "754c3767-5a99-4af2-82df-8c03cf87e00f",
      "name": "Sticky Note34",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4912,
        1040
      ],
      "parameters": {
        "width": 246,
        "height": 208,
        "content": "## Paste your chatID"
      }
    },
    {
      "id": "88c79887-8ba3-4d41-85eb-290cf02eb103",
      "name": "Sticky Note35",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6032,
        768
      ],
      "parameters": {
        "width": 246,
        "height": 208,
        "content": "## Paste your chatID"
      }
    },
    {
      "id": "5cdfbb8a-b22a-41e2-b10e-6ca3f3fdf9d6",
      "name": "Sticky Note36",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5808,
        992
      ],
      "parameters": {
        "width": 246,
        "height": 208,
        "content": "## Paste your chatID"
      }
    },
    {
      "id": "1bcf5f00-f56f-4fbc-9f10-61358d891c7c",
      "name": "Sticky Note38",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4976,
        1824
      ],
      "parameters": {
        "width": 246,
        "height": 208,
        "content": "## Paste your chatID"
      }
    },
    {
      "id": "07a68082-e2b1-4aba-aafa-256f563cfffa",
      "name": "Notify (HitL)2",
      "type": "n8n-nodes-base.telegram",
      "position": [
        656,
        1920
      ]
    },
    {
      "id": "32520434-1dce-4dfe-8942-56ddfbebfe32",
      "name": "Sticky Note33",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        592,
        1760
      ],
      "parameters": {
        "width": null,
        "height": 320,
        "content": "## Configure Me!\n- Paste your telegram chatID in the `chat ID` field\n- Paste your specified sheet_ID in the `message` field"
      }
    },
    {
      "id": "c4b5bb34-deaf-4563-a0bc-8f5f0350062b",
      "name": "Sticky Note37",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        752,
        416
      ],
      "parameters": {
        "width": null,
        "height": 320,
        "content": "## Configure Me!\n- Paste your telegram chatID in the `chat ID` field\n- Paste your specified sheet_ID in the `message` field"
      }
    },
    {
      "id": "c65638c0-5a46-4f81-b2b6-6f8f9983e386",
      "name": "Sticky Note39",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2880,
        4256
      ],
      "parameters": {
        "width": 246,
        "height": 208,
        "content": "## Paste your chatID"
      }
    },
    {
      "id": "cd4c4ed1-949f-418f-a4d1-7b7e8b18cf30",
      "name": "Sticky Note40",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2864,
        4736
      ],
      "parameters": {
        "width": 246,
        "height": 208,
        "content": "## Paste your chatID"
      }
    },
    {
      "id": "6806288a-fdad-4164-bd9e-3f414e0f555d",
      "name": "Sticky Note41",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        4512
      ],
      "parameters": {
        "width": 246,
        "height": 208,
        "content": "## Paste your chatID"
      }
    }
  ],
  "connections": {
    "6 pm": {
      "main": [
        [
          {
            "node": "Get content1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1 min": {
      "main": [
        [
          {
            "node": "Get task status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "get output",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get task status",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get task status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6:30 pm": {
      "main": [
        [
          {
            "node": "Get valid content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Dipt": {
      "main": [
        [],
        [
          {
            "node": "Wrong user",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "All Done": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get base": {
      "main": [
        [
          {
            "node": "Pic exist?1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "set base": {
      "main": [
        [
          {
            "node": "get base",
            "type": "main",
            "index": 0
          },
          {
            "node": "HTTP- Gemini1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Scrape viral posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Deepseek1": {
      "ai_languageModel": [
        [
          {
            "node": "Post repurpose",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "Deepseek2": {
      "ai_languageModel": [
        [
          {
            "node": "Post generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Deepseek3": {
      "ai_languageModel": [
        [
          {
            "node": "Content repurpose",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "Deepseek4": {
      "ai_languageModel": [
        [
          {
            "node": "Content repurpose1",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "Get image": {
      "main": [
        [
          {
            "node": "Upload image to X",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reasearch": {
      "ai_tool": [
        [
          {
            "node": "Post repurpose",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Save Post": {
      "main": [
        [
          {
            "node": "Mark Idea as Done",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    ">100 likes": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "Notify (HitL)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate2": {
      "main": [
        [
          {
            "node": "Notify (HitL)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate3": {
      "main": [
        [
          {
            "node": "Notify (HitL)2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini pro": {
      "ai_languageModel": [
        [
          {
            "node": "Content repurpose",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Pic exist?": {
      "main": [
        [
          {
            "node": "Convert to File1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reasearch1": {
      "ai_tool": [
        [
          {
            "node": "Post generator",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Save Image": {
      "main": [
        [
          {
            "node": "Set content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sunday 7am": {
      "main": [
        [
          {
            "node": "Get content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get base64": {
      "main": [
        [
          {
            "node": "Pic exist?",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get output": {
      "main": [
        [
          {
            "node": "Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "set base64": {
      "main": [
        [
          {
            "node": "HTTP- Gemini",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    ">100 likes1": {
      "main": [
        [
          {
            "node": "Remove Duplicates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append post": {
      "main": [
        [
          {
            "node": "All Done",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create task": {
      "main": [
        [
          {
            "node": "1 min",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Add competitors",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini pro1": {
      "ai_languageModel": [
        [
          {
            "node": "Content repurpose1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Generated ?": {
      "main": [
        [
          {
            "node": "Minimalistic",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get content": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Operation ?": {
      "main": [
        [
          {
            "node": "Generate Linkedin post",
            "type": "main",
            "index": 0
          },
          {
            "node": "Start notif",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Generate X post",
            "type": "main",
            "index": 0
          },
          {
            "node": "Start notif",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Execute post scraper",
            "type": "main",
            "index": 0
          },
          {
            "node": "Start notif",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Incorrect input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pic exist?1": {
      "main": [
        [
          {
            "node": "Convert to File2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "no pic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set content": {
      "main": [
        [
          {
            "node": "Save Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sunday 1 AM": {
      "main": [
        [
          {
            "node": "Get Viral Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Tweet": {
      "main": [
        [
          {
            "node": "Update status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields2": {
      "main": [
        [
          {
            "node": "Text Classifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields3": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields4": {
      "main": [
        [
          {
            "node": "Send post1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields5": {
      "main": [
        [
          {
            "node": "Content repurpose",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields6": {
      "main": [
        [
          {
            "node": "Append post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini flash": {
      "ai_languageModel": [
        [
          {
            "node": "Text Classifier",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Generated ?1": {
      "main": [
        [
          {
            "node": "Edit Fields6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generated ?2": {
      "main": [
        [
          {
            "node": "Edit Fields4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get content1": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP- Gemini": {
      "main": [
        [
          {
            "node": "get base64",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image valid?": {
      "main": [
        [
          {
            "node": "Get image",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create Tweet1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Minimalistic": {
      "main": [
        [
          {
            "node": "set base64",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Image": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "append ideas": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Tweet1": {
      "main": [
        [
          {
            "node": "Update status2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a post": {
      "main": [
        [
          {
            "node": "Update status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download file": {
      "main": [
        [
          {
            "node": "Create a post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini flash1": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Gemini flash2": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser2",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Gemini flash3": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser3",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "HTTP- Gemini1": {
      "main": [
        [
          {
            "node": "get base",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "no pic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Minimalistic1": {
      "main": [
        [
          {
            "node": "set base",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update status": {
      "main": [
        [
          {
            "node": "Notify user",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini 2.5 pro": {
      "ai_languageModel": [
        [
          {
            "node": "Post repurpose",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Find competitors",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post generator": {
      "main": [
        [
          {
            "node": "Send post",
            "type": "main",
            "index": 0
          },
          {
            "node": "Minimalistic1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post repurpose": {
      "main": [
        [
          {
            "node": "Generated ?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Saturday 11 PM": {
      "main": [
        [
          {
            "node": "Get competitors",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini 2.5 pro1": {
      "ai_languageModel": [
        [
          {
            "node": "Post generator",
            "type": "ai_languageModel",
            "index": 1
          },
          {
            "node": "Structured Output Parser1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get Viral Ideas": {
      "main": [
        [
          {
            "node": "Edit Fields3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get competitors": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get task status": {
      "main": [
        [
          {
            "node": "get output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Aggregate2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Post repurpose",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Text Classifier": {
      "main": [
        [
          {
            "node": "append ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File1": {
      "main": [
        [
          {
            "node": "Save Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File2": {
      "main": [
        [
          {
            "node": "Send image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find competitors": {
      "main": [
        [
          {
            "node": ">100 likes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [
          {
            "node": "Aggregate3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Edit Fields5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Operation ?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram trigger": {
      "main": [
        [
          {
            "node": "Get competitors",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Content repurpose": {
      "main": [
        [
          {
            "node": "Generated ?1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get valid content": {
      "main": [
        [
          {
            "node": "Image valid?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mark Idea as Done": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Remove Duplicates": {
      "main": [
        [
          {
            "node": "Edit Fields2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload image to X": {
      "main": [
        [
          {
            "node": "Create Tweet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Content repurpose1": {
      "main": [
        [
          {
            "node": "Generated ?2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape viral posts": {
      "main": [
        [
          {
            "node": ">100 likes1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity Research": {
      "main": [
        [
          {
            "node": "Output1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Post repurpose",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Post generator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser2": {
      "ai_outputParser": [
        [
          {
            "node": "Content repurpose",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser3": {
      "ai_outputParser": [
        [
          {
            "node": "Content repurpose1",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}