8
n8n 中文网amn8n.com

博客闪电战:博主版

高级

这是一个AI, Marketing领域的自动化工作流,包含 19 个节点。主要使用 Set, Code, Telegram, HttpRequest, TelegramTrigger 等节点,结合人工智能技术实现智能自动化。 使用 OpenAI 和 DALL-E 生成 SEO 优化的博客文章并发布到 Blogger

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "eXhBHiSdeLyGHFzS",
  "meta": {
    "instanceId": "c2650793f644091dc80fb900fe63448ad1f4b774008de9608064d67294f8307c",
    "templateCredsSetupCompleted": true
  },
  "name": "博客闪电战:博主版",
  "tags": [],
  "nodes": [
    {
      "id": "0662e539-26b3-41ec-b8a9-d0660dec86cd",
      "name": "🖼️ 生成博客图片",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -460,
        620
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "84450a41-1377-42e5-a225-9cd96ecddbd1",
      "name": "☁️ 上传图片至Imgur",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        620
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "dccb695c-ad43-49ca-8038-4ced549890c4",
      "name": "🟢 开始:Telegram输入",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -820,
        -120
      ],
      "webhookId": "69c62591-71fe-4d8e-8039-ba3e8c12b676",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "a5b36c49-f986-4157-96ca-fe109ddcc601",
      "name": "📨 通知:标题已接收",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -600,
        -120
      ],
      "webhookId": "913313df-ba77-4d62-a6a7-f9ed9b00b216",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "ab40a618-b920-4a9b-bcd6-1f36ad68f9a1",
      "name": "🔑 获取Blogger个人资料",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -380,
        -120
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "11a280a5-9d8d-40e8-b6ec-b7c9b54c8ee3",
      "name": "🧠 生成博客元数据",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -160,
        -120
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1.6
    },
    {
      "id": "9b42b432-0e53-411d-bd79-a1996f60e5cc",
      "name": "📄 提取元数据结构",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        0,
        100
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "887e93de-0902-4ee8-a8b8-3be11d3d3f9e",
      "name": "🧠 AI模型:元数据生成器",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -160,
        100
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "25890b52-4833-4451-a9f8-bda9f476a38e",
      "name": "✍️ 撰写完整博客内容",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        220,
        -120
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1.6
    },
    {
      "id": "095d7031-cb99-459c-b070-dd7908bc3fd9",
      "name": "🧠 AI模型:文章写手",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        220,
        100
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "e1cabb9d-311f-4df9-ad2a-0803af1e201f",
      "name": "🔗 创建自定义博客文章URL",
      "type": "n8n-nodes-base.code",
      "position": [
        -680,
        620
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c987917d-c8d7-4780-a1b7-82fa571e0547",
      "name": "🧷 将图片嵌入HTML",
      "type": "n8n-nodes-base.set",
      "position": [
        -20,
        620
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9c4c580d-1447-4a5a-97ed-4928ed4fb1df",
      "name": "🚀 发布文章至Blogger",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        300,
        620
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "64f51b33-e518-472d-b849-505ccf69727a",
      "name": "📬 发送博客链接给用户",
      "type": "n8n-nodes-base.telegram",
      "position": [
        500,
        620
      ],
      "webhookId": "b50ba0b0-77ca-47ae-82ae-ac6d179c50f2",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7726e17f-c786-4974-854e-722bf7c50b53",
      "name": "便利贴",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1340,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1bd39260-ae6c-4703-a489-484762102487",
      "name": "便利贴1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        -420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b7805d48-9d95-41be-bdac-28c4cf4b9780",
      "name": "便利贴2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -520,
        260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "759a7e5f-1b5e-4ec6-8d20-aca26d660b10",
      "name": "便利贴3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6208b35b-7721-4bf9-a49d-cfaf65d68344",
      "name": "便利贴4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -920,
        -420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "05f9cbde-9689-4207-9501-f3d2cfb6d958",
  "connections": {
    "🔑 Get Blogger Profile": {
      "main": [
        [
          {
            "node": "\t🧠 Generate Blog Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧷 Embed Image in HTML": {
      "main": [
        [
          {
            "node": "\t🚀 Publish Article to Blogger",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t🟢 Start: Telegram Input": {
      "main": [
        [
          {
            "node": "\t📨 Notify: Title Received",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🖼️ Generate Blog Image": {
      "main": [
        [
          {
            "node": "☁️ Upload Image to Imgur",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t📨 Notify: Title Received": {
      "main": [
        [
          {
            "node": "🔑 Get Blogger Profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t🧠 Generate Blog Metadata": {
      "main": [
        [
          {
            "node": "\t✍️ Write Full Blog Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "☁️ Upload Image to Imgur": {
      "main": [
        [
          {
            "node": "🧷 Embed Image in HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧠 AI Model: Article Writer": {
      "ai_languageModel": [
        [
          {
            "node": "\t✍️ Write Full Blog Content",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "\t✍️ Write Full Blog Content": {
      "main": [
        [
          {
            "node": "🔗 Create Custom Blog Post URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\t📄 Extract Metadata Structure": {
      "ai_outputParser": [
        [
          {
            "node": "\t🧠 Generate Blog Metadata",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "\t🚀 Publish Article to Blogger": {
      "main": [
        [
          {
            "node": "\t📬 Send Blog Link to User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔗 Create Custom Blog Post URL": {
      "main": [
        [
          {
            "node": "🖼️ Generate Blog Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧠 AI Model: Metadata Generator": {
      "ai_languageModel": [
        [
          {
            "node": "\t🧠 Generate Blog Metadata",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 人工智能, 营销

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流