WordPress + 社交媒体
高级
这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 44 个节点。主要使用 If, Set, Switch, Discord, Twitter 等节点。 基于GPT/Gemini和WordPress的自动化博客创建与多平台发布
前置要求
- •Discord Bot Token 或 Webhook
- •Twitter API 凭证
- •LinkedIn API 凭证
- •可能需要目标 API 的认证凭证
- •Telegram Bot Token
- •OpenAI API Key
- •Google Gemini API Key
使用的节点 (44)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "aO095jVyEO9xGJEz",
"meta": {
"instanceId": "c2650793f644091dc80fb900fe63448ad1f4b774008de9608064d67294f8307c",
"templateCredsSetupCompleted": true
},
"name": "WordPress + 社交媒体",
"tags": [],
"nodes": [
{
"id": "4273445f-189d-4548-b6ec-942afa0fc80a",
"name": "主题选择与标题生成器",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-400,
-240
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "39d300a1-6d73-4815-b347-54dbf9db899f",
"name": "Telegram 触发器",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-848,
-336
],
"webhookId": "b211bd9f-8eee-4882-b960-14b6499fee30",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "1ba25457-3b37-402f-b3ba-a7c7099ead22",
"name": "🧠 概览 - 本工作流功能说明",
"type": "n8n-nodes-base.stickyNote",
"position": [
-848,
-640
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f7bfe82c-212e-47ca-bc81-d9a63bb20986",
"name": "检查来自 Telegram 的命令",
"type": "n8n-nodes-base.if",
"position": [
-624,
-336
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "6fbe107d-2210-4e5a-ad56-33246b72a470",
"name": "定时自动触发器(每3小时)",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-848,
-128
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "7958a294-d0bf-41e9-87ca-6c760921ba3a",
"name": "文章生成器(备用)",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
144,
-16
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "96d58aab-3bcd-45cf-8410-c12a81503b69",
"name": "文章生成器(备用2)",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
304,
-16
],
"parameters": {},
"typeVersion": 1
},
{
"id": "549ac053-87f3-4358-aa42-edb60443ef27",
"name": "生成文章正文",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-16,
-240
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "a8b4fdd5-9173-4636-bf2d-fd8ac3d86cce",
"name": "解析博客元数据 JSON",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-208,
-16
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "7d0bab8f-d381-439a-879a-d09f970d0aef",
"name": "置顶 - AI 优化器",
"type": "n8n-nodes-base.stickyNote",
"position": [
1440,
-416
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f2e5cefb-10c3-4934-9a91-cafa91d51ce5",
"name": "置顶 - OpenRouter",
"type": "n8n-nodes-base.stickyNote",
"position": [
1312,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "30504b60-4fa2-4a5b-a377-39f677e2ed90",
"name": "置顶 - 解析器",
"type": "n8n-nodes-base.stickyNote",
"position": [
1600,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "7ca099c8-bfa1-4fa3-9fa4-395159c6f432",
"name": "置顶 - 分割器",
"type": "n8n-nodes-base.stickyNote",
"position": [
1824,
-416
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "eb1f075a-4db3-429d-bed0-d23eaf12ca62",
"name": "置顶 - 切换器",
"type": "n8n-nodes-base.stickyNote",
"position": [
2080,
-416
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "5c118eb2-b325-4bef-b872-73642ad8eb19",
"name": "生成内容",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
1456,
-64
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e53506f3-bcdb-4f8f-9603-ed24dc871314",
"name": "输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1632,
-64
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "19712f9f-12df-4a5b-ba1b-146034680287",
"name": "分割平台内容",
"type": "n8n-nodes-base.splitOut",
"position": [
1824,
-240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e6f40a51-9c6b-409c-80c6-1a27bf9e920a",
"name": "路由到平台",
"type": "n8n-nodes-base.switch",
"position": [
2080,
-256
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "60437cbc-3c69-45f1-a866-7b18e68d048d",
"name": "发布到 X",
"type": "n8n-nodes-base.twitter",
"position": [
2464,
-464
],
"parameters": {},
"typeVersion": 2
},
{
"id": "3d712d67-f85e-4c9d-a807-fa50be9ad239",
"name": "发布到 LinkedIn",
"type": "n8n-nodes-base.linkedIn",
"position": [
2464,
-240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "eb102a63-988d-4c94-b8ab-69522853e3a1",
"name": "发布到 Discord",
"type": "n8n-nodes-base.discord",
"position": [
2464,
-16
],
"webhookId": "6c77e316-0d8d-4311-8d3f-ad58ebc581fe",
"parameters": {},
"typeVersion": 2
},
{
"id": "1236db9e-3a0a-48ac-996b-4feabd0599fc",
"name": "AI 内容优化器",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1440,
-240
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "51feb1d6-04b3-40cf-a89a-cfef5d852763",
"name": "如果",
"type": "n8n-nodes-base.if",
"position": [
1232,
-240
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "626d5719-4500-4c66-bdd5-295f360a3e08",
"name": "创建 WordPress 草稿文章",
"type": "n8n-nodes-base.wordpress",
"position": [
368,
-240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "66bde343-e0d3-4f08-9730-18fd0446d0f3",
"name": "为文章添加特色图片",
"type": "n8n-nodes-base.httpRequest",
"position": [
960,
-240
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "a2468417-6b96-4e3d-abff-d07987e19299",
"name": "上传图片到 Wordpress",
"type": "n8n-nodes-base.httpRequest",
"position": [
768,
-240
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "a7442e39-777a-4d23-aff9-60ac94cb5e4e",
"name": "生成特色图片 (OpenAI)",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
560,
-240
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "3134cd90-48d4-415c-8b3c-16aeea13cbfe",
"name": "🧠 概览 - 本工作流功能说明1",
"type": "n8n-nodes-base.stickyNote",
"position": [
352,
-496
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "db459cc7-df44-4ecb-aee4-5d0eea318fee",
"name": "生成文本容器",
"type": "n8n-nodes-base.httpRequest",
"position": [
2480,
224
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "23f9bb7f-590d-4d95-b13e-a58d1ace37f5",
"name": "编辑字段",
"type": "n8n-nodes-base.set",
"position": [
2480,
448
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "5a160d35-d2cb-4096-b6aa-1cdbfe548416",
"name": "获取访问令牌",
"type": "n8n-nodes-base.httpRequest",
"position": [
2704,
448
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "f3618e92-b6e0-4abc-bc08-4f39ee19c46a",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-416,
-16
],
"parameters": {},
"typeVersion": 1
},
{
"id": "198a0921-371c-4884-80d5-57b6e61571f5",
"name": "Azure OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
"position": [
-16,
-16
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9acd1e09-bf92-4929-8ccf-40239b18c2aa",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-528,
272
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ecce963f-493c-495c-be4c-1c5848bbf279",
"name": "开始",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-144,
432
],
"parameters": {},
"typeVersion": 1
},
{
"id": "86c614ec-05c7-49f3-be72-f9b465719226",
"name": "获取分类",
"type": "n8n-nodes-base.httpRequest",
"position": [
48,
432
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "f1555daa-04ae-45b1-91f8-cf13c3bf5d72",
"name": "Aggregate",
"type": "n8n-nodes-base.aggregate",
"position": [
240,
432
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7d8dff25-e0aa-4568-976e-0240de65b289",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
416,
592
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a0d168e7-3faa-4b2b-aefa-0fedc3dc26cb",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-496,
352
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e1a38d8e-0975-4bd9-b0b2-006b0f31b0a7",
"name": "分类映射",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
416,
432
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "cf145d54-621f-43b9-938c-1365bbfe4c7c",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-528,
-80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "87e89e6f-adc4-48c9-a3c9-5226bc5130cd",
"name": "发布到 Threads",
"type": "n8n-nodes-base.httpRequest",
"position": [
2688,
224
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "11ba60d1-36e1-423c-a97d-11ec4d7f19ad",
"name": "发布到 Bluesky",
"type": "n8n-nodes-base.httpRequest",
"position": [
2960,
448
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "5dde0929-03ae-42dd-a1b4-00f553ed2605",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
832,
272
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "524eeb96-0186-4885-bcd5-df0f55f82666",
"connections": {
"If": {
"main": [
[
{
"node": "AI Content Optimizer",
"type": "main",
"index": 0
}
]
]
},
"Start": {
"main": [
[
{
"node": "Get Category",
"type": "main",
"index": 0
}
]
]
},
"Aggregate": {
"main": [
[
{
"node": "Category Mapping",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Get Access Token",
"type": "main",
"index": 0
}
]
]
},
"Get Category": {
"main": [
[
{
"node": "Aggregate",
"type": "main",
"index": 0
}
]
]
},
"Output Parser": {
"ai_outputParser": [
[
{
"node": "AI Content Optimizer",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Post to Bluesky": {
"main": [
[]
]
},
"Generate Content": {
"ai_languageModel": [
[
{
"node": "AI Content Optimizer",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Get Access Token": {
"main": [
[
{
"node": "Post to Bluesky",
"type": "main",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "Check command from telegram",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Category Mapping",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Route to Platform": {
"main": [
[
{
"node": "Post to X",
"type": "main",
"index": 0
}
],
[
{
"node": "Post to Discord",
"type": "main",
"index": 0
}
],
[
{
"node": "Post to LinkedIn",
"type": "main",
"index": 0
}
],
[
{
"node": "Post to LinkedIn",
"type": "main",
"index": 0
}
],
[
{
"node": "Generate text container",
"type": "main",
"index": 0
},
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"AI Content Optimizer": {
"main": [
[
{
"node": "Split Platform Content",
"type": "main",
"index": 0
}
]
]
},
"Create WP Draft Post": {
"main": [
[
{
"node": "Generate Featured Image (OpenAI)",
"type": "main",
"index": 0
}
]
]
},
"Generate Article Body": {
"main": [
[
{
"node": "Create WP Draft Post",
"type": "main",
"index": 0
}
]
]
},
"Split Platform Content": {
"main": [
[
{
"node": "Route to Platform",
"type": "main",
"index": 0
}
]
]
},
"Article Generator (alt)": {
"ai_languageModel": [
[
{
"node": "Generate Article Body",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Azure OpenAI Chat Model": {
"ai_languageModel": [
[]
]
},
"Generate text container": {
"main": [
[
{
"node": "Post to Threads",
"type": "main",
"index": 0
}
]
]
},
"Article Generator (alt2)": {
"ai_languageModel": [
[]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "Topic Chooser and Title Maker",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Parse Blog Metadata JSON": {
"ai_outputParser": [
[
{
"node": "Topic Chooser and Title Maker",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Upload Image to Wordpress": {
"main": [
[
{
"node": "Attach Feature Image to Post",
"type": "main",
"index": 0
}
]
]
},
"Check command from telegram": {
"main": [
[
{
"node": "Topic Chooser and Title Maker",
"type": "main",
"index": 0
}
]
]
},
"Attach Feature Image to Post": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Topic Chooser and Title Maker": {
"main": [
[
{
"node": "Generate Article Body",
"type": "main",
"index": 0
}
]
]
},
"Generate Featured Image (OpenAI)": {
"main": [
[
{
"node": "Upload Image to Wordpress",
"type": "main",
"index": 0
}
]
]
},
"Scheduled Auto Trigger (Every 3 Hours)1": {
"main": [
[
{
"node": "Topic Chooser and Title Maker",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 内容创作, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
LinkedIn和X病毒内容自动引擎
使用AI生成和发布自动创建LinkedIn和X的病毒内容
If
Set
Wait
+26
156 节点Diptamoy Barman
内容创作
内容生成器 v3
AI驱动博客自动化:使用GPT-4生成并发布SEO文章至WordPress和Twitter
If
Set
Code
+25
144 节点Jay Emp0
内容创作
使用OpenAI和WordPress自动化SEO博客文章创建与发布
使用OpenAI和WordPress自动化SEO博客文章创建与发布
If
Set
Code
+11
22 节点Khaisa Studio
内容创作
SEO 友好 - WordPress 文章生成器
生成并发布 SEO 优化的博客文章到 WordPress
If
Discord
Telegram
+11
18 节点Khairul Muhtadin
人工智能
使用GPT-5和fal.ai图像从关键词到WordPress自动化SEO博客流程
使用GPT-5和fal.ai图像从关键词到WordPress自动化SEO博客流程
Set
Code
Wait
+20
96 节点Paul
内容创作
WordPress博客自动化专业版(深度研究)v2.1市场
使用GPT-4o、Perplexity AI和多语言支持自动化SEO优化的博客创建
If
Set
Xml
+27
125 节点Daniel Ng
内容创作