{
  "name": "Automate SEO blog post creation and publishing with OpenAI & WordPress",
  "nodes": [
    {
      "id": "76dbfac0-fe7f-4a79-9d7a-197e57e3b642",
      "name": "Topic Chooser and Title Maker",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        336,
        208
      ]
    },
    {
      "id": "49e846e4-bd87-4fa9-a661-b5d3ed719561",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        688,
        208
      ]
    },
    {
      "id": "bae35281-c0a5-48af-ab52-b9e62b561ec9",
      "name": "OpenAI - Generate Image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1264,
        208
      ]
    },
    {
      "id": "a6d5dba6-54da-4d26-89a5-90c5a9ee450c",
      "name": "Upload Image to WP",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1488,
        208
      ]
    },
    {
      "id": "21b9f00a-4904-467d-91cb-f6f00db2e697",
      "name": "Wordpress - Set Featured Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1712,
        208
      ]
    },
    {
      "id": "85afc2ca-e0d6-4c9d-80a6-258861f5176c",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        112,
        304
      ]
    },
    {
      "id": "d8447a15-4e04-4056-8b04-e346914c7577",
      "name": "Article Generator",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        688,
        368
      ]
    },
    {
      "id": "cae1fda6-32a9-44f6-8482-833e79226cf0",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -112,
        112
      ]
    },
    {
      "id": "b5bcfda1-7004-4465-828c-18d41423278f",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        112,
        112
      ]
    },
    {
      "id": "63886a15-2045-43b1-80a6-3574134aa8e4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "54c8e94c-0356-46ab-a4db-67c741facdda",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1344,
        512
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "279e6bce-b635-4e16-9117-e2eecbc9c1f0",
      "name": "Get",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        1040,
        208
      ]
    },
    {
      "id": "da921683-2a0a-4901-80cc-59605aa3c058",
      "name": "Set Valid Category",
      "type": "n8n-nodes-base.set",
      "position": [
        448,
        656
      ]
    },
    {
      "id": "ce40b7b2-10a1-407d-8569-8c48d9885390",
      "name": "Category Mapping",
      "type": "n8n-nodes-base.code",
      "position": [
        1104,
        656
      ]
    },
    {
      "id": "5efd463f-c52a-43b7-9fe9-4d0e2bb77a22",
      "name": "📦 Format Final Data",
      "type": "n8n-nodes-base.set",
      "position": [
        672,
        656
      ]
    },
    {
      "id": "3fa76244-7b34-4761-a01e-a72680553392",
      "name": "Get Categories",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        224,
        656
      ]
    },
    {
      "id": "b8781242-cfbb-45e4-a066-cb84b67e914f",
      "name": "🚀 Publish",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        896,
        656
      ]
    },
    {
      "id": "bcf19367-7d34-47f1-b023-8b5719aa6421",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        576
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "d59cd82e-554c-42de-a2a6-a847b38043d0",
      "name": "Metadata Generator",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        336,
        368
      ]
    },
    {
      "id": "cc8c2918-d179-40b6-a4e3-d67d013e7416",
      "name": "Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        480,
        368
      ]
    },
    {
      "id": "beb57cbd-3c57-4c5d-8a0c-bf6ba6757e36",
      "name": "alt",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        832,
        368
      ]
    },
    {
      "id": "f180f1e1-36bb-453f-8419-7a96bea89820",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        336
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Topic Chooser and Title Maker",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get": {
      "main": [
        [
          {
            "node": "OpenAI - Generate Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Topic Chooser and Title Maker",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Get",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Topic Chooser and Title Maker",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Article Generator": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Metadata Generator": {
      "ai_languageModel": [
        [
          {
            "node": "Topic Chooser and Title Maker",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Upload Image to WP": {
      "main": [
        [
          {
            "node": "Wordpress - Set Featured Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI - Generate Image": {
      "main": [
        [
          {
            "node": "Upload Image to WP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Topic Chooser and Title Maker": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}