自动帖子生成
高级
这是一个Design, AI, Marketing领域的自动化工作流,包含 21 个节点。主要使用 LinkedIn, EmailSend, FormTrigger, HttpRequest, ConvertToFile 等节点,结合人工智能技术实现智能自动化。 使用Ollama、图像创建和Gmail交付生成AI驱动的LinkedIn帖子
前置要求
- •LinkedIn API 凭证
- •可能需要目标 API 的认证凭证
使用的节点 (21)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "Bh88SWMuqHN92zEA",
"meta": {
"instanceId": "473ff4054f1a6c3ed6f17a2b4a2e55676fe5b921cceb87b2256e6c416c158559",
"templateCredsSetupCompleted": true
},
"name": "自动帖子生成",
"tags": [],
"nodes": [
{
"id": "590b9032-e9bf-431f-b506-9f3d01d2da00",
"name": "LinkedIn 帖子代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1300,
-140
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "496f60a7-4d0b-43e9-a7f6-e535c4dd7ff6",
"name": "图像提示代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1740,
-140
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "80f421bf-bb49-413b-820b-cbadbe62f6d9",
"name": "表单提交时",
"type": "n8n-nodes-base.formTrigger",
"position": [
1020,
-140
],
"webhookId": "359fa996-5531-40ae-be37-4a6e136952e2",
"parameters": {},
"typeVersion": 2.2
},
{
"id": "ee27bf52-811a-46ee-9eb2-7c2d350b57d7",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
1240,
-240
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "d79ef703-2aee-4273-a7e6-63aaa83a0888",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
2100,
-240
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "7045e571-590a-4a1e-b37a-49e258e4b319",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
2580,
-240
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "6b10e9be-9bba-4869-b0c6-27177bb12a78",
"name": "便签说明4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1640,
-240
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "52869b63-cba1-49e1-a2d9-b80c4d2d7609",
"name": "便签说明5",
"type": "n8n-nodes-base.stickyNote",
"position": [
940,
-240
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "6f2305a9-9644-45e6-b49c-81d2a9d10acf",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1240,
40
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "5fa51108-32bb-45bf-9780-d628443190e1",
"name": "便签 6",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
-240
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "22f7dbdd-cebb-404e-b8ad-93a5026d17c6",
"name": "当点击\"测试工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
1040,
500
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f39bf200-9bf0-44f6-b4a1-e1b17411ba52",
"name": "转换为文件",
"type": "n8n-nodes-base.convertToFile",
"position": [
1480,
500
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "f918e7c3-9132-4fb2-98c5-e3207e150bda",
"name": "生成图像1",
"type": "n8n-nodes-base.httpRequest",
"position": [
1260,
500
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "b58177e4-0e2d-41eb-a84e-8ae50f43bfd4",
"name": "便签 7",
"type": "n8n-nodes-base.stickyNote",
"position": [
940,
360
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "42e54350-0f18-4ea9-a97c-f6250392c8e4",
"name": "Tavily",
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"position": [
1460,
140
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "413ee3a8-2592-4170-805c-78ea9bcf8d20",
"name": "Ollama聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"position": [
1300,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "05fa8332-48ca-412d-aac5-cf4b1be56ee3",
"name": "Ollama聊天模型1",
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"position": [
1780,
160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ae39b076-3801-436a-ba34-5b0bc209165e",
"name": "生成图像2",
"type": "n8n-nodes-base.httpRequest",
"position": [
2180,
-160
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "e4e1ba34-5678-4098-b168-c2fd6949364d",
"name": "下载图片",
"type": "n8n-nodes-base.httpRequest",
"position": [
2380,
-160
],
"parameters": {},
"typeVersion": 4
},
{
"id": "2078044a-3a4a-42c1-9d68-12c040a72837",
"name": "发送电子邮件",
"type": "n8n-nodes-base.emailSend",
"position": [
2600,
-160
],
"webhookId": "9dfa5b80-9882-4015-a9e0-cb20af35bfaf",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "5d3dc9d4-62c9-4711-9c08-df2d56c0da09",
"name": "LinkedIn",
"type": "n8n-nodes-base.linkedIn",
"position": [
2820,
-160
],
"parameters": {},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "d6945ea0-837b-40c7-b31c-af44685d4a8c",
"connections": {
"Tavily": {
"ai_tool": [
[
{
"node": "LinkedIn Post Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Send Email": {
"main": [
[
{
"node": "LinkedIn",
"type": "main",
"index": 0
}
]
]
},
"Download Image": {
"main": [
[
{
"node": "Send Email",
"type": "main",
"index": 0
}
]
]
},
"Generate Image1": {
"main": [
[
{
"node": "Convert to File",
"type": "main",
"index": 0
}
]
]
},
"Generate Image2": {
"main": [
[
{
"node": "Download Image",
"type": "main",
"index": 0
}
]
]
},
"Ollama Chat Model": {
"ai_languageModel": [
[
{
"node": "LinkedIn Post Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Image Prompt Agent": {
"main": [
[
{
"node": "Generate Image2",
"type": "main",
"index": 0
}
]
]
},
"Ollama Chat Model1": {
"ai_languageModel": [
[
{
"node": "Image Prompt Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "LinkedIn Post Agent",
"type": "main",
"index": 0
}
]
]
},
"LinkedIn Post Agent": {
"main": [
[
{
"node": "Image Prompt Agent",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "Generate Image1",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 设计, 人工智能, 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用OpenAI和RunwayML将产品照片转换为360°视频
使用 OpenAI 和 RunwayML 将产品照片转换为 360° 视频
Wait
Switch
Email Send
+7
26 节点Aayushman Sharma
设计
终极 Instagram 自动化工作流 [GPT 图像] 公开版
使用 GPT-Image 实现高质量图像和文本的终极 Instagram 自动化
Set
Wait
Switch
+11
46 节点Tianyi
设计
AI驱动的校园招聘面试准备系统
基于AI的面试准备系统,使用本地LLM为校园招聘服务
Code
Merge
Email Send
+8
21 节点Aashit Sharma
其他
WordPress 内容生成器 v3
WordPress 内容生成器 v3
If
Set
Code
+21
102 节点Alex Kim
人工智能
(Duc)深度研究市场模板
集成PerplexityAI研究和OpenAI内容的多层级WordPress博客生成器
If
Set
Xml
+28
132 节点Daniel Ng
人工智能
🤖 汽车服务 AI 内容生成 🚘 自动化您的社交媒体📲!
🤖 汽车服务 AI 内容生成 🚘 自动化您的社交媒体📲!
Twitter
Linked In
Split Out
+21
50 节点N8ner
人工智能