使用Claude Opus 4从自然语言生成完整工作流
高级
这是一个Engineering, AI Chatbot领域的自动化工作流,包含 17 个节点。主要使用 N8n, Set, GoogleDrive, Agent, ExtractFromFile 等节点。 使用Claude Opus 4从自然语言生成完整工作流
前置要求
- •Google Drive API 凭证
- •OpenAI API Key
- •Anthropic API Key
使用的节点 (17)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "c06b75187a3df8fc1f7d0dca41a1070761a5c8ab93bdb0bd30143dfe764a0663"
},
"nodes": [
{
"id": "57337b7a-370c-4ee9-b91e-bd43c6362393",
"name": "当收到聊天消息时",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
840,
100
],
"webhookId": "d832bc01-555e-4a24-a8cc-31db8fc1c816",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "3b2c015e-d32b-482a-9d86-fa8c6be485df",
"name": "Claude Opus 4",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"position": [
1280,
740
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "f7d4ff33-7666-41cf-ac4a-6dc2cbac5745",
"name": "从文件提取",
"type": "n8n-nodes-base.extractFromFile",
"position": [
1160,
620
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2405ced4-67ca-48c5-927f-ceee215cc526",
"name": "n8n",
"type": "n8n-nodes-base.n8n",
"position": [
1640,
620
],
"parameters": {},
"typeVersion": 1
},
{
"id": "08d3c426-7d8d-4b65-981c-18c3dae980c0",
"name": "工作流链接",
"type": "n8n-nodes-base.set",
"position": [
1800,
620
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "89617e9d-710d-4b93-a51a-891442f5bc46",
"name": "获取 n8n 文档",
"type": "n8n-nodes-base.googleDrive",
"position": [
1000,
620
],
"parameters": {},
"typeVersion": 3
},
{
"id": "ea7b0ae4-ee60-4ae1-8b2a-cb168ab9faff",
"name": "n8n 构建器",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1320,
620
],
"parameters": {},
"typeVersion": 2
},
{
"id": "763b64a5-be74-4395-902d-28d7369154cd",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
740,
520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "692fbd8d-9bae-483f-969f-cb8fee79aec9",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
740,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0797e95f-0b43-48d1-913f-cd6e02a46918",
"name": "当被其他工作流执行时",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
820,
620
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "2cd7079a-a515-4207-973b-878ded7e6e5a",
"name": "n8n 开发者",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1000,
100
],
"parameters": {},
"typeVersion": 2
},
{
"id": "a8cff024-d2e6-4d4a-87c3-dd5efccca141",
"name": "开发者工具",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
1200,
360
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "6e206a6c-290b-4fae-881b-4daf4940facc",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
740,
300
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "63d59d53-dc02-4139-931d-acb53eee309f",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1080,
300
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e1ccfe12-5a2b-4d9a-a482-1c1f481a345d",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
940,
360
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "32e7bba3-5432-4c56-8131-15c934267f9e",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b8e6b81d-ca6f-48ab-bb0c-53fc98a1ac44",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
800,
360
],
"parameters": {},
"typeVersion": 1.2
}
],
"pinData": {},
"connections": {
"n8n": {
"main": [
[
{
"node": "Workflow Link",
"type": "main",
"index": 0
}
]
]
},
"n8n Builder": {
"main": [
[
{
"node": "n8n",
"type": "main",
"index": 0
}
]
]
},
"Get n8n Docs": {
"main": [
[
{
"node": "Extract from File",
"type": "main",
"index": 0
}
]
]
},
"Claude Opus 4": {
"ai_languageModel": [
[
{
"node": "n8n Builder",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "n8n Developer",
"type": "ai_memory",
"index": 0
}
]
]
},
"Developer Tool": {
"ai_tool": [
[
{
"node": "n8n Developer",
"type": "ai_tool",
"index": 0
}
]
]
},
"Extract from File": {
"main": [
[
{
"node": "n8n Builder",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "n8n Developer",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "n8n Developer",
"type": "main",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Get n8n Docs",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 工程, AI 聊天机器人
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
高级多代理AI个人助手(250+任务能力,WhatsApp + GPT)
高级多代理AI个人助手(250+任务能力,WhatsApp + GPT)
Set
Switch
Whats App
+26
213 节点Electrabot
个人效率
社交媒体工厂
基于AI的社交媒体内容创建器,支持多平台发布与审批
If
Set
Gmail
+15
48 节点Taiki
社交媒体
我的工作流
通过GPT-4、Google文档和Mermaid图表自动化个性化Upwork提案
Set
Google Docs
Google Drive
+8
23 节点Nick Saraev
客户培育
使用 Redis 和 Anthropic 在 Go High Level 中自动化 WhatsApp 回复
使用 Go High Level、Redis 和 Anthropic 自动化 WhatsApp 回复
If
Set
Code
+15
31 节点Jorge Martínez
AI 聊天机器人
商业AI指挥中心:Google Workspace模块化代理、向量搜索与多渠道报告
商业AI指挥中心:Google Workspace模块化代理、向量搜索与多渠道报告
Set
Gmail
Slack
+35
80 节点Paul
文档提取
我的工作流
OpenAI模型模板:GPT-4和DALL-E服务概览
Set
Switch
Google Drive
+11
40 节点Nick Saraev
内容创作
工作流信息
难度等级
高级
节点数量17
分类2
节点类型12
作者
Electrabot
@vansh404AI Automation Agency Based In Canada Reach out to me if you need any help -https://www.linkedin.com/in/vansharoraa/
外部链接
在 n8n.io 查看 →
分享此工作流