{
  "name": "Generate article-based posts for LinkedIn, Twitter (X), and Reddit with OpenAI",
  "nodes": [
    {
      "id": "ded81242-91f9-48b2-92e7-93b5c427c22c",
      "name": "5",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1184,
        3104
      ]
    },
    {
      "id": "db3f31ca-0104-4484-a5a3-718a05e6db9a",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -128,
        3728
      ]
    },
    {
      "id": "b79d6081-d689-4a93-b927-64060828aac0",
      "name": "Extract Details",
      "type": "n8n-nodes-base.code",
      "position": [
        336,
        3696
      ]
    },
    {
      "id": "80bb41d8-03b8-46d5-a113-bccd7bcb4953",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        3488
      ],
      "parameters": {
        "width": 464,
        "height": 576,
        "content": "## 📌 Extract Article Content\n- Title\n- Article Content\n- Author\n- Excerpt\n- Website Name\n- Article Image"
      }
    },
    {
      "id": "d84233ad-ebd5-4335-9569-53047fcfd74e",
      "name": "LinkedIn Post Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        752,
        3008
      ]
    },
    {
      "id": "d853347a-78d9-4b55-8ee3-a3c415921805",
      "name": "Embedding",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        752,
        3152
      ]
    },
    {
      "id": "970b2a6e-d9d1-4be3-846f-879511ecadeb",
      "name": "5 mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        832,
        3424
      ]
    },
    {
      "id": "3ef397ee-868a-414d-ac0c-6785644b86f0",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        832,
        3280
      ]
    },
    {
      "id": "754be77e-3289-469e-b1d0-2931ac62a980",
      "name": "4.1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1088,
        3104
      ]
    },
    {
      "id": "e0551a27-fe1c-4e5e-a12d-ab92a91d67c4",
      "name": "On Article Submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -304,
        3728
      ]
    },
    {
      "id": "5151194a-dc73-4de1-98f7-f4b5d668582a",
      "name": "Scrape Article",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        128,
        3712
      ]
    },
    {
      "id": "11299a31-40c0-48ab-9ebd-d272475439f0",
      "name": "⚠️Unable to Process Article",
      "type": "n8n-nodes-base.form",
      "position": [
        336,
        3872
      ]
    },
    {
      "id": "e734aa10-21f6-4359-8649-08698b70b1ac",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        656,
        2656
      ],
      "parameters": {
        "width": 2800,
        "height": 912,
        "content": "## 📌 LinkedIn\n"
      }
    },
    {
      "id": "b600ba23-5504-4f36-952d-71b88a026613",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        656,
        3600
      ],
      "parameters": {
        "width": 1472,
        "height": 640,
        "content": "## 📌 X (Twitter)\n"
      }
    },
    {
      "id": "e4b3e783-38c8-47b5-b684-b72d2f427935",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        656,
        4272
      ],
      "parameters": {
        "width": 1120,
        "height": 304,
        "content": "## 📌 Reddit"
      }
    },
    {
      "id": "dfb9de11-ecc1-4a1c-bf30-81b21a896d37",
      "name": "Get Flair",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        912,
        4368
      ]
    },
    {
      "id": "d6d88d8d-3693-45ff-94f2-797744fc45dc",
      "name": "Reddit Post",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1520,
        4368
      ]
    },
    {
      "id": "de5d4e02-e6c5-4009-a9de-c3423e2a9b6a",
      "name": "LinkedIn Post Strategist",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        720,
        2784
      ]
    },
    {
      "id": "34c182d7-a2c9-4427-8903-4b6f5055deda",
      "name": "LinkedIn Post Generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1056,
        2784
      ]
    },
    {
      "id": "f56e8776-0adb-4a9b-b3d2-1deab40ba39a",
      "name": "LinkedIn Post Formatter",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1344,
        2784
      ]
    },
    {
      "id": "b46ae708-d724-4f6c-9119-cfdd95396173",
      "name": "Post Review Form",
      "type": "n8n-nodes-base.form",
      "position": [
        1696,
        2784
      ]
    },
    {
      "id": "aeea67fb-d72f-4250-b5a8-0b383e722a28",
      "name": "Re-generate LinkedIn Post",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1632,
        2992
      ]
    },
    {
      "id": "ccbf5c4b-a05b-4674-810b-b271270d3fcc",
      "name": "Post 2 Review Form",
      "type": "n8n-nodes-base.form",
      "position": [
        1936,
        2992
      ]
    },
    {
      "id": "49c47639-90be-41c4-a002-f45679f12752",
      "name": "Post 2 Review Conditions",
      "type": "n8n-nodes-base.if",
      "position": [
        2112,
        2992
      ]
    },
    {
      "id": "3e7005a1-468a-4965-a450-1dc9931a8a55",
      "name": "Post Review Condition",
      "type": "n8n-nodes-base.if",
      "position": [
        1872,
        2784
      ]
    },
    {
      "id": "a03c4a5f-0f8c-45df-ac52-9dae7ade2676",
      "name": "The End",
      "type": "n8n-nodes-base.form",
      "position": [
        2320,
        3008
      ]
    },
    {
      "id": "a60faa9a-3b58-4981-b79e-5f8fd7502f9c",
      "name": "Download Image for Form",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2432,
        2800
      ]
    },
    {
      "id": "b5fb1b81-c67c-49e2-90f4-de376d49c286",
      "name": "Image Preview Form",
      "type": "n8n-nodes-base.form",
      "position": [
        2640,
        2800
      ]
    },
    {
      "id": "c504dbea-26e4-4a52-88f8-bbcac0c16f48",
      "name": "Image Preview Conditions",
      "type": "n8n-nodes-base.if",
      "position": [
        2832,
        2800
      ]
    },
    {
      "id": "43f3c3e6-41df-46ef-a8da-aaa01ad608c9",
      "name": "Download Image for LinkedIn Post",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3056,
        2704
      ]
    },
    {
      "id": "3b7b6892-0f7c-4e1f-a187-15664cefd46e",
      "name": "Text + Image",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        3232,
        2704
      ]
    },
    {
      "id": "3c9466a7-945a-4214-8528-779e7de5b911",
      "name": "Text + Link",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        3056,
        2896
      ]
    },
    {
      "id": "ef0bb686-ae3b-4b76-ada6-7f3f7b56c8e9",
      "name": "Twitter Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        720,
        3696
      ]
    },
    {
      "id": "52126bb0-1ce3-4421-927e-86959a3fe25b",
      "name": "Tweet Review Form",
      "type": "n8n-nodes-base.form",
      "position": [
        1040,
        3696
      ]
    },
    {
      "id": "cc42ff9d-586d-400c-bd30-f473b288c022",
      "name": "Tweeet Review Conditions",
      "type": "n8n-nodes-base.if",
      "position": [
        1216,
        3696
      ]
    },
    {
      "id": "dbe7b953-ec8c-4562-8b57-d884630f0a0a",
      "name": "Structured Output Parser X",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        720,
        3936
      ]
    },
    {
      "id": "616c0aa3-5d0d-4877-a4a3-29d63fb6e8e5",
      "name": "5 minii",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        720,
        4096
      ]
    },
    {
      "id": "ee40205d-9c47-45a9-8149-4ceaf21281f2",
      "name": "4.i",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        864,
        4096
      ]
    },
    {
      "id": "5b352cfe-2e5e-40f4-9fdc-f1e741b2aa1f",
      "name": "Re-generate Tweet Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1200,
        3936
      ]
    },
    {
      "id": "4a4a65c9-2e88-4567-9bec-d36abd4b3ec5",
      "name": "5.",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        976,
        4096
      ]
    },
    {
      "id": "b8982d55-84dc-4f15-8cda-411918fb3c58",
      "name": "Tweet 2 Review Form",
      "type": "n8n-nodes-base.form",
      "position": [
        1504,
        3936
      ]
    },
    {
      "id": "6dc4e817-45af-4aab-86e5-1c1ded0a93a2",
      "name": "Tweet 2 Review Conditions",
      "type": "n8n-nodes-base.if",
      "position": [
        1696,
        3936
      ]
    },
    {
      "id": "e310f1d7-e244-49d9-b406-9dce359ab41d",
      "name": "Tweet",
      "type": "n8n-nodes-base.twitter",
      "position": [
        1408,
        3680
      ]
    },
    {
      "id": "6e6e8af2-f8cb-4e98-b87e-cd08353530ff",
      "name": "Reddit Form",
      "type": "n8n-nodes-base.form",
      "position": [
        752,
        4368
      ]
    },
    {
      "id": "c4eb86fe-d196-46c4-86d2-2bd19173ba9f",
      "name": "[Flair]",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1072,
        4368
      ]
    },
    {
      "id": "f84b88ed-d92f-4ab6-b82b-03cc266b8983",
      "name": "Flair Selector Agent",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1232,
        4368
      ]
    },
    {
      "id": "893f18cf-2bc8-4a4a-8fbc-1c82d169984d",
      "name": "Re-generated Tweet",
      "type": "n8n-nodes-base.twitter",
      "position": [
        1920,
        3952
      ]
    },
    {
      "id": "f5a69776-eeba-4c51-b996-b36ee6fcab55",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1536,
        2160
      ],
      "parameters": {
        "width": 960,
        "height": 3264,
        "content": "# Article to Multi-Platform Social Media Post Generator\n\n## Overview\nAI-powered workflow that transforms any article URL into platform-optimized social media posts for LinkedIn, Twitter (X), and Reddi"
      }
    }
  ],
  "connections": {
    "5": {
      "ai_languageModel": [
        [
          {
            "node": "LinkedIn Post Formatter",
            "type": "ai_languageModel",
            "index": 1
          },
          {
            "node": "LinkedIn Post Generator",
            "type": "ai_languageModel",
            "index": 1
          },
          {
            "node": "LinkedIn Post Strategist",
            "type": "ai_languageModel",
            "index": 1
          },
          {
            "node": "Re-generate LinkedIn Post",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "5.": {
      "ai_languageModel": [
        [
          {
            "node": "Re-generate Tweet Agent",
            "type": "ai_languageModel",
            "index": 1
          },
          {
            "node": "Twitter Agent",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "If": {
      "main": [
        [
          {
            "node": "Scrape Article",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4.1": {
      "ai_languageModel": [
        [
          {
            "node": "LinkedIn Post Strategist",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "LinkedIn Post Generator",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "LinkedIn Post Formatter",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Re-generate LinkedIn Post",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "4.i": {
      "ai_languageModel": [
        [
          {
            "node": "Twitter Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Re-generate Tweet Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "5 mini": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "5 minii": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser X",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "[Flair]": {
      "main": [
        [
          {
            "node": "Flair Selector Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embedding": {
      "ai_embedding": [
        [
          {
            "node": "LinkedIn Post Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Get Flair": {
      "main": [
        [
          {
            "node": "[Flair]",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reddit Form": {
      "main": [
        [
          {
            "node": "Get Flair",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reddit Post": {
      "main": [
        []
      ]
    },
    "Twitter Agent": {
      "main": [
        [
          {
            "node": "Tweet Review Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Article": {
      "main": [
        [
          {
            "node": "Extract Details",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "⚠️Unable to Process Article",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Details": {
      "main": [
        [
          {
            "node": "LinkedIn Post Strategist",
            "type": "main",
            "index": 0
          },
          {
            "node": "Twitter Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Reddit Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post Review Form": {
      "main": [
        [
          {
            "node": "Post Review Condition",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tweet Review Form": {
      "main": [
        [
          {
            "node": "Tweeet Review Conditions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image Preview Form": {
      "main": [
        [
          {
            "node": "Image Preview Conditions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post 2 Review Form": {
      "main": [
        [
          {
            "node": "Post 2 Review Conditions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tweet 2 Review Form": {
      "main": [
        [
          {
            "node": "Tweet 2 Review Conditions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Flair Selector Agent": {
      "main": [
        [
          {
            "node": "Reddit Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On Article Submission": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post Review Condition": {
      "main": [
        [
          {
            "node": "Re-generate LinkedIn Post",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download Image for Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Image for Form": {
      "main": [
        [
          {
            "node": "Image Preview Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LinkedIn Post Formatter": {
      "main": [
        [
          {
            "node": "Post Review Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LinkedIn Post Generator": {
      "main": [
        [
          {
            "node": "LinkedIn Post Formatter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Re-generate Tweet Agent": {
      "main": [
        [
          {
            "node": "Tweet 2 Review Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image Preview Conditions": {
      "main": [
        [
          {
            "node": "Download Image for LinkedIn Post",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Text + Link",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LinkedIn Post Strategist": {
      "main": [
        [
          {
            "node": "LinkedIn Post Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post 2 Review Conditions": {
      "main": [
        [
          {
            "node": "Download Image for Form",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "The End",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "LinkedIn Post Strategist",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Tweeet Review Conditions": {
      "main": [
        [
          {
            "node": "Tweet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Re-generate Tweet Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Re-generate LinkedIn Post": {
      "main": [
        [
          {
            "node": "Post 2 Review Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tweet 2 Review Conditions": {
      "main": [
        [],
        [
          {
            "node": "Re-generated Tweet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LinkedIn Post Vector Store": {
      "ai_tool": [
        [
          {
            "node": "LinkedIn Post Strategist",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser X": {
      "ai_outputParser": [
        [
          {
            "node": "Twitter Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Download Image for LinkedIn Post": {
      "main": [
        [
          {
            "node": "Text + Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}