WhatsApp AI日历机器人 v1 数据库代理
高级
这是一个Support Chatbot, AI Chatbot领域的自动化工作流,包含 19 个节点。主要使用 If, Set, Switch, WhatsApp, Agent 等节点。 WhatsApp预约安排,集成Google日历和Gemini AI
前置要求
- •Google Gemini API Key
使用的节点 (19)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "AjkfI1cEMPxUO5gC",
"name": "WA-Bot-AI-Calendar-v1-db-agent",
"nodes": [
{
"id": "20ffb9cd-d278-4241-97d3-6f9c0fe321bc",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
780,
-20
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "c52262f5-ce9e-41e4-a7b6-e91093e4ac03",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
780,
-200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2e44f41d-c3ec-4b8e-b12c-5ae712d3dbdc",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
940,
-200
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "4a744a97-f35e-49af-9f72-18d53eb55a0c",
"name": "Get Calendar Event",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
780,
180
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "8ea9f5ff-0470-41f4-af0d-5d68a9754c5b",
"name": "创建日历事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
980,
180
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "da450386-4155-4f7f-99b2-ebebebe322b2",
"name": "Update Calendar Event",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1180,
180
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "2ef794e0-d47f-4072-98ca-665cbda2fbe7",
"name": "删除日历事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1380,
180
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "6de6ecee-b794-45c7-8453-d155b8d805ae",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
-240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "4610d75d-a1bd-4be5-b865-395b730495ff",
"name": "Is start?",
"type": "n8n-nodes-base.if",
"position": [
260,
-20
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "707f0cd5-ebd2-40d1-a185-147c2d590700",
"name": "初始化",
"type": "n8n-nodes-base.set",
"position": [
40,
-20
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "885b5dc0-db76-4a5e-a76b-ec46cce7ce16",
"name": "定义类型",
"type": "n8n-nodes-base.switch",
"position": [
500,
-20
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "052eb429-cd1a-458b-be5f-65a871d159f8",
"name": "Variables",
"type": "n8n-nodes-base.set",
"position": [
-180,
-20
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "fabff670-bbcd-4cae-8d67-5b6d0986e3cd",
"name": "Welcome message",
"type": "n8n-nodes-base.whatsApp",
"position": [
260,
-220
],
"webhookId": "97b1bb78-fe29-456b-8ee8-0cffe5514542",
"parameters": {},
"typeVersion": 1
},
{
"id": "71b66a49-d91a-4561-94bf-a2dc215a4c60",
"name": "Send Answer",
"type": "n8n-nodes-base.whatsApp",
"position": [
1160,
-20
],
"webhookId": "97b1bb78-fe29-456b-8ee8-0cffe5514542",
"parameters": {},
"typeVersion": 1
},
{
"id": "fe637db8-ad05-4b6f-ba96-88a36804c424",
"name": "WhatsApp 触发器",
"type": "n8n-nodes-base.whatsAppTrigger",
"position": [
-400,
-20
],
"webhookId": "bfa438ae-596c-41a3-aec4-ae7c4eab877a",
"parameters": {},
"typeVersion": 1
},
{
"id": "7464d0d7-052e-49bc-818f-379e0bf29eed",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-980,
-240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ef02ad73-3532-48bb-b862-59fab53dede7",
"name": "当收到聊天消息时",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-400,
-220
],
"webhookId": "15a08e91-f260-4896-b0e2-18ff07486d4d",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "b17acb88-ae7e-4f23-9382-4af7f07d3a67",
"name": "编辑字段",
"type": "n8n-nodes-base.set",
"position": [
-180,
-220
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "67bbebc6-4657-4d2e-99be-257af2ee3483",
"name": "当由另一个工作流执行时",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-400,
180
],
"parameters": {},
"typeVersion": 1.1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "a4df6d28-9b8a-4d38-a770-c5024fef46aa",
"connections": {
"AI Agent": {
"main": [
[
{
"node": "Send Answer",
"type": "main",
"index": 0
}
]
]
},
"Is start?": {
"main": [
[
{
"node": "Welcome message",
"type": "main",
"index": 0
}
],
[
{
"node": "Define Type",
"type": "main",
"index": 0
}
]
]
},
"Variables": {
"main": [
[
{
"node": "Initialization",
"type": "main",
"index": 0
}
]
]
},
"Define Type": {
"main": [
[],
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
],
[]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Initialization",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Initialization": {
"main": [
[
{
"node": "Is start?",
"type": "main",
"index": 0
}
]
]
},
"Welcome message": {
"main": [
[]
]
},
"WhatsApp Trigger": {
"main": [
[
{
"node": "Variables",
"type": "main",
"index": 0
}
]
]
},
"Get Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Delete Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Update Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Initialization",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 客服机器人, AI 聊天机器人
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
自动化多平台销售代理
使用 RAG、CRM 和支付处理的多平台销售代理
If
Set
Switch
+24
83 节点Electrabot
销售
TG-Bot-AI-日历-v1-数据库-代理
通过Telegram使用Gemini AI助手管理Google日历事件
If
Set
Switch
+7
16 节点Andrew
个人效率
多平台AI销售代理:集成RAG、CRM、日历和Stripe
集成RAG、CRM、日历和Stripe的多平台AI销售代理
If
Set
Switch
+24
83 节点Vansh Arora
销售
自动化WhatsApp客户支持,含语音转录、FAQ和预约安排
自动化WhatsApp客户支持,含语音转录、FAQ和预约安排
If
Set
Switch
+11
23 节点AureusR
杂项
构建带记忆、Google套件和多AI研究成像的WhatsApp助手
构建带记忆、Google套件和多AI研究成像的WhatsApp助手
If
Set
Code
+27
71 节点Iniyavan JC
AI 聊天机器人
AI销售代理:WhatsApp和网站销售代理(RAG)
AI销售代理:WhatsApp和网站销售代理(RAG)
Set
Switch
Postgres
+20
69 节点Vansh Arora