AutomationFlowsSocial Media › Automate SEO Blog Creation + Social Media with Gpt-4, Perplexity and Wordpress

Automate SEO Blog Creation + Social Media with Gpt-4, Perplexity and Wordpress

ByLukaszB @lukaszb on n8n.io

This workflow is ideal for individuals, marketers, agencies, and brands who want to effortlessly automate the entire blogging and social media process—from idea generation to promotion. Its primary goal is to consistently deliver engaging, SEO-optimized blog posts directly to…

Event trigger★★★★★ complexityAI-powered79 nodesExecute Workflow TriggerNotionOpenAI ChatChain LlmOpenAIHTTP RequestWordPressMemory Buffer Window
Social Media Trigger: Event Nodes: 79 Complexity: ★★★★★ AI nodes: yes Added:

This workflow corresponds to n8n.io template #4082 — 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": "To13kL7p4OV8nDaZ",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Automated Blog writer with social media promotion agent",
  "tags": [],
  "nodes": [
    {
      "id": "0b195040-295a-4cff-91d7-6a5121105df9",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2180,
        540
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "79ed8c8f-9b55-4a57-8309-44180d5d3e43",
      "name": "When clicking \u2018Test workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -2540,
        -60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cdbacaac-baad-441d-9f5d-fe5e98d2628f",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -1300,
        2260
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d32d67c4-a62a-4705-b7de-2943d13c32c6",
      "name": "Notion",
      "type": "n8n-nodes-base.notion",
      "position": [
        -1060,
        2260
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "3ff83c0a-7a5b-4b52-a1b6-eea59c648d3f",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -840,
        2260
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5d0e19f5-0230-4d74-8745-738cc19d7934",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -620,
        2260
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "e72f8aba-fd75-4d42-9ab8-db91ae89b822",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1460,
        2100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "33b0326a-0682-441e-8cb0-6c77493edd25",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1580,
        1240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2d57129b-7472-4cd7-b67b-adbbb744c2de",
      "name": "OpenAI 4.1 mini4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1500,
        1520
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "1646be1c-baae-442f-b567-b5bfe3ca4cd4",
      "name": "Write prompt to create image",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -1520,
        1340
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "5b432eb8-0954-49d2-bde7-dcde79120698",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "onError": "continueErrorOutput",
      "position": [
        -1080,
        1340
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "71799dbd-e9dc-4ed2-875d-f2ef2e2bb817",
      "name": "Upload Image to Wordpress2",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        -780,
        1340
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "dbf10b1c-4e59-4693-936e-8176fd7022d4",
      "name": "Set Image on Wordpress Post2",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        -580,
        1340
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "32e44406-845d-404f-89d4-1bd3e3e5c314",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "80cb12c0-b42e-43ca-97ff-bbce1f914509",
      "name": "Wordpress",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        660,
        20
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "16c65a59-d52f-4581-ace2-8e81e6730965",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        -60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6a958569-b7ae-4b08-9c8d-f2d6029c546c",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "83a63492-805e-4cb8-a56a-dd99956c5a9a",
      "name": "Cleanup Links",
      "type": "n8n-nodes-base.set",
      "position": [
        -400,
        20
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "11cac099-dee9-4e35-b0fa-d3c0059376b2",
      "name": "Cleanup HTML ",
      "type": "n8n-nodes-base.set",
      "position": [
        300,
        20
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "94586cfc-55bf-4b8d-a555-84b146b0b0d3",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -1800,
        220
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "da517ec6-05c6-4ecb-bded-a69abf798322",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        -1680,
        220
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "85aabbbb-1d1e-4300-bcce-c6b63b0cfb77",
      "name": "get brand brief",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -1560,
        220
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "f590fc01-77ee-4021-8ea5-b1c079e3c944",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1420,
        220
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "23168360-e347-4c51-8e0e-cc36bf4a5f2d",
      "name": "Idea creator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1780,
        20
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "5a646f02-27c6-4c04-bf01-17f88dd26edf",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2400,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0ab7454b-656a-4a9e-964e-3b59a5ed4003",
      "name": "Perplexity Research1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -620,
        20
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7750794d-8136-4aaa-ae0a-d209fc26ebc8",
      "name": "WordPress excerpt add",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        460,
        880
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e68ff086-815a-48f9-94f6-6448c72aea59",
      "name": "Excerpt creator",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        60,
        880
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "89403509-49ab-4873-bd82-51f58e9fa371",
      "name": "Update list of blog post",
      "type": "n8n-nodes-base.googleSheets",
      "onError": "continueRegularOutput",
      "position": [
        260,
        1460
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "d60dd82c-6678-4032-b902-5dc044243cc8",
      "name": "Update base post",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        460,
        1460
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "b329dd58-c343-4ade-901a-cbdc1a64de34",
      "name": "Markdown",
      "type": "n8n-nodes-base.markdown",
      "position": [
        20,
        1460
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e4a89855-7e35-43fe-b57f-788eed6a2a25",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2560,
        160
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "bca75a23-9fdf-4109-8698-5323a5153800",
      "name": "Content writer",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -20,
        20
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "fe63dd4c-b87b-40a4-96e0-9bb00b6db258",
      "name": "OpenAI 4.1 mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -20,
        240
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "74bc8252-9756-4a39-a991-eb5d78467bf6",
      "name": "OpenAI 4.1 mini2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        80,
        1040
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "1de78a9d-d136-46f2-b781-be8c7dad3612",
      "name": "OpenAI 4.1 mini3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1940,
        220
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "bae29b85-a213-408a-8b3b-42a435633f15",
      "name": "Category rewrite",
      "type": "n8n-nodes-base.code",
      "position": [
        -960,
        40
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "85e44c71-f5af-4e09-80c1-569a1980a3c6",
      "name": "Upload Image to Wordpress",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        -660,
        740
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "bbaa6459-5eca-4daf-9bc1-793c1b50dca2",
      "name": "Set Image on Wordpress Post",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        -440,
        740
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "90e0ee6d-8cef-45bc-a163-9fdc49b7a742",
      "name": "Get Image from Pexcel",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1100,
        740
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a457647e-7552-48a5-ab2f-2328036b2995",
      "name": "Download Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -880,
        740
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "5e966ddc-e579-4be3-9696-933f19c57f2f",
      "name": "Write prompt to search image",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -1500,
        740
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "7ac845e0-3ec3-43f3-8545-d44f50fa7140",
      "name": "OpenAI 4.1 mini1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1500,
        940
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "4d2917c3-b6a2-4f3d-a694-95c2385a62a1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1580,
        600
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a3541b48-3a65-468b-8091-792649a745ef",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        540
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f40e6bfe-c6ab-40f0-afe8-848d297181ba",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        1260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fe9d95f1-49b0-4577-b79b-f3fc82a88de5",
      "name": "Social Media Content",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2580,
        420
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "99b24a6f-ee0a-49a7-b2c6-2cf016b242c5",
      "name": "gpt-4.1 mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2280,
        420
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "c500b909-1949-4862-9a47-021fce4d601a",
      "name": "Social Media Content Creator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2320,
        160
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1.7
    },
    {
      "id": "1bfd8b2b-5c4c-4ced-b7bb-d08affd9a439",
      "name": "Upload media to Instagram",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1820,
        1200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "06c54ed2-3abf-4237-936e-6f8d25c4b7be",
      "name": "Publish Post on IG",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1980,
        1200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "73de50b2-f249-4188-9f2e-e55400fb2dad",
      "name": "Facebook Post1",
      "type": "n8n-nodes-base.facebookGraphApi",
      "onError": "continueRegularOutput",
      "position": [
        1840,
        1600
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "a8da9f48-3b83-4fac-905d-209e44311268",
      "name": "Edit Fields1",
      "type": "n8n-nodes-base.set",
      "position": [
        4620,
        -60
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "6d3ab439-1af8-4331-982d-b06df191ba9a",
      "name": "Merge3",
      "type": "n8n-nodes-base.merge",
      "position": [
        4700,
        140
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "44cf4d27-05df-4512-8958-f0fa66d95afe",
      "name": "Merge4",
      "type": "n8n-nodes-base.merge",
      "position": [
        4720,
        520
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "6c3284e9-ed1a-4a1e-a2e7-409cc379eced",
      "name": "Edit Fields2",
      "type": "n8n-nodes-base.set",
      "position": [
        4560,
        360
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "06547676-59d7-416e-85ca-e85666a72125",
      "name": "X",
      "type": "n8n-nodes-base.twitter",
      "position": [
        1840,
        1980
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f00830b5-9035-439c-be46-cc24e0446f72",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1580,
        1840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "eaa1c88a-3629-4d0d-95a6-4fed7cb2c278",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        2660,
        1440
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "ff7d2733-84a9-4e1a-8068-7f4f5f136ac0",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        3740,
        1540
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "60857340-ea45-409c-84bc-5a186b276990",
      "name": "Add too Data Bank",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3220,
        1440
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "8107eb68-f038-4cb4-bc93-804ac901662e",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3580,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "78edbe8a-b901-4344-b949-b6ec2f214524",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3560,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "05de5f97-fda8-42ed-829d-e844f3fc6a74",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1240,
        1000
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "18335555-0037-4d9c-81ea-9d632fdb5d04",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        -60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e33d1e93-b242-4383-ae25-01506b2de480",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2920,
        -80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9ec1629d-50f1-4bf3-850d-241725b6b66d",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2480,
        1140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "24e2edc5-5f05-4ab2-9846-dc1e24e2b52e",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2880,
        1440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "23e18303-51fd-4c8a-9575-b0a2b8606a4d",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3560,
        1140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "dc4fd5e8-e07e-4c42-9ad8-8c9cfbaec989",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2660,
        -220
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f19e24ac-8fc0-4b86-b87f-d435ff80a71a",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1160,
        -220
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b7725230-33b0-4dae-82f8-e2ef31c465da",
      "name": "Edit Fields3",
      "type": "n8n-nodes-base.set",
      "position": [
        1620,
        140
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "4b55a423-64b2-4f76-b824-5810653d6977",
      "name": "OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        3900,
        120
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "1d0c17cf-52e4-4bde-bb6f-d77b854890a9",
      "name": "OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        3920,
        500
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "0bd64785-617b-4ba5-ab5c-bcda09c6f08c",
      "name": "Post image Cloudinary1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4200,
        500
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "97c1ee7e-6d3f-4239-97cf-69f3cba626df",
      "name": "Post image Cloudinary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4180,
        120
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1017a22d-4611-4372-8754-d27ae44cf105",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5140,
        -220
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d371b329-85a8-493d-88f7-225f0eef0321",
      "name": "Sticky Note21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3420,
        -220
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "29dec5f4-f490-4900-877b-19089e282775",
      "name": "Sticky Note22",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1240,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2d63b6f6-0a30-41cc-a909-e5bdd02affe9",
  "connections": {
    "X": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge3": {
      "main": [
        [
          {
            "node": "Upload media to Instagram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge4": {
      "main": [
        [
          {
            "node": "Facebook Post1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notion": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "main": [
        [
          {
            "node": "Upload Image to Wordpress2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Write prompt to search image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI1": {
      "main": [
        [
          {
            "node": "Post image Cloudinary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI2": {
      "main": [
        [
          {
            "node": "Post image Cloudinary1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Markdown": {
      "main": [
        [
          {
            "node": "Update list of blog post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wordpress": {
      "main": [
        [
          {
            "node": "Write prompt to create image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "Add too Data Bank",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Merge3",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Edit Fields2": {
      "main": [
        [
          {
            "node": "Merge4",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Edit Fields3": {
      "main": [
        [
          {
            "node": "Social Media Content Creator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Idea creator": {
      "main": [
        [
          {
            "node": "Category rewrite",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "gpt-4.1 mini": {
      "ai_languageModel": [
        [
          {
            "node": "Social Media Content Creator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Cleanup HTML ": {
      "main": [
        [
          {
            "node": "Wordpress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cleanup Links": {
      "main": [
        [
          {
            "node": "Content writer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "ai_tool": [
        [
          {
            "node": "Idea creator",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Idea creator",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Content writer": {
      "main": [
        [
          {
            "node": "Cleanup HTML ",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Image": {
      "main": [
        [
          {
            "node": "Upload Image to Wordpress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Facebook Post1": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Excerpt creator": {
      "main": [
        [
          {
            "node": "WordPress excerpt add",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI 4.1 mini": {
      "ai_languageModel": [
        [
          {
            "node": "Content writer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "get brand brief": {
      "ai_tool": [
        [
          {
            "node": "Idea creator",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Category rewrite": {
      "main": [
        [
          {
            "node": "Perplexity Research1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI 4.1 mini1": {
      "ai_languageModel": [
        [
          {
            "node": "Write prompt to search image",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI 4.1 mini2": {
      "ai_languageModel": [
        [
          {
            "node": "Excerpt creator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI 4.1 mini3": {
      "ai_languageModel": [
        [
          {
            "node": "Idea creator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI 4.1 mini4": {
      "ai_languageModel": [
        [
          {
            "node": "Write prompt to create image",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Idea creator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update base post": {
      "main": [
        [
          {
            "node": "Edit Fields3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add too Data Bank": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Publish Post on IG": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity Research1": {
      "main": [
        [
          {
            "node": "Cleanup Links",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Social Media Content": {
      "ai_outputParser": [
        [
          {
            "node": "Social Media Content Creator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Get Image from Pexcel": {
      "main": [
        [
          {
            "node": "Download Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post image Cloudinary": {
      "main": [
        [
          {
            "node": "Merge3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WordPress excerpt add": {
      "main": [
        [
          {
            "node": "Markdown",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post image Cloudinary1": {
      "main": [
        [
          {
            "node": "Merge4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update list of blog post": {
      "main": [
        [
          {
            "node": "Update base post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Idea creator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Upload Image to Wordpress": {
      "main": [
        [
          {
            "node": "Set Image on Wordpress Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media to Instagram": {
      "main": [
        [
          {
            "node": "Publish Post on IG",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Image to Wordpress2": {
      "main": [
        [
          {
            "node": "Set Image on Wordpress Post2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Image on Wordpress Post": {
      "main": [
        [
          {
            "node": "Excerpt creator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Image on Wordpress Post2": {
      "main": [
        [
          {
            "node": "Excerpt creator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Social Media Content Creator": {
      "main": [
        [
          {
            "node": "Edit Fields2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          },
          {
            "node": "X",
            "type": "main",
            "index": 0
          },
          {
            "node": "OpenAI1",
            "type": "main",
            "index": 0
          },
          {
            "node": "OpenAI2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write prompt to create image": {
      "main": [
        [
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write prompt to search image": {
      "main": [
        [
          {
            "node": "Get Image from Pexcel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Test workflow\u2019": {
      "main": [
        [
          {
            "node": "Idea creator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

How this works

This workflow automatically turns research and ideas stored in Notion into fully SEO-optimised blog posts and matching social media updates. It uses Perplexity and GPT-4 to research topics, draft long-form content, and generate promotional copy, then publishes everything straight to WordPress. Marketers, agencies and content teams gain consistent output without spending hours on research, writing and distribution each week.

Use it when you need a repeatable monthly publishing schedule rather than one-off posts. It is not suited to highly technical or compliance-heavy topics that require human review before going live. Common variations include swapping the WordPress step for a different CMS or adding an approval gate before publication.

About this workflow

This workflow is ideal for individuals, marketers, agencies, and brands who want to effortlessly automate the entire blogging and social media process—from idea generation to promotion. Its primary goal is to consistently deliver engaging, SEO-optimized blog posts directly to…

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

More Social Media workflows → · Browse all categories →

Related workflows

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

Social Media

This workflow is built for creators, solopreneurs, SaaS founders, and agencies looking to automate their social media content process from idea to publication. It combines the power of OpenAI, Google

OpenAI Chat, Tool Workflow, Agent +15
Social Media

✨🤖Automated AI Powered Social Media Content Factory for X + Facebook + Instagram + LinkedIn. Uses outputParserStructured, lmChatGoogleGemini, lmChatOpenAi, httpRequest. Event-driven trigger; 57 nodes

Output Parser Structured, Google Gemini Chat, OpenAI Chat +11
Social Media

Social Media Managers and Digital Marketers seeking to streamline content production across 7+ platforms (X/Twitter, Instagram, LinkedIn, Facebook, TikTok, Threads, YouTube Shorts) using AI-powered au

Output Parser Structured, Google Gemini Chat, OpenAI Chat +11
Social Media

Content creators, social media managers, and solopreneurs who want to automate carousel post creation and multi-platform publishing from a single Telegram message.

OpenAI Chat, OpenAI, Telegram +8
Social Media

Hacker News to Video Template - AlexK1919. Uses manualTrigger, hackerNews, splitInBatches, lmChatOpenAi. Event-driven trigger; 48 nodes.

Hacker News, OpenAI Chat, Tool Http Request +11