{
  "name": "Create branded LinkedIn carousels with GPT-4o-mini, Figma templates & templated",
  "nodes": [
    {
      "id": "19a99859-3376-4263-9408-7990f7b2ee5d",
      "name": "Extract from File1",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        2480,
        -992
      ]
    },
    {
      "id": "65d7e2a9-b39d-4f4d-afa4-e82c1a37569b",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        2992,
        -512
      ]
    },
    {
      "id": "3af5d409-cc88-45cc-ab6a-799398767bf8",
      "name": "Switch1",
      "type": "n8n-nodes-base.switch",
      "position": [
        2672,
        -608
      ]
    },
    {
      "id": "d95d06b3-cfc8-4497-8129-78030b168b09",
      "name": "Edit Fields1",
      "type": "n8n-nodes-base.set",
      "position": [
        3056,
        -992
      ]
    },
    {
      "id": "09eb8155-5a23-4238-aad9-b03b937e51d8",
      "name": "Simple Memory2",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1024,
        -784
      ]
    },
    {
      "id": "00f3c880-2670-4a64-b64e-9662cae1d9e0",
      "name": "Search latest news1",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        1376,
        -784
      ]
    },
    {
      "id": "aa8bc3e0-9cdc-4a63-8bda-926131a4fef3",
      "name": "Think1",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        1136,
        -784
      ]
    },
    {
      "id": "4179906d-e6d9-4379-95a8-d97275c70647",
      "name": "Date & Time1",
      "type": "n8n-nodes-base.dateTimeTool",
      "position": [
        1248,
        -784
      ]
    },
    {
      "id": "b3d36b89-9e09-49f5-a1c3-8a327f7d695f",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1472,
        -624
      ]
    },
    {
      "id": "72feeb9e-3a8d-48c0-a70e-9d924027689d",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1808,
        -784
      ]
    },
    {
      "id": "1c45bab0-663d-42ce-bb92-900ee03ab9b9",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        -1136
      ],
      "parameters": {
        "width": 1216,
        "height": 304,
        "content": "## Prepare LinkedIn post resource\nTakes the user information, prepares files and uploads them to LinkedIn as a carousel."
      }
    },
    {
      "id": "f44ec9a8-bd58-4236-950d-e3c1dce0cd98",
      "name": "Simple Memory3",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1680,
        -784
      ]
    },
    {
      "id": "c698bb12-bb1f-4f45-a21f-e847fef85761",
      "name": "Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        800,
        -992
      ]
    },
    {
      "id": "4defb468-2b09-421e-952d-22df53c08745",
      "name": "MCP Client1",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        1568,
        -784
      ]
    },
    {
      "id": "af73b427-f093-40ce-b5bf-b8003fbb5230",
      "name": "Generate posts1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2096,
        -992
      ]
    },
    {
      "id": "febcedad-172a-4bb7-ae69-6007f5106e1c",
      "name": "Get Linkedin user info1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2672,
        -992
      ]
    },
    {
      "id": "5ba5c899-645e-4cbf-bcd2-e052b567d361",
      "name": "Initialize upload URN1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2864,
        -992
      ]
    },
    {
      "id": "91906605-21c6-4df3-8d37-454b07d2cf67",
      "name": "Upload Posts as binary1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3440,
        -992
      ]
    },
    {
      "id": "5d6aa73f-9cc5-49cb-883c-0171186bcbe9",
      "name": "Convert to binary1",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        3248,
        -992
      ]
    },
    {
      "id": "b50a836c-f170-40fe-a42e-6801ae6aa436",
      "name": "Create Linkedin post1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2992,
        -704
      ]
    },
    {
      "id": "18c64506-bec2-49b1-95b6-ce64202a2c78",
      "name": "Get uploaded file URN1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2480,
        -592
      ]
    },
    {
      "id": "18389946-bdc0-4388-9297-2f5b19a1a655",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1056,
        -1136
      ],
      "parameters": {
        "width": 384,
        "height": 304,
        "content": "### LinkedIn post writer\nUses the **OpenAI** model to write the post, optionally triggers **Perplexity** tool to research the topic it wants to make the post about"
      }
    },
    {
      "id": "59d1d280-0522-460a-88f1-5155e71f7882",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1520,
        -1136
      ],
      "parameters": {
        "width": 384,
        "height": 304,
        "content": "### Carousel ideator (using [Templated](https://templated.cometai.eu))\nConnects to the Templated MCP server to list all available post templates and builds a logical carousel flow using available temp"
      }
    },
    {
      "id": "e370daea-9cfd-4d05-92a4-c33ffd4ac251",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1984,
        -1136
      ],
      "parameters": {
        "width": 336,
        "height": 304,
        "content": "### Generate the Carousel (https://templated.cometai.eu)\nUses the request generated by Carousel Ideator"
      }
    },
    {
      "id": "2c060b3c-5b5c-40a7-a578-cd699262041c",
      "name": "Linkedin Writer1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1136,
        -992
      ]
    },
    {
      "id": "b8eb2a47-7b0c-4ba8-b175-f989f36d7926",
      "name": "Carousel Ideator1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1600,
        -992
      ]
    },
    {
      "id": "592f99ac-b5a5-4344-8c28-0e0831aed065",
      "name": "Success1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3408,
        -640
      ]
    },
    {
      "id": "b6fc77e4-58f0-4aab-8205-1d463400d828",
      "name": "Error1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3408,
        -480
      ]
    },
    {
      "id": "ecd59fd8-d55d-4ce4-9d81-70de4a03fd6f",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        -1136
      ],
      "parameters": {
        "width": 256,
        "height": 304,
        "content": "### Daily trigger\nTriggers this workflow daily for a daily LinkedIn post"
      }
    },
    {
      "id": "dc50144f-59a3-45e7-b346-24cd22dba5b9",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        -752
      ],
      "parameters": {
        "width": 832,
        "height": 400,
        "content": "## Create LinkedIn post\nTakes the carousel resource from the next steps and creates a \nLinkedIn post with the generated content."
      }
    },
    {
      "id": "1ae3aa86-a13a-4947-9d9e-7433ff27f277",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3312,
        -752
      ],
      "parameters": {
        "width": 304,
        "height": 400,
        "content": "## Telegram notification\nSends a message whether the post was successful or not."
      }
    }
  ],
  "connections": {
    "Wait1": {
      "main": [
        [
          {
            "node": "Get uploaded file URN1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Think1": {
      "ai_tool": [
        [
          {
            "node": "Linkedin Writer1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Switch1": {
      "main": [
        [
          {
            "node": "Create Linkedin post1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MCP Client1": {
      "ai_tool": [
        [
          {
            "node": "Carousel Ideator1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Date & Time1": {
      "ai_tool": [
        [
          {
            "node": "Linkedin Writer1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Convert to binary1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory2": {
      "ai_memory": [
        [
          {
            "node": "Linkedin Writer1",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory3": {
      "ai_memory": [
        [
          {
            "node": "Carousel Ideator1",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Generate posts1": {
      "main": [
        [
          {
            "node": "Extract from File1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Linkedin Writer1": {
      "main": [
        [
          {
            "node": "Carousel Ideator1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Carousel Ideator1": {
      "main": [
        [
          {
            "node": "Generate posts1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "Linkedin Writer1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to binary1": {
      "main": [
        [
          {
            "node": "Upload Posts as binary1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File1": {
      "main": [
        [
          {
            "node": "Get Linkedin user info1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Linkedin Writer1",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Carousel Ideator1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Search latest news1": {
      "ai_tool": [
        [
          {
            "node": "Linkedin Writer1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Linkedin post1": {
      "main": [
        [
          {
            "node": "Success1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get uploaded file URN1": {
      "main": [
        [
          {
            "node": "Switch1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Initialize upload URN1": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Linkedin user info1": {
      "main": [
        [
          {
            "node": "Initialize upload URN1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Posts as binary1": {
      "main": [
        [
          {
            "node": "Get uploaded file URN1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Carousel Ideator1",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}