8
n8n 中文网amn8n.com

WordPress 内容生成器 v3

高级

这是一个AI, Marketing领域的自动化工作流,包含 102 个节点。主要使用 If, Set, Code, Wait, Merge 等节点,结合人工智能技术实现智能自动化。 WordPress 内容生成器 v3

前置要求
  • Slack Bot Token 或 Webhook URL
  • Airtable API Key
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
  • HTTP Webhook 端点(n8n 会自动生成)
  • Anthropic API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "xCljmWSjzTeovNF3",
  "meta": {
    "instanceId": "ecc960f484e18b0e09045fd93acf0d47f4cfff25cc212ea348a08ac3aae81850"
  },
  "name": "WordPress 内容生成器 v3",
  "tags": [
    {
      "id": "SZGpEHqLs9pc8SMT",
      "name": "App 51",
      "createdAt": "2025-01-20T06:58:09.764Z",
      "updatedAt": "2025-01-20T06:58:09.764Z"
    },
    {
      "id": "6rb8rVhKZj4t0Kne",
      "name": "Current",
      "createdAt": "2025-02-04T18:13:17.427Z",
      "updatedAt": "2025-02-04T18:13:17.427Z"
    }
  ],
  "nodes": [
    {
      "id": "0d690ce4-a3d5-4536-b9d1-e5b889837d23",
      "name": "表单",
      "type": "n8n-nodes-base.formTrigger",
      "disabled": true,
      "position": [
        340,
        620
      ],
      "webhookId": "aec43aee-a0ce-40cc-bf37-9cb266c01b8d",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "2aa4503e-515b-4b74-b2d3-e5d4a56e4955",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "24c185f1-1e47-4316-af4c-5b21bd0a7a1d",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dc408aa0-acfc-48aa-86b2-0d6ac963a58b",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3580,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "90e56485-1987-4d32-a4c5-ab9d3bc85752",
      "name": "便签 11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4500,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e820af40-ccde-4315-9ea1-d1d3e36e77f0",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1780,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3736e0de-5302-46a7-b2bf-1a084c37f5e9",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1780,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cc439193-592c-40bc-a912-da15d6cdb5c2",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f12e2b43-000d-47ef-b1d8-a27d85e12bed",
      "name": "便签14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5600,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f9ccefc4-dec2-455f-b2dd-9bd050f3de6a",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1780,
        660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f6ee577b-e62d-41b7-822e-164d27488369",
      "name": "设置",
      "type": "n8n-nodes-base.set",
      "position": [
        1580,
        180
      ],
      "parameters": {},
      "typeVersion": 3.3
    },
    {
      "id": "a0603274-00cc-432a-aca7-e9d5e180a6c7",
      "name": "便签15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1540,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4808f75a-2c02-4f35-80d3-b40f962afdc9",
      "name": "检查数据一致性",
      "type": "n8n-nodes-base.if",
      "position": [
        2200,
        180
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "691fbc0d-012f-47ec-8c4b-89b1dbb590fd",
      "name": "拆分章节",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2540,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9d69e119-e6af-4732-9424-d504b5720e1d",
      "name": "合并章节标题和文本",
      "type": "n8n-nodes-base.merge",
      "position": [
        3220,
        500
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "28a344ef-0de8-4ad0-98cf-19dbf43c0856",
      "name": "最终文章文本",
      "type": "n8n-nodes-base.code",
      "position": [
        3400,
        200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a647a6e7-5b33-4197-ae5b-30d562b05bce",
      "name": "发布到 WordPress",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        3620,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b198baa0-b9bd-46da-a023-7b69d9ec2a7b",
      "name": "上传媒体文件",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4940,
        660
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "43a61f69-ece5-47ea-91ed-722f178964cd",
      "name": "为文章设置图片 ID",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5140,
        660
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "ec6b3b2b-551a-47d8-b182-1b13ec4a164a",
      "name": "响应:错误",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2240,
        700
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "59ddbb4c-a85e-4064-9ad9-65c738b06728",
      "name": "便签17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2500,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9c5f4b1c-cb8e-4738-815d-86d9c3543756",
      "name": "便签18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2780,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6bfa3a9e-d7a5-4e66-8253-7698f79cc170",
      "name": "便签22",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3180,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "78925bc6-4ddb-40eb-924f-6a142fe09f97",
      "name": "Wikipedia",
      "type": "@n8n/n8n-nodes-langchain.toolWikipedia",
      "position": [
        1820,
        740
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "08756e25-2bf6-40dd-9b20-5509cc426eff",
      "name": "创建文章标题和结构",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1820,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d907b2fa-ec0b-48f9-a476-6fec0ba314d3",
      "name": "创建章节文本",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2820,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5a3c4a73-98d8-4574-b3a6-5de5024af851",
      "name": "便签20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "21ebac39-cc50-47bc-8b1c-afe3409c9924",
      "name": "当点击\"测试工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        340,
        100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "26b00615-70e2-4877-8bb4-d092ef58e9fe",
      "name": "提示设置",
      "type": "n8n-nodes-base.set",
      "position": [
        5140,
        180
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "cf1ec3cb-39f1-4e85-a074-6a7967407494",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        5140,
        420
      ],
      "webhookId": "0e220542-aeae-461a-8625-e1d5ee8eb90f",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "bf72d9c4-bfaf-4c0e-a8a4-348df48fa43d",
      "name": "P1 图片提示词",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        4540,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3ba3c659-cfad-46cb-b6c3-a1c11b5b610c",
      "name": "Leo - 获取 imageId",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5340,
        420
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "79ac0c74-f712-4160-b13f-e3b83d77d837",
      "name": "Leo - 生成图像",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4940,
        420
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f44ad45a-f7f6-4c38-9e42-62924a4e6079",
      "name": "便签23",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f6d5972c-db53-415c-ab1a-cde4564b01e4",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7576dfa2-4071-4426-aab1-62dd3c6b23d4",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        800
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d931f4a1-db12-4b12-bd84-fad1ff3a264b",
      "name": "便签24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "62f45b66-2f8e-478a-b00b-345a4a4d4853",
      "name": "便签25",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2780,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "905f81cc-e94e-4376-a0c8-2fd14b1c5e69",
      "name": "便签26",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3180,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "92f4a528-670f-4dd6-a372-291e05cb0655",
      "name": "便签27",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2500,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "69504294-c26e-4e41-80f4-e963b6beb05e",
      "name": "便签28",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3580,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "65a8a201-9e7a-473a-8d93-8bf3e5b408f7",
      "name": "便签29",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4500,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2006c69d-20e3-4253-9d3d-347aff9600ec",
      "name": "聚合提示词",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        4940,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e42335f8-8bdc-4cd9-b080-86638a2dc924",
      "name": "Leo - 改进提示",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4740,
        420
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "fba39527-2d12-4194-8cc7-fad0220ebb49",
      "name": "下载图像",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4740,
        660
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c927c8e3-4133-4028-83e3-1e157e4eb7a0",
      "name": "便签30",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5600,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9005ec4b-c213-43cb-b215-cf162de2ae18",
      "name": "聚合",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        820,
        100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "379acc09-04cc-4d01-94d8-3583ed97ac07",
      "name": "获取关键词",
      "type": "n8n-nodes-base.airtable",
      "position": [
        620,
        300
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "c0ad6d24-dc6d-4e25-adf4-a4f949b5edf6",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1280,
        300
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "7dbc1d24-a678-4dde-83af-432d8591137b",
      "name": "如果",
      "type": "n8n-nodes-base.if",
      "position": [
        820,
        300
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "8907c3b0-ec16-44b5-a9eb-97058caeffba",
      "name": "获取品牌指南",
      "type": "n8n-nodes-base.airtable",
      "position": [
        620,
        100
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "09316169-9439-4314-8292-6032d69e6ac7",
      "name": "RankMath SEO 更新",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        3980,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1b247f2f-f104-40ee-8629-789a8c736613",
      "name": "提交 RankMath 信息",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4300,
        180
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9bc88677-6f02-40ac-816b-c2d2f94f8c96",
      "name": "更新状态",
      "type": "n8n-nodes-base.airtable",
      "position": [
        5640,
        920
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "5651c70f-2203-44bc-b2f8-0d5834caa62d",
      "name": "提交博客信息",
      "type": "n8n-nodes-base.slack",
      "position": [
        5640,
        520
      ],
      "webhookId": "3c1fd0b2-2c48-4941-b6b9-24fdf617a3d3",
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "4e80ef0f-09a0-4cd3-a78e-2dc52cb70886",
      "name": "便签31",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3940,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "793a24f4-6abc-453a-8cca-be8b978dc9d5",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1540,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cf99cafd-ca8b-4c2a-a54e-9f6a2baa4b5a",
      "name": "便签 10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "de94eda7-0d9b-48e1-be78-997f7e450952",
      "name": "Airtable 触发器",
      "type": "n8n-nodes-base.airtableTrigger",
      "disabled": true,
      "position": [
        340,
        920
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "43cb0b14-b477-4835-8a61-3854e250afd2",
      "name": "发布参数",
      "type": "n8n-nodes-base.set",
      "position": [
        1060,
        300
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "bc1bca79-9eea-4878-81e1-12c30de28c1c",
      "name": "HTTP 请求",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        2000,
        740
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "66d7ebbe-f5aa-4892-8bf5-8043c179e790",
      "name": "Anthropic 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        1820,
        -700
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "16a911aa-98a0-4eae-9857-cddd853b8777",
      "name": "计算器",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        1920,
        -580
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "02a243c7-0fdf-4427-9223-ba33cb161260",
      "name": "维基百科1",
      "type": "@n8n/n8n-nodes-langchain.toolWikipedia",
      "position": [
        2040,
        -520
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d3fe910b-17ed-4376-8999-5c64da5e30d0",
      "name": "HTTP请求1",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        2200,
        -580
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "03570768-2e5c-447c-8bb5-01f0f5cccb25",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3200,
        -1060
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "560d8906-9540-4cdd-a45a-10e6f111e50a",
      "name": "Anthropic聊天模型1",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        3140,
        -860
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "71c3246d-9de7-4cda-8a18-29ead6411d48",
      "name": "计算器1",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        3240,
        -780
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dac33768-0531-4724-b803-5b848e5ba839",
      "name": "维基百科2",
      "type": "@n8n/n8n-nodes-langchain.toolWikipedia",
      "position": [
        3360,
        -800
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ade7cf15-4cf2-4879-ac4e-153e257535d0",
      "name": "合并章节标题和文本1",
      "type": "n8n-nodes-base.merge",
      "position": [
        3780,
        -600
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "85a716ae-53b3-48b1-beef-6d804ea5f16d",
      "name": "最终文章文本1",
      "type": "n8n-nodes-base.code",
      "position": [
        3960,
        -900
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "516e9d7e-1c5b-4f8c-9c9e-da384df6c82d",
      "name": "发布到 WordPress1",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        4180,
        -900
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a450ae09-b045-4c65-9d95-4fab8baba98e",
      "name": "RankMath SEO 更新1",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        4460,
        -900
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "16d3b59f-8870-4695-b4d4-7cba675b5d11",
      "name": "提交 RankMath 信息1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4780,
        -900
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "777def34-ee1b-46f4-a2e6-bfa268604b3f",
      "name": "检查数据一致性1",
      "type": "n8n-nodes-base.if",
      "position": [
        2540,
        -880
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "26290338-cdb8-4e5b-8a45-7e896e8dfed8",
      "name": "多表:您可以连接多个表以实现有组织的数据结构",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2360,
        -660
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "c341fcf0-bfbc-4282-9ff3-457dc1f29dac",
      "name": "代码",
      "type": "n8n-nodes-base.code",
      "position": [
        2800,
        -880
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "08a5c88b-d4df-4fb6-b7b7-b765211eaab9",
      "name": "HTTP 请求2",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3500,
        -900
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d72778ca-c5e6-46d7-a672-050548230b1b",
      "name": "AI Agent - 创建文章标题和结构",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1980,
        -880
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "e780209f-4c41-45d0-b2c2-6b41cbb03395",
      "name": "上传媒体1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5560,
        -460
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "8c4d05b9-8e87-48e6-9648-9c55d31ce2ac",
      "name": "设置文章图片 ID1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5760,
        -460
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "b96a27ce-a36e-4c98-8594-25f8814154d1",
      "name": "提示设置1",
      "type": "n8n-nodes-base.set",
      "position": [
        5560,
        -900
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "8297f746-67f9-4513-b575-164767f750f3",
      "name": "等待1",
      "type": "n8n-nodes-base.wait",
      "position": [
        5760,
        -680
      ],
      "webhookId": "0e220542-aeae-461a-8625-e1d5ee8eb90f",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f3005290-2461-4823-8681-da787c95d8c1",
      "name": "P1 图片提示词1",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        5000,
        -900
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a70812a7-b990-455f-bae0-a3d0fe839142",
      "name": "Leo - 获取 imageId1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5960,
        -680
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "550e91eb-156c-4bfd-8624-77a908812574",
      "name": "Leo - 生成图像1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5560,
        -680
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "bd3ccf97-d7a3-4c38-a2ee-488aa9f528b2",
      "name": "聚合提示词1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        5360,
        -900
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "275ad739-f371-4c86-bf8c-04e89336c315",
      "name": "Leo - 改进提示1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5360,
        -680
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d0c6b40a-8dd0-4586-bab9-89830a79cbbd",
      "name": "下载图片1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5360,
        -460
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "2235404d-6697-4d3a-971f-3fd94b5dd04f",
      "name": "更新状态1",
      "type": "n8n-nodes-base.airtable",
      "position": [
        6220,
        -260
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "342d408d-3256-4111-a4d2-c3cdad55c70c",
      "name": "提交博客信息1",
      "type": "n8n-nodes-base.slack",
      "position": [
        6220,
        -460
      ],
      "webhookId": "3c1fd0b2-2c48-4941-b6b9-24fdf617a3d3",
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "35833426-1634-4701-9709-884cc6e8623b",
      "name": "更新状态2",
      "type": "n8n-nodes-base.airtable",
      "position": [
        5640,
        720
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "782c1a2b-a913-4ea7-9018-1874c0e082fa",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1780,
        -1380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5b91528c-88a9-48fb-b67a-7c81ea3f0feb",
      "name": "便签32",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4420,
        -1220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1fb8f151-3eed-4090-9943-d7abdffe27fe",
      "name": "便签33",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4960,
        -1220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e651fc29-f12a-48bd-bf26-909381d6226e",
      "name": "便签34",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6180,
        -1220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "687ec9b0-bc78-4b51-b56b-5f3e5d36977e",
      "name": "便签35",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4140,
        -1220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4026700c-389c-4a77-ad71-69d0a8a6acfd",
      "name": "便签36",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3740,
        -1220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8807a66f-fb2f-4ae5-b237-14db82a84973",
      "name": "便签37",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3020,
        -1220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "58172450-99e5-4be2-a7cc-86134f4e4daf",
      "name": "便签38",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2760,
        -1220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f11b1a32-14d4-45bf-98e7-25aec50d8e55",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2500,
        -1220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b46f0298-bc5a-468a-9947-e20d47fa453e",
      "name": "便签 16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1780,
        -1220
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "America/Los_Angeles",
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1"
  },
  "versionId": "159c308f-3d76-43c9-b381-5aa3628febe2",
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Post Parameters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code": {
      "main": [
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge chapters title and text1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Leo - Get imageId",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Leo - Get imageId1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Settings": {
      "main": [
        [
          {
            "node": "AI Agent - Create Post Title and Structure",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create post title and structure",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent1": {
      "main": [
        [
          {
            "node": "Merge chapters title and text1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "GET Keywords",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wikipedia": {
      "ai_tool": [
        [
          {
            "node": "Create post title and structure",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Calculator": {
      "ai_tool": [
        [
          {
            "node": "AI Agent - Create Post Title and Structure",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Wikipedia1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent - Create Post Title and Structure",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Wikipedia2": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Calculator1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "GET Keywords": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Create post title and structure",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Upload media": {
      "main": [
        [
          {
            "node": "Set image ID for the post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent - Create Post Title and Structure",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request2": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "UPDATE Status": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media1": {
      "main": [
        [
          {
            "node": "Set image ID for the post1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Image": {
      "main": [
        [
          {
            "node": "Upload media",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "POST Blog Info": {
      "main": [
        [
          {
            "node": "UPDATE Status2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "UPDATE Status2": {
      "main": [
        [
          {
            "node": "UPDATE Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Image1": {
      "main": [
        [
          {
            "node": "Upload media1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "P1 Image Prompt": {
      "main": [
        [
          {
            "node": "Aggregate Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "POST Blog Info1": {
      "main": [
        [
          {
            "node": "UPDATE Status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post Parameters": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prompt Settings": {
      "main": [
        [
          {
            "node": "Leo - Improve Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Prompt": {
      "main": [
        [
          {
            "node": "Prompt Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "P1 Image Prompt1": {
      "main": [
        [
          {
            "node": "Aggregate Prompt1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prompt Settings1": {
      "main": [
        [
          {
            "node": "Leo - Improve Prompt1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Prompt1": {
      "main": [
        [
          {
            "node": "Prompt Settings1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Leo - Get imageId": {
      "main": [
        [
          {
            "node": "Download Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post on Wordpress": {
      "main": [
        [
          {
            "node": "SEO Update for RankMath",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Final article text": {
      "main": [
        [
          {
            "node": "Post on Wordpress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Leo - Get imageId1": {
      "main": [
        [
          {
            "node": "Download Image1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "POST RankMath Info": {
      "main": [
        [
          {
            "node": "P1 Image Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post on Wordpress1": {
      "main": [
        [
          {
            "node": "SEO Update for RankMath1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split out chapters": {
      "main": [
        [
          {
            "node": "Merge chapters title and text",
            "type": "main",
            "index": 1
          },
          {
            "node": "Create chapters text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Final article text1": {
      "main": [
        [
          {
            "node": "Post on Wordpress1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "POST RankMath Info1": {
      "main": [
        [
          {
            "node": "P1 Image Prompt1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent - Create Post Title and Structure",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Create chapters text": {
      "main": [
        [
          {
            "node": "Merge chapters title and text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GET Brand Guidelines": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Leo - Generate Image": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Leo - Improve Prompt": {
      "main": [
        [
          {
            "node": "Leo - Generate Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Leo - Generate Image1": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Leo - Improve Prompt1": {
      "main": [
        [
          {
            "node": "Leo - Generate Image1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check data consistency": {
      "main": [
        [
          {
            "node": "Split out chapters",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Respond: Error",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create post title and structure",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check data consistency1": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SEO Update for RankMath": {
      "main": [
        [
          {
            "node": "POST RankMath Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SEO Update for RankMath1": {
      "main": [
        [
          {
            "node": "POST RankMath Info1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent - Create Post Title and Structure",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Set image ID for the post": {
      "main": [
        [
          {
            "node": "POST Blog Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set image ID for the post1": {
      "main": [
        [
          {
            "node": "POST Blog Info1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge chapters title and text": {
      "main": [
        [
          {
            "node": "Final article text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge chapters title and text1": {
      "main": [
        [
          {
            "node": "Final article text1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create post title and structure": {
      "main": [
        [
          {
            "node": "Check data consistency",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "GET Brand Guidelines",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent - Create Post Title and Structure": {
      "main": [
        [
          {
            "node": "Check data consistency1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 人工智能, 营销

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量102
分类2
节点类型24
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
Alex Kim

Alex Kim

@alexk1919

n8n Ambassador & Verified Partner

外部链接
在 n8n.io 查看

分享此工作流