{
  "name": "Automated Blog Creation & Multi-Platform Publishing with GPT/Gemini & WordPress",
  "nodes": [
    {
      "id": "4273445f-189d-4548-b6ec-942afa0fc80a",
      "name": "Topic Chooser and Title Maker",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -400,
        -240
      ]
    },
    {
      "id": "39d300a1-6d73-4815-b347-54dbf9db899f",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -848,
        -336
      ]
    },
    {
      "id": "1ba25457-3b37-402f-b3ba-a7c7099ead22",
      "name": "🧠 Overview - What This Workflow Does",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -848,
        -640
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f7bfe82c-212e-47ca-bc81-d9a63bb20986",
      "name": "Check command from telegram",
      "type": "n8n-nodes-base.if",
      "position": [
        -624,
        -336
      ]
    },
    {
      "id": "6fbe107d-2210-4e5a-ad56-33246b72a470",
      "name": "Scheduled Auto Trigger (Every 3 Hours)1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -848,
        -128
      ]
    },
    {
      "id": "7958a294-d0bf-41e9-87ca-6c760921ba3a",
      "name": "Article Generator (alt)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        144,
        -16
      ]
    },
    {
      "id": "96d58aab-3bcd-45cf-8410-c12a81503b69",
      "name": "Article Generator (alt2)",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        304,
        -16
      ]
    },
    {
      "id": "549ac053-87f3-4358-aa42-edb60443ef27",
      "name": "Generate Article Body",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -16,
        -240
      ]
    },
    {
      "id": "a8b4fdd5-9173-4636-bf2d-fd8ac3d86cce",
      "name": "Parse Blog Metadata JSON",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -208,
        -16
      ]
    },
    {
      "id": "7d0bab8f-d381-439a-879a-d09f970d0aef",
      "name": "Sticky - AI Optimizer",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        -416
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f2e5cefb-10c3-4934-9a91-cafa91d51ce5",
      "name": "Sticky - OpenRouter",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1312,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "30504b60-4fa2-4a5b-a377-39f677e2ed90",
      "name": "Sticky - Parser",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1600,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "7ca099c8-bfa1-4fa3-9fa4-395159c6f432",
      "name": "Sticky - Split",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1824,
        -416
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "eb1f075a-4db3-429d-bed0-d23eaf12ca62",
      "name": "Sticky - Switch",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2080,
        -416
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "5c118eb2-b325-4bef-b872-73642ad8eb19",
      "name": "Generate Content",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1456,
        -64
      ]
    },
    {
      "id": "e53506f3-bcdb-4f8f-9603-ed24dc871314",
      "name": "Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1632,
        -64
      ]
    },
    {
      "id": "19712f9f-12df-4a5b-ba1b-146034680287",
      "name": "Split Platform Content",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1824,
        -240
      ]
    },
    {
      "id": "e6f40a51-9c6b-409c-80c6-1a27bf9e920a",
      "name": "Route to Platform",
      "type": "n8n-nodes-base.switch",
      "position": [
        2080,
        -256
      ]
    },
    {
      "id": "60437cbc-3c69-45f1-a866-7b18e68d048d",
      "name": "Post to X",
      "type": "n8n-nodes-base.twitter",
      "position": [
        2464,
        -464
      ]
    },
    {
      "id": "3d712d67-f85e-4c9d-a807-fa50be9ad239",
      "name": "Post to LinkedIn",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        2464,
        -240
      ]
    },
    {
      "id": "eb102a63-988d-4c94-b8ab-69522853e3a1",
      "name": "Post to Discord",
      "type": "n8n-nodes-base.discord",
      "position": [
        2464,
        -16
      ]
    },
    {
      "id": "1236db9e-3a0a-48ac-996b-4feabd0599fc",
      "name": "AI Content Optimizer",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1440,
        -240
      ]
    },
    {
      "id": "51feb1d6-04b3-40cf-a89a-cfef5d852763",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1232,
        -240
      ]
    },
    {
      "id": "626d5719-4500-4c66-bdd5-295f360a3e08",
      "name": "Create WP Draft Post",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        368,
        -240
      ]
    },
    {
      "id": "66bde343-e0d3-4f08-9730-18fd0446d0f3",
      "name": "Attach Feature Image to Post",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        960,
        -240
      ]
    },
    {
      "id": "a2468417-6b96-4e3d-abff-d07987e19299",
      "name": "Upload Image to Wordpress",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        768,
        -240
      ]
    },
    {
      "id": "a7442e39-777a-4d23-aff9-60ac94cb5e4e",
      "name": "Generate Featured Image (OpenAI)",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        560,
        -240
      ]
    },
    {
      "id": "3134cd90-48d4-415c-8b3c-16aeea13cbfe",
      "name": "🧠 Overview - What This Workflow Does1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        352,
        -496
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "db459cc7-df44-4ecb-aee4-5d0eea318fee",
      "name": "Generate text container",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2480,
        224
      ]
    },
    {
      "id": "23f9bb7f-590d-4d95-b13e-a58d1ace37f5",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        2480,
        448
      ]
    },
    {
      "id": "5a160d35-d2cb-4096-b6aa-1cdbfe548416",
      "name": "Get Access Token",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2704,
        448
      ]
    },
    {
      "id": "f3618e92-b6e0-4abc-bc08-4f39ee19c46a",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -416,
        -16
      ]
    },
    {
      "id": "198a0921-371c-4884-80d5-57b6e61571f5",
      "name": "Azure OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        -16,
        -16
      ]
    },
    {
      "id": "9acd1e09-bf92-4929-8ccf-40239b18c2aa",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        272
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ecce963f-493c-495c-be4c-1c5848bbf279",
      "name": "Start",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -144,
        432
      ]
    },
    {
      "id": "86c614ec-05c7-49f3-be72-f9b465719226",
      "name": "Get Category",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        48,
        432
      ]
    },
    {
      "id": "f1555daa-04ae-45b1-91f8-cf13c3bf5d72",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        240,
        432
      ]
    },
    {
      "id": "7d8dff25-e0aa-4568-976e-0240de65b289",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        416,
        592
      ]
    },
    {
      "id": "a0d168e7-3faa-4b2b-aefa-0fedc3dc26cb",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        352
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e1a38d8e-0975-4bd9-b0b2-006b0f31b0a7",
      "name": "Category Mapping",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        416,
        432
      ]
    },
    {
      "id": "cf145d54-621f-43b9-938c-1365bbfe4c7c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        -80
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "87e89e6f-adc4-48c9-a3c9-5226bc5130cd",
      "name": "Post to Threads",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2688,
        224
      ]
    },
    {
      "id": "11ba60d1-36e1-423c-a97d-11ec4d7f19ad",
      "name": "Post to Bluesky",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2960,
        448
      ]
    },
    {
      "id": "5dde0929-03ae-42dd-a1b4-00f553ed2605",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        832,
        272
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "AI Content Optimizer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start": {
      "main": [
        [
          {
            "node": "Get Category",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Category Mapping",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Get Access Token",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Category": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Content Optimizer",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Post to Bluesky": {
      "main": [
        []
      ]
    },
    "Generate Content": {
      "ai_languageModel": [
        [
          {
            "node": "AI Content Optimizer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get Access Token": {
      "main": [
        [
          {
            "node": "Post to Bluesky",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Check command from telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Category Mapping",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Route to Platform": {
      "main": [
        [
          {
            "node": "Post to X",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Post to Discord",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Post to LinkedIn",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Post to LinkedIn",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Generate text container",
            "type": "main",
            "index": 0
          },
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Content Optimizer": {
      "main": [
        [
          {
            "node": "Split Platform Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create WP Draft Post": {
      "main": [
        [
          {
            "node": "Generate Featured Image (OpenAI)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Article Body": {
      "main": [
        [
          {
            "node": "Create WP Draft Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Platform Content": {
      "main": [
        [
          {
            "node": "Route to Platform",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Article Generator (alt)": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Article Body",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model": {
      "ai_languageModel": [
        []
      ]
    },
    "Generate text container": {
      "main": [
        [
          {
            "node": "Post to Threads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Article Generator (alt2)": {
      "ai_languageModel": [
        []
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Topic Chooser and Title Maker",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Parse Blog Metadata JSON": {
      "ai_outputParser": [
        [
          {
            "node": "Topic Chooser and Title Maker",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Upload Image to Wordpress": {
      "main": [
        [
          {
            "node": "Attach Feature Image to Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check command from telegram": {
      "main": [
        [
          {
            "node": "Topic Chooser and Title Maker",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Attach Feature Image to Post": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Topic Chooser and Title Maker": {
      "main": [
        [
          {
            "node": "Generate Article Body",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Featured Image (OpenAI)": {
      "main": [
        [
          {
            "node": "Upload Image to Wordpress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scheduled Auto Trigger (Every 3 Hours)1": {
      "main": [
        [
          {
            "node": "Topic Chooser and Title Maker",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}