AutomationFlowsSlack & Telegram › Create Seo-optimized Wordpress Blogs Automatically with Perplexity & Google…

Create Seo-optimized Wordpress Blogs Automatically with Perplexity & Google…

Original n8n title: Create Seo-optimized Wordpress Blogs Automatically with Perplexity & Google Trends

ByPaul @diagopl on n8n.io

This comprehensive N8N automation template revolutionizes content creation by delivering a complete end-to-end solution for AI-powered blog generation. Transform simple ideas into fully SEO-optimized, WordPress-ready articles that rank higher and drive organic traffic to your…

Event trigger★★★★★ complexityAI-powered49 nodesSlack TriggerTelegram TriggerGmail TriggerWhatsApp TriggerTelegramWhatsAppSlackGmail
Slack & Telegram Trigger: Event Nodes: 49 Complexity: ★★★★★ AI nodes: yes Added:

This workflow corresponds to n8n.io template #6498 — 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": "Ae3nNUavM3ZqllV8",
  "name": "Blog h",
  "tags": [
    {
      "id": "Pk2fJStrBv0ahTzF",
      "name": "Marketplace",
      "createdAt": "2025-06-18T21:56:48.947Z",
      "updatedAt": "2025-06-18T21:56:48.947Z"
    }
  ],
  "nodes": [
    {
      "id": "76f3032f-f6cd-497a-b482-ed22924a3ec7",
      "name": "Slack Trigger",
      "type": "n8n-nodes-base.slackTrigger",
      "position": [
        -1408,
        192
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1abb4e6e-130b-4fec-9db6-52f808f92fe6",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -1392,
        -144
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "3112fbdd-b7a6-4132-a3e6-cd8dd0cb8f80",
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -1392,
        16
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "1867d70b-2c9d-4188-be92-979a4f248e60",
      "name": "WhatsApp Trigger",
      "type": "n8n-nodes-base.whatsAppTrigger",
      "disabled": true,
      "position": [
        -1408,
        384
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8f067a2e-843a-45c8-b716-a15c489ec34d",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -608,
        176
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "1976a5b2-4b18-4aa2-99db-75bf0b04b4cb",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        560,
        -80
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "80d1a03d-a902-4792-abbb-b229221a2fe8",
      "name": "Send message",
      "type": "n8n-nodes-base.whatsApp",
      "disabled": true,
      "position": [
        560,
        80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "96042b35-d56d-406f-b39a-13fd74a00239",
      "name": "Send a message",
      "type": "n8n-nodes-base.slack",
      "position": [
        560,
        240
      ],
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "daafb62e-09df-4aea-810c-f7b119e2ee01",
      "name": "Send a message1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        560,
        416
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "0e9f6731-ca77-4158-8cdc-56bb42c2c2c0",
      "name": "Call n8n Workflow Tool",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -288,
        448
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "a7128d80-395a-46df-9397-66d94e1efdc0",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -560,
        432
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f277e144-c6d2-4e8a-9f23-9ae0103afffc",
      "name": "Blog Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -480,
        176
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "f89ba21f-70a1-4994-b18f-5d18974ae7fe",
      "name": "Workflow Input Trigger",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -1488,
        1072
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "66bcccef-7a3d-4087-aef3-8eaae051ca2a",
      "name": "Slug",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        3168,
        1168
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "e3249a7d-bc21-4d29-9252-87728c8eb485",
      "name": "Title",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        3504,
        1168
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "068dd5f6-fee8-499f-8b99-42a496995ad7",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1248,
        992
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5732d530-8eb2-489e-85c8-b0c099512f40",
      "name": "Append row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        4064,
        1168
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "8e17cd4c-9034-41d0-b36f-bd8f6b150e76",
      "name": "Google_trends search",
      "type": "n8n-nodes-serpapi.serpApi",
      "position": [
        -1168,
        1072
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4f613042-fcf5-4668-96d1-ba2003ad2e8d",
      "name": "Edit Fields2",
      "type": "n8n-nodes-base.set",
      "position": [
        -1008,
        1072
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "99f3867d-be78-4c1c-8d9b-02bdde7a0e75",
      "name": "OpenRouter Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -704,
        1248
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2b7f459b-5f8e-4696-9289-664b68a9d52b",
      "name": "choose the best keywords",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -752,
        1072
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "3f160cae-e5c0-462e-a80c-b914b6ef663c",
      "name": "Preliminary Plan1",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -336,
        1072
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "5343c85f-aedb-4ba6-b6c5-bd15acb23953",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -576,
        1328
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "b2d30b38-3e07-4913-85f1-134a6fc45b83",
      "name": "Message a model2",
      "type": "n8n-nodes-base.perplexity",
      "position": [
        64,
        1072
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ba660bcb-5754-4e6d-9e24-1fa0747b03d4",
      "name": "Split Out2",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        960,
        1584
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "936cc6f7-5e98-45b2-9b85-412f7cf19df4",
      "name": "Limit4",
      "type": "n8n-nodes-base.limit",
      "position": [
        1248,
        1584
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "39a68bfe-2d2b-40a1-b22a-d264c71c8ce3",
      "name": "Edit Fields20",
      "type": "n8n-nodes-base.set",
      "position": [
        1152,
        1328
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "fae48629-3c1d-46ec-beeb-0f133fb64897",
      "name": "Split Out4",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        912,
        1328
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5c4c5e2c-1734-4101-b855-5e1faaf4d25f",
      "name": "Aggregate6",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1376,
        1328
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "965cb10a-91d5-4814-b8a5-d3b25bc152a7",
      "name": "Merge4",
      "type": "n8n-nodes-base.merge",
      "position": [
        1664,
        1168
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "a7f2725e-87d0-4487-9b98-e1367b108d56",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1216,
        880
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "920f56c8-9ca1-4e1a-9bf6-329e93a4a6e0",
      "name": "Previous Posts1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        976,
        880
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "371468c5-f916-489a-a431-ddf1845929b2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        928,
        752
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "48e9d20a-b184-486d-b049-751479e017a6",
      "name": "Write Article part 1",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1888,
        1168
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "33777737-524d-4dcf-a568-38365d57a007",
      "name": "Write Article part 2",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2320,
        1168
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "71e9b38d-bac6-40ac-85db-919ffd30286a",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        1488
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bb3bb944-5e91-4d79-8350-0f9fe2b4a876",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        864,
        1200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2d26e265-4c61-4809-b182-ff339b8b2ea1",
      "name": "Edit Fields21",
      "type": "n8n-nodes-base.set",
      "position": [
        2768,
        1168
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "249989c3-2dd7-4cc0-a259-fb00d0394b15",
      "name": "Markdown",
      "type": "n8n-nodes-base.markdown",
      "position": [
        2944,
        1168
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3da11ba0-f373-4b45-bbe7-c6e36eb42844",
      "name": "Create a post",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        3872,
        1168
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7e29f16d-9838-4979-8544-d46d133a365c",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1584,
        992
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "11f02b03-1bf5-421a-8833-781853a631e9",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1424,
        784
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "39687ed1-ad2b-49df-bc82-cb01464f1c62",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        352
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4516564b-3350-4d49-88ba-a91be9230343",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        976
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9f92328c-461b-4b6f-a758-41e7b218116f",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2880,
        1072
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "204ef838-1003-4724-ae38-cec51e374948",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4000,
        1040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0c2d0d83-274a-4c0d-91d3-9d321e23ece9",
      "name": "response ",
      "type": "n8n-nodes-base.set",
      "position": [
        4272,
        1168
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a9e605e0-cb7f-4028-a73f-fd6bee06b9d5",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1488,
        -320
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8ef078c4-1e5f-48f0-b7bd-3093e4faf680",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2688,
        -2240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "5a359450-ce34-411d-92f7-99443cc426b4",
  "connections": {
    "Slug": {
      "main": [
        [
          {
            "node": "Title",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Title": {
      "main": [
        [
          {
            "node": "Create a post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit4": {
      "main": [
        [
          {
            "node": "Merge4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge4": {
      "main": [
        [
          {
            "node": "Write Article part 1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Markdown": {
      "main": [
        [
          {
            "node": "Slug",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        []
      ]
    },
    "Aggregate6": {
      "main": [
        [
          {
            "node": "Merge4",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Blog Agent": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out2": {
      "main": [
        [
          {
            "node": "Limit4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out4": {
      "main": [
        [
          {
            "node": "Edit Fields20",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Blog Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields2": {
      "main": [
        [
          {
            "node": "choose the best keywords",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send message": {
      "main": [
        []
      ]
    },
    "Create a post": {
      "main": [
        [
          {
            "node": "Append row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields20": {
      "main": [
        [
          {
            "node": "Aggregate6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields21": {
      "main": [
        [
          {
            "node": "Markdown",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        []
      ]
    },
    "Previous Posts1": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message a model2": {
      "main": [
        [
          {
            "node": "Split Out2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Split Out4",
            "type": "main",
            "index": 0
          },
          {
            "node": "Previous Posts1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WhatsApp Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Preliminary Plan1": {
      "main": [
        [
          {
            "node": "Message a model2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append row in sheet": {
      "main": [
        [
          {
            "node": "response ",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a text message": {
      "main": [
        []
      ]
    },
    "Google_trends search": {
      "main": [
        [
          {
            "node": "Edit Fields2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Article part 1": {
      "main": [
        [
          {
            "node": "Write Article part 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Article part 2": {
      "main": [
        [
          {
            "node": "Edit Fields21",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Blog Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Call n8n Workflow Tool": {
      "ai_tool": [
        [
          {
            "node": "Blog Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "choose the best keywords",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Input Trigger": {
      "main": [
        [
          {
            "node": "Google_trends search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "choose the best keywords",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "choose the best keywords": {
      "main": [
        [
          {
            "node": "Preliminary Plan1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

This comprehensive N8N automation template revolutionizes content creation by delivering a complete end-to-end solution for AI-powered blog generation. Transform simple ideas into fully SEO-optimized, WordPress-ready articles that rank higher and drive organic traffic to your…

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

More Slack & Telegram workflows → · Browse all categories →

Related workflows

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

Slack & Telegram

Send any URL to your Telegram bot and get an AI summary instantly.

Telegram Trigger, HTTP Request, Chain Llm +4
Slack & Telegram

End-to-End Video Creation from user idea or transcript AI-Powered Scriptwriting using LLMs (e.g., DeepSeek via OpenRouter) Voiceover Generation with customizable TTS voices Image Scene Generation usin

HTTP Request, Form Trigger, Output Parser Structured +6
Slack & Telegram

This n8n workflow is designed for SEO managers, content creators, and blog administrators who want to automate their blog publishing pipeline. The workflow creates an end-to-end AI-powered system that

Output Parser Autofixing, OpenAI Chat, Webflow Tool +11
Slack & Telegram

Effortlessly track your expenses with MoneyMate, an n8n workflow that transforms receipts into organized financial insights.

HTTP Request, Telegram Trigger, Chain Llm +4
Slack & Telegram

Disclaimer: This template requires the community node, which is only available on self-hosted n8n instances. You’ll need a self-hosted n8n setup to use this workflow.

HTTP Request, Telegram Trigger, Chain Llm +4