{
  "name": "WordPress auto-blogging pro - content automation machine for SEO topics",
  "nodes": [
    {
      "id": "f209ee77-715b-4524-811e-4d34375b0b87",
      "name": "Sticky Note43",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6980,
        2620
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "5ca5df98-3bb1-4606-933e-a79c246b3ac3",
      "name": "Generate featured image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2980,
        1080
      ]
    },
    {
      "id": "3e521398-94da-4907-aa08-dc883a55d833",
      "name": "Structured Output Parser2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1480,
        160
      ]
    },
    {
      "id": "feafecc9-feb9-41ec-86f5-046dd1149f50",
      "name": "Create post title and structure",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1280,
        -20
      ]
    },
    {
      "id": "5fefed1c-9a74-40b4-ab57-8bfac48f4ebb",
      "name": "Write chapter text",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        3700,
        80
      ]
    },
    {
      "id": "4009f523-f24f-487d-85e8-90b071e37887",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        2780,
        -20
      ]
    },
    {
      "id": "2d35d088-13a7-4185-af3a-fd3ea2b30669",
      "name": "Settings",
      "type": "n8n-nodes-base.set",
      "position": [
        540,
        -20
      ]
    },
    {
      "id": "edb7ebfb-a24c-4835-95db-ae68c5bd6c1f",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e211f2c5-50bb-4cff-9ddb-2e11b0537a5c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1100,
        -100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "17a7236e-39d8-423e-ac9b-7df2e722b01a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2260,
        -100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "fe22ba0b-0823-48da-951e-737648694070",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1760,
        -380
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "70b1b440-8cb8-426c-bea7-28b527eaa33c",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2880,
        500
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2767dd64-22fa-4c07-b878-ffb2cc63bf65",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4380,
        -60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "9f237b8b-ed23-47de-b0d1-8845e506047e",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6440,
        -60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ddf53727-3203-4f19-89b8-f2e738b9e832",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6880,
        -60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "eba0c7df-9873-4b9c-a82f-fc943bffdf1a",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3940,
        260
      ]
    },
    {
      "id": "6283e6f8-3895-41b0-b7de-ccce161747f9",
      "name": "Split out chapters",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2380,
        -20
      ]
    },
    {
      "id": "69f09123-14a4-4498-bdaa-69542234a792",
      "name": "Get post sitemap",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1840,
        -320
      ]
    },
    {
      "id": "13a4d7d9-766b-4cc3-8576-9f72e73d8caf",
      "name": "Get XML file",
      "type": "n8n-nodes-base.xml",
      "position": [
        2060,
        -320
      ]
    },
    {
      "id": "f23fd1e5-6bb9-4684-899e-c9e3e95ddd14",
      "name": "Split out links",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2280,
        -320
      ]
    },
    {
      "id": "f3d93783-d94f-4b20-a8b2-9ef0b32f8c6d",
      "name": "Get title chapter and content",
      "type": "n8n-nodes-base.set",
      "position": [
        4080,
        -40
      ]
    },
    {
      "id": "3f735c7c-ce1c-460c-970b-5d0a90f4f26c",
      "name": "Generate chapter image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        3420,
        660
      ]
    },
    {
      "id": "41714a5a-0f85-4f0f-b033-fd28c6f4741c",
      "name": "Resize Image",
      "type": "n8n-nodes-base.editImage",
      "position": [
        3680,
        560
      ]
    },
    {
      "id": "80c2d847-eddc-40b7-9c28-adc3f502206d",
      "name": "Upload chapter images",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3980,
        620
      ]
    },
    {
      "id": "034681e0-45a7-4627-ac3a-3fa3c38ba80f",
      "name": "Merge chapters title and text",
      "type": "n8n-nodes-base.merge",
      "position": [
        4560,
        40
      ]
    },
    {
      "id": "27b0eae9-4e8d-46db-ae97-3901162ece93",
      "name": "Markdown to HTML",
      "type": "n8n-nodes-base.markdown",
      "position": [
        5300,
        40
      ]
    },
    {
      "id": "efabc0b9-d278-4267-bdf1-2da3bd64f0ff",
      "name": "Post on Wordpress",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        6560,
        40
      ]
    },
    {
      "id": "7a61d199-c0e5-427c-995c-f25e6764eaf9",
      "name": "Resize featured image",
      "type": "n8n-nodes-base.editImage",
      "position": [
        3380,
        1020
      ]
    },
    {
      "id": "2bec85e5-d322-485f-803f-1c46945c4a31",
      "name": "Upload featured image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        7200,
        60
      ]
    },
    {
      "id": "c79cd85e-b043-4f22-ab08-e5d8ae2b7cad",
      "name": "Set featured image for post",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        7620,
        60
      ]
    },
    {
      "id": "6cf93eea-c4d8-4da2-a700-6d4ab3bc4ded",
      "name": "Update image meta data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4180,
        620
      ]
    },
    {
      "id": "d4b57ca6-ff86-45dd-b717-939e041aee93",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2980,
        540
      ]
    },
    {
      "id": "f911ddbe-3eaa-42ef-9fb9-2137332f14fc",
      "name": "Update featured image meta data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        7420,
        60
      ]
    },
    {
      "id": "b6407776-c71b-4733-a9c7-0ab56bff0ee8",
      "name": "Loop Over Items1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        3000,
        -20
      ]
    },
    {
      "id": "688d10f0-4838-4797-bcbe-c10c5a3df4fb",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        8560,
        60
      ]
    },
    {
      "id": "2d44a8e5-bbae-4b68-b915-b41672f11a85",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2900,
        1000
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2d1fc893-4a48-45c8-aa57-a0f71871bea2",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        7920,
        -60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "afd020f3-51ea-47c5-9af1-46e14a02dd87",
      "name": "Set excerpt",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        7980,
        60
      ]
    },
    {
      "id": "6f1d3d83-2bfb-4d84-a62d-d13508671855",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1280,
        160
      ]
    },
    {
      "id": "738e153b-c653-4bad-b337-a07339fb767d",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        3440,
        80
      ]
    },
    {
      "id": "adae07fb-72e3-48f1-bb0b-26e536a854b6",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        3200,
        660
      ]
    },
    {
      "id": "4d878c57-381c-4918-8d16-b1de96b8cdab",
      "name": "OpenRouter Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        3680,
        260
      ]
    },
    {
      "id": "16697606-a7e7-4f0d-abd0-ef9005b5f9af",
      "name": "Google Sheets Trigger",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -100,
        -20
      ]
    },
    {
      "id": "46eb5856-a83c-461f-9fd6-6704eb4dc367",
      "name": "Limit1",
      "type": "n8n-nodes-base.limit",
      "position": [
        2520,
        -320
      ]
    },
    {
      "id": "58600ed9-8314-444f-84b2-7f9948f34901",
      "name": "Check inputs",
      "type": "n8n-nodes-base.if",
      "position": [
        820,
        -20
      ]
    },
    {
      "id": "dd8b0854-4e90-4343-ab0e-373ca967d91c",
      "name": "Add featured image",
      "type": "n8n-nodes-base.merge",
      "position": [
        6980,
        60
      ]
    },
    {
      "id": "9623fa44-e5fe-441f-9942-18f2004b5b6f",
      "name": "Save texts to Doc",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        6120,
        40
      ]
    },
    {
      "id": "b017cfb7-e35b-4f00-a3b1-b8e9ba5f7310",
      "name": "Create Doc",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        5880,
        40
      ]
    },
    {
      "id": "8d5c227e-0fc1-4b0e-a040-0da6c8d58e8c",
      "name": "Upload featured image to Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        3380,
        1260
      ]
    },
    {
      "id": "464694de-8793-40ca-b469-1dad3704b619",
      "name": "Upload chapter images to Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        3680,
        800
      ]
    },
    {
      "id": "ac8381af-f47b-425b-ba4d-d449342a67b1",
      "name": "Get output",
      "type": "n8n-nodes-base.set",
      "position": [
        2000,
        -20
      ]
    },
    {
      "id": "4946f465-cad8-4285-9823-cdd84eb643ea",
      "name": "Create Drive folder",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1780,
        -20
      ]
    },
    {
      "id": "9de8531b-99e8-4dff-91cb-c97be7d45500",
      "name": "Merge2",
      "type": "n8n-nodes-base.merge",
      "position": [
        3800,
        1140
      ]
    },
    {
      "id": "950582d9-521f-46ae-a710-b872356bfc6c",
      "name": "Merge1",
      "type": "n8n-nodes-base.merge",
      "position": [
        4400,
        660
      ]
    },
    {
      "id": "8ab853e3-c0a3-4bba-8abc-ae81206b5ef3",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1740,
        -100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "3a589d55-f9dd-479f-9360-68371cc18907",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5820,
        -60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f9c821de-3bde-43aa-a2eb-5929966df6ae",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -100,
        200
      ]
    },
    {
      "id": "c1c81451-c40f-4231-8fb7-3e20dddca3e8",
      "name": "Get the latest topic",
      "type": "n8n-nodes-base.limit",
      "position": [
        240,
        -20
      ]
    },
    {
      "id": "d86ef69e-e241-4d0a-8690-b54153b0907c",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -100,
        420
      ]
    },
    {
      "id": "5dcd30d3-bbb6-43be-98c8-470fb27069a8",
      "name": "FInal article in HTML",
      "type": "n8n-nodes-base.set",
      "position": [
        5540,
        40
      ]
    },
    {
      "id": "f601bf39-a49a-4001-a051-06ce3919c252",
      "name": "Final article in Markdown",
      "type": "n8n-nodes-base.set",
      "position": [
        5080,
        40
      ]
    },
    {
      "id": "09d911af-fb4e-4a41-8275-344135adf9c5",
      "name": "Combine into article",
      "type": "n8n-nodes-base.code",
      "position": [
        4800,
        40
      ]
    },
    {
      "id": "0aa68df5-aeb0-41f4-8648-7fe89f031bf2",
      "name": "Aggregate internal links",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2780,
        -320
      ]
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Write chapter text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Generate chapter image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit1": {
      "main": [
        [
          {
            "node": "Aggregate internal links",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge1": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge2": {
      "main": [
        [
          {
            "node": "Add featured image",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Settings": {
      "main": [
        [
          {
            "node": "Check inputs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Doc": {
      "main": [
        [
          {
            "node": "Save texts to Doc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get output": {
      "main": [
        [
          {
            "node": "Split out chapters",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate featured image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set excerpt": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check inputs": {
      "main": [
        [
          {
            "node": "Create post title and structure",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get post sitemap",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get XML file": {
      "main": [
        [
          {
            "node": "Split out links",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Resize Image": {
      "main": [
        [
          {
            "node": "Upload chapter images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Merge chapters title and text",
            "type": "main",
            "index": 1
          }
        ],
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split out links": {
      "main": [
        [
          {
            "node": "Limit1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get post sitemap": {
      "main": [
        [
          {
            "node": "Get XML file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [
          {
            "node": "Get title chapter and content",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Markdown to HTML": {
      "main": [
        [
          {
            "node": "FInal article in HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post on Wordpress": {
      "main": [
        [
          {
            "node": "Add featured image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save texts to Doc": {
      "main": [
        [
          {
            "node": "Post on Wordpress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add featured image": {
      "main": [
        [
          {
            "node": "Upload featured image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split out chapters": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          },
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write chapter text": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Drive folder": {
      "main": [
        [
          {
            "node": "Get output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine into article": {
      "main": [
        [
          {
            "node": "Final article in Markdown",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get the latest topic": {
      "main": [
        [
          {
            "node": "Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "FInal article in HTML": {
      "main": [
        [
          {
            "node": "Create Doc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets Trigger": {
      "main": [
        [
          {
            "node": "Get the latest topic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Create post title and structure",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Resize featured image": {
      "main": [
        [
          {
            "node": "Merge2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload chapter images": {
      "main": [
        [
          {
            "node": "Update image meta data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload featured image": {
      "main": [
        [
          {
            "node": "Update featured image meta data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate chapter image": {
      "main": [
        [
          {
            "node": "Upload chapter images to Drive",
            "type": "main",
            "index": 0
          },
          {
            "node": "Resize Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Write chapter text",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Update image meta data": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate featured image": {
      "main": [
        [
          {
            "node": "Upload featured image to Drive",
            "type": "main",
            "index": 0
          },
          {
            "node": "Resize featured image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate internal links": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Write chapter text",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Final article in Markdown": {
      "main": [
        [
          {
            "node": "Markdown to HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser2": {
      "ai_outputParser": [
        [
          {
            "node": "Create post title and structure",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Set featured image for post": {
      "main": [
        [
          {
            "node": "Set excerpt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get title chapter and content": {
      "main": [
        [
          {
            "node": "Merge chapters title and text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge chapters title and text": {
      "main": [
        [
          {
            "node": "Combine into article",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload chapter images to Drive": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Upload featured image to Drive": {
      "main": [
        [
          {
            "node": "Merge2",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Create post title and structure": {
      "main": [
        [
          {
            "node": "Create Drive folder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update featured image meta data": {
      "main": [
        [
          {
            "node": "Set featured image for post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        []
      ]
    }
  }
}