AutomationFlowsAI & RAG › Wordpress Auto-blogging Pro - with Deep Research - Content Automation Machine

Wordpress Auto-blogging Pro - with Deep Research - Content Automation Machine

ByDaniel Ng @danielng on n8n.io

The best content automation template in the market is now even better—with “deep research” on time-sensitive topics\! Unlike most n8n content automation templates that are mainly for “demo purposes,” this advanced n8n workflow is for the real PROs. It conducts in-depth research…

Event trigger★★★★★ complexityAI-powered77 nodesOpenAIHTTP RequestXMLEdit ImageWordPressGoogle DocsGoogle DriveAgent
AI & RAG Trigger: Event Nodes: 77 Complexity: ★★★★★ AI nodes: yes Added:

This workflow corresponds to n8n.io template #3041 — we link there as the canonical source.

This workflow follows the Agent → Chainllm recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "dm2trOGY525Nr10K",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "WordPress Blog Automation Pro (Deep Research) v1",
  "tags": [
    {
      "id": "ayyxr7TtiBwlGe4H",
      "name": "AI",
      "createdAt": "2024-12-30T19:11:18.302Z",
      "updatedAt": "2024-12-30T19:11:18.302Z"
    },
    {
      "id": "D6U0NdG2lu4KZaOd",
      "name": "WordPress",
      "createdAt": "2024-12-30T19:11:18.309Z",
      "updatedAt": "2024-12-30T19:11:18.309Z"
    },
    {
      "id": "MgXdx22JehBr08eN",
      "name": "OpenAI",
      "createdAt": "2024-12-30T19:11:18.385Z",
      "updatedAt": "2024-12-30T19:11:18.385Z"
    }
  ],
  "nodes": [
    {
      "id": "7c5bd751-70e7-4b4e-b423-47bc6cfa4647",
      "name": "Generate featured image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        12360,
        3300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f12f5551-6a09-4d13-99f4-dfe5fa393d27",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        12080,
        2100
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "01481635-0073-451a-bf47-8a014b7c8123",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        8480,
        2040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b00d1b45-b7d9-499b-a1fb-74c0f4f307dd",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        10080,
        2040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "452bc2d2-ed63-483d-848b-6c81e398f044",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        11480,
        2040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "38a0731c-cd2f-436c-9823-771a27bb4caa",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        11300,
        1720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "07949d3f-02e7-478c-b59b-c39ca662238b",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        11800,
        2740
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "05193d67-6920-4e90-925c-320e26007d26",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        14560,
        2240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c480e5ef-1c56-47d4-8078-a368dbe2657e",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        15620,
        2240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2650c386-ec48-4a65-ae10-cbfa18ff1a99",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16180,
        2240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5ed86991-3d74-495d-b5c5-e0de7e850d44",
      "name": "Get post sitemap",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        11420,
        1760
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "81feb398-5d59-4e12-8268-edbfcb93918c",
      "name": "Get XML file",
      "type": "n8n-nodes-base.xml",
      "position": [
        11640,
        1760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f7067e2b-636d-4734-96ac-14b54d04096a",
      "name": "Split out links",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        11860,
        1760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ce53391b-b0ed-4fbf-afff-0f416f61428b",
      "name": "Generate chapter image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        12680,
        2900
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "6cfc7664-74a0-4d82-b482-f73154ff41f8",
      "name": "Resize Image",
      "type": "n8n-nodes-base.editImage",
      "position": [
        12940,
        2800
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5a05ebf1-8b7f-464a-b741-bd06b669215e",
      "name": "Upload chapter images",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        13240,
        2860
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "4f890158-90ac-4eda-aea5-9f27ea3470b7",
      "name": "Merge chapters title and text",
      "type": "n8n-nodes-base.merge",
      "position": [
        14680,
        2360
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "26518914-f8f7-40ae-b3b9-594644d8310c",
      "name": "Markdown to HTML",
      "type": "n8n-nodes-base.markdown",
      "position": [
        15340,
        2360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "034b5e03-57fa-4ee9-85f4-398550f7da3f",
      "name": "Post on Wordpress",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        15940,
        2360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f72e144a-9fa0-42ff-945b-1d27a105a986",
      "name": "Resize featured image",
      "type": "n8n-nodes-base.editImage",
      "position": [
        12760,
        3240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7f840b6b-c9bd-4471-8ddf-7c9d8cf89f18",
      "name": "Upload featured image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        16500,
        2380
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "09aaf233-e230-44be-a206-0328730d27df",
      "name": "Set featured image for post",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        16920,
        2380
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "c5c217dd-5aa0-4b4b-9d26-dbf7096386a4",
      "name": "Update image meta data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        13440,
        2860
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9ba530fc-20ff-4d20-afee-094322782a5b",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        12360,
        2780
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "baca5116-9ab4-4858-933a-e27f405769f1",
      "name": "Update featured image meta data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        16720,
        2380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "bd34a2cf-6aff-43b1-b6a4-beff7e21ed46",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        18540,
        2380
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "2a6db446-eaaa-4310-a688-c4f1279f158d",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        12080,
        3220
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3a2b4437-efd1-4b28-b94b-7bc1f39ebee9",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        17160,
        2240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7b15a7f4-c890-4868-ba6a-b443b147fed3",
      "name": "Set excerpt",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        17220,
        2380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f120be0a-6ecf-4b51-b383-a311ac4a1baf",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "disabled": true,
      "position": [
        13900,
        2900
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "389c3242-e071-42b9-b913-3808560234c7",
      "name": "Check inputs",
      "type": "n8n-nodes-base.if",
      "position": [
        8940,
        2100
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "6217d2f0-b9df-479c-a304-1b93a22b0988",
      "name": "Save texts to Doc",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        18000,
        2380
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "00e2af9d-de7f-4870-ac02-1a28b3bcbfdb",
      "name": "Create Doc",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        17780,
        2380
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f05c9211-edd9-4e5e-8d26-19377c6438f7",
      "name": "Upload featured image to Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        12760,
        3480
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "c99f01fe-2127-42f3-96ef-a27d6059311f",
      "name": "Upload chapter images to Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        12940,
        3000
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "becbdaab-759a-438b-9d12-63a555feae0b",
      "name": "Get output",
      "type": "n8n-nodes-base.set",
      "position": [
        11260,
        2080
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9a25678a-9abe-4e35-8cab-bb85c9e79158",
      "name": "Create Drive folder",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        10980,
        2080
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "0915bbff-131c-44b7-9188-6fe757ba3b37",
      "name": "Merge2",
      "type": "n8n-nodes-base.merge",
      "position": [
        13180,
        3360
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "8dee0035-0562-49f4-a6bd-d4ed306f320f",
      "name": "Merge1",
      "type": "n8n-nodes-base.merge",
      "position": [
        13660,
        2900
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "3cab94aa-f6d2-4837-ae36-04f0bfba5f68",
      "name": "Researcher",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        12700,
        2240
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "adc8009e-86be-4c37-95f7-e0424f8c1b58",
      "name": "Research Tool",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        9700,
        2340
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "e1aa095c-7055-427a-8a8f-202a3633d980",
      "name": "When clicking \u2018Test workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "disabled": true,
      "position": [
        7380,
        2620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0033a654-7421-4dfb-9724-d3a54cdcba66",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        10520,
        2320
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "1d23099b-16b7-4c60-907d-698715eb20ae",
      "name": "Research Tool1",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        12960,
        2500
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "5fb3d1d9-4f9d-4a55-a49a-4ae5c9ba400e",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "disabled": true,
      "position": [
        13860,
        2240
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e7c78cd8-cdc0-460b-b66f-a2d929fab671",
      "name": "Wait featured image",
      "type": "n8n-nodes-base.merge",
      "position": [
        16280,
        2380
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "ae386a72-39bf-4c7a-bcb0-a7477076e755",
      "name": "Structured Output Parser3",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        13500,
        2500
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "466adc90-495e-400d-aa80-42912156a6f9",
      "name": "Structured Output Parser4",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        9860,
        2340
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "ad0bd24a-a29e-4539-a379-e92d0b7764dc",
      "name": "Settings",
      "type": "n8n-nodes-base.set",
      "position": [
        8660,
        2100
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "032b3edd-4428-45d4-a628-b4506014b035",
      "name": "Initial Research",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        9520,
        2080
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "dd882bd1-c9a6-420e-8cff-52a488d41b7a",
      "name": "Split out chapters",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        11680,
        2080
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2f586a9b-7874-4a45-a5b9-7f53935fe4d6",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        9300,
        2040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "88f0c247-dc7c-4dc7-b7c2-201dc0160086",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        10820,
        2040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c72f78ad-e52f-4da6-8128-309b0b1113a6",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        17720,
        2240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "582d9df6-d04a-4018-9a4a-cd6c11477ea1",
      "name": "Copywriter",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        13260,
        2240
      ],
      "parameters": {},
      "typeVersion": 1.5
    },
    {
      "id": "eae074f3-d2ed-450a-8f91-cea385293821",
      "name": "Limit internal links",
      "type": "n8n-nodes-base.limit",
      "position": [
        12100,
        1760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7cdb2b73-ee89-4784-a496-cdf9c6e51646",
      "name": "Loop Over Items2",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        12380,
        2100
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "f5a85f3a-0d26-4124-af5d-4be2ea7c77cc",
      "name": "Get title chapter and content",
      "type": "n8n-nodes-base.set",
      "position": [
        13860,
        2080
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "d7355df5-7d2c-4cc3-ba47-59d9777ddf59",
      "name": "Final article in Markdown",
      "type": "n8n-nodes-base.set",
      "position": [
        15120,
        2360
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "8a24ecd3-cb74-41ca-812b-61dd16934f90",
      "name": "FInal article in HTML",
      "type": "n8n-nodes-base.set",
      "position": [
        15720,
        2360
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "eba65262-abef-4906-a313-b4891e704906",
      "name": "Combine into article",
      "type": "n8n-nodes-base.code",
      "position": [
        14900,
        2360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dfb8595e-3b33-444f-a3bb-6f2f0ac6444e",
      "name": "Aggregate internal links",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        12320,
        1760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "161855c5-71da-4d60-8873-26ce09dfeee2",
      "name": "Google Sheets Trigger",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        7380,
        2100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c0434f90-3a6b-4349-9a50-d95a0db21749",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "disabled": true,
      "position": [
        7380,
        2360
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "cb842278-7a85-4170-bd87-732c0f09c4a8",
      "name": "Blog Planner",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        10260,
        2080
      ],
      "parameters": {},
      "typeVersion": 1.5
    },
    {
      "id": "4a8ff65e-7c44-45f8-9ef3-e79da08d1645",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        9440,
        2340
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "017f6743-4d3e-4853-962d-d53aeaa35132",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        10240,
        2320
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "4594d430-4187-4572-99a8-6c5e9b9f4d30",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        12660,
        2500
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "91f103f0-64f4-42b5-a953-2f4ac8973a00",
      "name": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        13240,
        2500
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "fb6ec7f0-1f0a-4f4e-8125-b1edfbe3b765",
      "name": "Check empty output",
      "type": "n8n-nodes-base.if",
      "position": [
        10620,
        2080
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "21f86f8c-d722-44b1-865b-4c9d52a7160e",
      "name": "Limit to last post",
      "type": "n8n-nodes-base.limit",
      "position": [
        7980,
        2100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cc6def4b-e8df-483f-93ec-ea55dcb84d79",
      "name": "Execute Workflow Trigger",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "disabled": true,
      "position": [
        8680,
        3360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6dad397c-3856-4aa5-8aba-86be4065d417",
      "name": "PerplexityAI API",
      "type": "n8n-nodes-base.httpRequest",
      "disabled": true,
      "position": [
        9260,
        3360
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4ddd10ba-5011-498a-994f-34b19ad24a48",
      "name": "Get Research Content",
      "type": "n8n-nodes-base.set",
      "disabled": true,
      "position": [
        9540,
        3360
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "5aafcadc-2999-420a-b2bb-07ee91166500",
      "name": "Edit Fields1",
      "type": "n8n-nodes-base.set",
      "disabled": true,
      "position": [
        9020,
        3360
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "0090a4bf-d379-4f02-841b-69d5be03e56e",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "disabled": true,
      "position": [
        8540,
        3260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f3c513d5-af2a-4e72-97e7-5dda65d907c7",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5560,
        2060
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1"
  },
  "versionId": "931d79f5-46b9-43fa-bae1-b279a3645458",
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Loop Over Items2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "Loop Over Items2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge1": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge2": {
      "main": [
        [
          {
            "node": "Wait featured image",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Settings": {
      "main": [
        [
          {
            "node": "Check inputs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Copywriter": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Doc": {
      "main": [
        [
          {
            "node": "Save texts to Doc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get output": {
      "main": [
        [
          {
            "node": "Generate featured image",
            "type": "main",
            "index": 0
          },
          {
            "node": "Split out chapters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Researcher": {
      "main": [
        [
          {
            "node": "Copywriter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set excerpt": {
      "main": [
        [
          {
            "node": "Create Doc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Blog Planner": {
      "main": [
        [
          {
            "node": "Check empty output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check inputs": {
      "main": [
        [
          {
            "node": "Get post sitemap",
            "type": "main",
            "index": 0
          },
          {
            "node": "Initial Research",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "PerplexityAI API",
            "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
          }
        ]
      ]
    },
    "Research Tool": {
      "ai_tool": [
        [
          {
            "node": "Initial Research",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Research Tool1": {
      "ai_tool": [
        [
          {
            "node": "Researcher",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Merge chapters title and text",
            "type": "main",
            "index": 1
          }
        ],
        [
          {
            "node": "Generate chapter image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split out links": {
      "main": [
        [
          {
            "node": "Limit internal links",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get post sitemap": {
      "main": [
        [
          {
            "node": "Get XML file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Initial Research": {
      "main": [
        [
          {
            "node": "Blog Planner",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items2": {
      "main": [
        [
          {
            "node": "Get title chapter and content",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Researcher",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Markdown to HTML": {
      "main": [
        [
          {
            "node": "FInal article in HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "PerplexityAI API": {
      "main": [
        [
          {
            "node": "Get Research Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Initial Research",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Post on Wordpress": {
      "main": [
        [
          {
            "node": "Wait featured image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save texts to Doc": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check empty output": {
      "main": [
        [
          {
            "node": "Create Drive folder",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Blog Planner",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit to last post": {
      "main": [
        [
          {
            "node": "Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Blog Planner",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Researcher",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Copywriter",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Split out chapters": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Drive folder": {
      "main": [
        [
          {
            "node": "Get output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait featured image": {
      "main": [
        [
          {
            "node": "Upload featured image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine into article": {
      "main": [
        [
          {
            "node": "Final article in Markdown",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit internal links": {
      "main": [
        [
          {
            "node": "Aggregate internal links",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "FInal article in HTML": {
      "main": [
        [
          {
            "node": "Post on Wordpress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets Trigger": {
      "main": [
        [
          {
            "node": "Limit to last post",
            "type": "main",
            "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
          }
        ]
      ]
    },
    "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
          }
        ]
      ]
    },
    "Execute Workflow Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Final article in Markdown": {
      "main": [
        [
          {
            "node": "Markdown to HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Blog Planner",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser3": {
      "ai_outputParser": [
        [
          {
            "node": "Copywriter",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser4": {
      "ai_outputParser": [
        [
          {
            "node": "Initial Research",
            "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
          }
        ]
      ]
    },
    "Update featured image meta data": {
      "main": [
        [
          {
            "node": "Set featured image for post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Test workflow\u2019": {
      "main": [
        []
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

How this works

This workflow turns time-sensitive topics into fully researched, SEO-ready blog posts published directly to WordPress. It performs deep research across multiple sources before drafting long-form content, generating images, and handling publication, making it ideal for content teams and solo creators who need consistent output without manual research hours. The key step is the AI-driven research phase that pulls fresh data and structures it into an outline before any writing begins.

Use it for recurring topics that require current statistics or expert angles, but avoid it for evergreen posts or when brand tone must stay strictly manual. Variations include swapping the final publishing node to Google Docs for review workflows or adjusting research depth per topic urgency.

About this workflow

The best content automation template in the market is now even better—with “deep research” on time-sensitive topics\! Unlike most n8n content automation templates that are mainly for “demo purposes,” this advanced n8n workflow is for the real PROs. It conducts in-depth research…

Source: https://n8n.io/workflows/3041/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

🎯 Create viral TikToks, Shorts, Reels, podcasts, and ASMR videos in minutes — all on autopilot.

OpenAI, HTTP Request, Form Trigger +7
AI & RAG

Generate AI viral videos with NanoBanana & VEO3, shared on socials via Blotato 2. Uses @blotato/n8n-nodes-blotato, googleSheets, lmChatOpenAi, toolThink. Event-driven trigger; 94 nodes.

@Blotato/N8N Nodes Blotato, Google Sheets, OpenAI Chat +9
AI & RAG

How it Works

Memory Buffer Window, Agent, Output Parser Structured +9
AI & RAG

Typeform IA - YT. Uses typeformTrigger, agent, lmChatOpenAi, toolWorkflow. Event-driven trigger; 75 nodes.

Typeform Trigger, Agent, OpenAI Chat +7
AI & RAG

Agent Nodes. Uses lmChatOpenAi, slack, stopAndError, errorTrigger. Event-driven trigger; 72 nodes.

OpenAI Chat, Slack, Stop And Error +12