8
n8n 中文网amn8n.com

博客闪电战Runware

高级

这是一个AI, Marketing领域的自动化工作流,包含 23 个节点。主要使用 Discord, Telegram, Wordpress, HttpRequest, ScheduleTrigger 等节点,结合人工智能技术实现智能自动化。 使用OpenRouter和Runware自动生成并发布SEO博客文章到WordPress

前置要求
  • Discord Bot Token 或 Webhook
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "yaqBVBEsbUkN7SOe",
  "meta": {
    "instanceId": "c2650793f644091dc80fb900fe63448ad1f4b774008de9608064d67294f8307c",
    "templateCredsSetupCompleted": true
  },
  "name": "博客闪电战 Runware",
  "tags": [],
  "nodes": [
    {
      "id": "b6f151e8-c229-46a8-be1a-c68feecd70d1",
      "name": "⚙️ 设置指南",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        -620
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7e056e5c-6c11-4212-a30f-a292281725ad",
      "name": "🧠 概述 - 此工作流的功能",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -620
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c0ef1fcc-b8de-45c2-b3d3-d677a5610cef",
      "name": "🔖 生成博客元数据",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        220,
        -320
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1.6
    },
    {
      "id": "46c21efd-5c21-4fd9-93b5-cd017db7b885",
      "name": "✍️ 撰写 SEO 文章内容",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        540,
        -320
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1.6
    },
    {
      "id": "6e5919b0-ec0f-4156-ad5e-8e0df97e1582",
      "name": "📝 创建 WordPress 草稿帖子",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        1020,
        -320
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a3cd0186-6744-4ec2-9a25-e50748acc44b",
      "name": "🔍 设置 Yoast SEO 元数据",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1220,
        -320
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "dada1daa-0887-499c-b566-1d5b4d1eb224",
      "name": "🖼️ 生成特色图片(Runware)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1400,
        -320
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "a6a2b5c5-7d7f-45ff-9ffb-081f9935b239",
      "name": "📥 获取生成的图片",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1600,
        -320
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4d590a12-eb5a-4379-88bc-2cdde10e97ff",
      "name": "📤 上传图片到 WordPress 媒体库",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1800,
        -320
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c51f1ef5-b2a0-472c-9ba4-45ddc4e30d1b",
      "name": "📎 将图片附加到帖子",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2000,
        -320
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "17ac98df-ea82-44ee-80ab-e028bd0545b7",
      "name": "📣 发送通知到 Discord",
      "type": "n8n-nodes-base.discord",
      "disabled": true,
      "position": [
        2280,
        -460
      ],
      "webhookId": "9434d852-e7d0-4950-9519-a467008d5e95",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "a1bc402f-286a-4e2d-82fe-4753be6804a0",
      "name": "📨 发送通知到 Telegram",
      "type": "n8n-nodes-base.telegram",
      "disabled": true,
      "position": [
        2280,
        -140
      ],
      "webhookId": "232a1035-6a46-4b14-831e-cf26be29ab54",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "06fcd4a1-fb87-4400-b3e8-da21b1335127",
      "name": "🔎 解析博客元数据输出",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        380,
        -160
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "63ecdbeb-39b3-41a0-aca6-c99768baaea4",
      "name": "🧠 文章撰写器(LLaMA)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        540,
        -160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ef8c164e-dbf8-40c6-9e5c-c88a5676a971",
      "name": "🧠 文章撰写器(Gemini)",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "disabled": true,
      "position": [
        820,
        -160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "de1c62e6-19d1-4872-ad53-365d84c95fad",
      "name": "🧠 文章撰写器(GPT-4 mini)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "disabled": true,
      "position": [
        680,
        -160
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "f79163f3-c0df-488d-a62e-4f4db05edd00",
      "name": "🔖 元数据生成器(Nemotron)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        220,
        -160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "60a575d3-5773-4e42-94a2-562cdbfaaa61",
      "name": "⏱️ 自动触发器(每 3 小时)",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        -320
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "6a47983d-d835-4d79-ba08-13cdb467899e",
      "name": "⚙️ 设置指南1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        -620
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4a695f06-6ef6-4dec-b0b6-a4c8ba7f736b",
      "name": "⚙️ 设置指南2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1600,
        -740
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2ec30db9-c6d4-4308-8a91-4b81b8e4968a",
      "name": "⚙️ 设置指南3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e9d16a5b-c73a-4d06-a2f2-ec8b684ee0fb",
      "name": "⚙️ 设置指南4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1820,
        -120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0c429f7e-94a3-4cf7-942b-0a3c22c5c902",
      "name": "⚙️ 设置指南5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1220,
        -120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "e7477ab4-29a0-4a80-bb9b-eef7e9ad7939",
  "connections": {
    "\t📎 Attach Image to Post": {
      "main": [
        [
          {
            "node": "\t📣 Send Notification to Discord",
            "type": "main",
            "index": 0
          },
          {
            "node": "\t📨 Send Notification to Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t📥 Fetch Generated Image": {
      "main": [
        [
          {
            "node": "\t📤 Upload Image to WordPress Media",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t🔍 Set Yoast SEO Metadata": {
      "main": [
        [
          {
            "node": "\t🖼️ Generate Featured Image (Runware)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t🔖 Generate Blog Metadata": {
      "main": [
        [
          {
            "node": "\t✍️ Compose SEO Article Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t🧠 Article Writer (LLaMA)": {
      "ai_languageModel": [
        [
          {
            "node": "\t✍️ Compose SEO Article Content",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "\t🧠 Article Writer (Gemini)": {
      "ai_languageModel": [
        []
      ]
    },
    "\t🔎 Parse Blog Metadata Output": {
      "ai_outputParser": [
        [
          {
            "node": "\t🔖 Generate Blog Metadata",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "\t📝 Create WordPress Draft Post": {
      "main": [
        [
          {
            "node": "\t🔍 Set Yoast SEO Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t📣 Send Notification to Discord": {
      "main": [
        []
      ]
    },
    "\t✍️ Compose SEO Article Content": {
      "main": [
        [
          {
            "node": "\t📝 Create WordPress Draft Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t📨 Send Notification to Telegram": {
      "main": [
        []
      ]
    },
    "\t🔖 Metadata Generator (Nemotron)": {
      "ai_languageModel": [
        [
          {
            "node": "\t🔖 Generate Blog Metadata",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "\t⏱️ Auto Trigger (Every 3 Hours)": {
      "main": [
        [
          {
            "node": "\t🔖 Generate Blog Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t📤 Upload Image to WordPress Media": {
      "main": [
        [
          {
            "node": "\t📎 Attach Image to Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t🖼️ Generate Featured Image (Runware)": {
      "main": [
        [
          {
            "node": "\t📥 Fetch Generated Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 人工智能, 营销

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流