WhatsApp自动化修复
高级
这是一个Support, AI领域的自动化工作流,包含 22 个节点。主要使用 If, Set, Gmail, WhatsApp, Agent 等节点,结合人工智能技术实现智能自动化。 WhatsApp AI客服机器人,使用GPT-4o-mini和Gmail提醒
前置要求
- •Google 账号和 Gmail API 凭证
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "eLe4P1EPCbnvZP1w",
"meta": {
"instanceId": "ab1720870fab17b6404efbb01504e7256f1d0cefdf84b7d41d963a944f625347",
"templateCredsSetupCompleted": true
},
"name": "WhatsApp 自动化修复",
"tags": [],
"nodes": [
{
"id": "976144b1-2f68-46b8-b384-18444d312c8c",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1800,
160
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "2f2ff112-50b7-4cbd-977c-a300b1f2927a",
"name": "输入提交",
"type": "n8n-nodes-base.whatsAppTrigger",
"position": [
900,
180
],
"webhookId": "ac2714e9-391b-4985-8dcd-f1278055c630",
"parameters": {},
"typeVersion": 1
},
{
"id": "2aacbbb7-d5f5-4ac2-8cb4-53871281b006",
"name": "路标",
"type": "n8n-nodes-base.if",
"position": [
1180,
180
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "f657ff33-d305-48fa-8918-402e47dfc313",
"name": "是文本消息吗?",
"type": "n8n-nodes-base.if",
"position": [
1500,
440
],
"parameters": {},
"typeVersion": 2
},
{
"id": "117363c3-d1d7-4b28-99c7-9d82907883ea",
"name": "备用文本",
"type": "n8n-nodes-base.whatsApp",
"position": [
1480,
760
],
"webhookId": "757c31b2-f5bd-4bf6-9ac0-c70b556083c7",
"parameters": {},
"typeVersion": 1
},
{
"id": "f9e14861-22e1-48cb-98a7-57c72dd3387e",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1760,
560
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "ac72ac2b-c677-436a-a859-49ff82ad7704",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
1980,
560
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "cf3d77d2-65a5-43ca-970e-c7ca185d7472",
"name": "无操作,不执行任何操作",
"type": "n8n-nodes-base.noOp",
"position": [
2560,
760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4bf7b083-f5de-4b4d-b5e7-e279c119d2fb",
"name": "Gmail 输出设置",
"type": "n8n-nodes-base.set",
"position": [
2580,
160
],
"parameters": {},
"typeVersion": 2
},
{
"id": "0730da65-1887-41a7-94bf-93afd8e1beeb",
"name": "发送 Gmail 通知",
"type": "n8n-nodes-base.gmail",
"position": [
2240,
760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "17d106a1-c4d5-4c49-bfd8-c9021161a94e",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
820,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "6aadac5e-5b90-485e-9f9c-86605e5b29a3",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1080,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3eea91d7-41de-4249-b728-41e9970c72bb",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1380,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a23493ca-afd9-4eef-8730-9da834a3fb83",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1680,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fb726309-178c-4c6a-bed5-2e6e4242e1f0",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1380,
620
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "dd1df860-554a-4670-942f-2226e2b890d6",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
2160,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f25829ac-0218-47c0-bb28-8e1bdc58f1ec",
"name": "### 需要帮助?",
"type": "n8n-nodes-base.stickyNote",
"position": [
2480,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e4d5f2b1-0192-4631-bfed-1bf72c321dec",
"name": "## 试试看!",
"type": "n8n-nodes-base.stickyNote",
"position": [
1680,
360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "df60bbea-da37-4183-9d53-a5128391862b",
"name": "GET 模型",
"type": "n8n-nodes-base.stickyNote",
"position": [
1920,
360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f66e9ac5-d173-40be-80ff-dfe824334189",
"name": "## 1. 创建新的自定义 OpenAI 凭据",
"type": "n8n-nodes-base.stickyNote",
"position": [
2160,
360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "673e0ae9-d824-4919-94a5-9a817e5b218f",
"name": "便签10",
"type": "n8n-nodes-base.stickyNote",
"position": [
2480,
360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d48222ff-b29a-4961-9808-68e497f872b8",
"name": "WhatsApp 回复发送器",
"type": "n8n-nodes-base.whatsApp",
"position": [
2280,
160
],
"webhookId": "472d40c3-4523-4f1e-b6a6-3b208cd2ecf8",
"parameters": {},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "155c1f87-f41f-41f3-9f44-9f0ff7afda23",
"connections": {
"AI Agent": {
"main": [
[
{
"node": "WhatsApp Reply Sender",
"type": "main",
"index": 0
}
]
]
},
"Signpost": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
},
{
"node": "Is Text Message?",
"type": "main",
"index": 0
}
]
]
},
"Fallback Text": {
"main": [
[
{
"node": "Send Gmail Notifications",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Gmail Output Set": {
"main": [
[
{
"node": "Send Gmail Notifications",
"type": "main",
"index": 0
}
]
]
},
"Is Text Message?": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
],
[
{
"node": "Fallback Text",
"type": "main",
"index": 0
}
]
]
},
"Input Submissions": {
"main": [
[
{
"node": "Signpost",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"WhatsApp Reply Sender": {
"main": [
[
{
"node": "Gmail Output Set",
"type": "main",
"index": 0
}
]
]
},
"Send Gmail Notifications": {
"main": [
[
{
"node": "No Operation, do nothing",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 客户支持, 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
美甲沙龙(美国)
使用WhatsApp、GPT和Google日历自动化沙龙预约管理
If
Set
Code
+20
164 节点Denis
客户支持
WhatsApp助手AI代理小型企业
基于Groq大语言模型和对话记忆的WhatsApp自动回复
If
Whats App
Agent
+4
13 节点Ghufran Ridhawi
客户支持
AI邮件自动回复系统 - 邮箱RAG智能代理
AI邮件自动回复系统 - 邮箱RAG智能代理
If
Set
Gmail
+18
34 节点LukaszB
客户支持
AI邮件分诊与GPT-4警报系统及Telegram通知
AI邮件分诊与GPT-4警报系统及Telegram通知
If
Set
Gmail
+22
104 节点Peter Joslyn
客户支持
基于AI的MIS代理
基于AI的管理信息系统代理
If
Set
Code
+29
129 节点Kumar Shivam
客户支持
基于语义和结构化RAG的电子邮件聊天机器人,使用Telegram和Pgvector
使用Telegram、Mistral和Pgvector的RAG技术与您的邮件历史对话
If
Set
Code
+12
20 节点Alfonso Corretti
客户支持