牙科预约
高级
这是一个自动化工作流,包含 53 个节点。主要使用 If, Set, Switch, Webhook, Telegram 等节点。 AI驱动的牙科预约系统,集成Telegram、Google日历和表格
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •Telegram Bot Token
- •Google 账号和 Gmail API 凭证
- •Google Sheets API 凭证
- •OpenAI API Key
- •Google Gemini API Key
使用的节点 (53)
分类
-
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "c9t1bCkAgKlhtAGP",
"meta": {
"instanceId": "733a97f3fb025336b6063a3a16651a9b839a2c56ef35eaa33e4e32848e83a6c0"
},
"name": "牙科预约",
"tags": [],
"nodes": [
{
"id": "d8ecf225-ae9b-4b5b-9cab-1155e351da38",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-400,
848
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "6a7e57f1-cdef-4e34-8335-b4277ef8bccc",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-288,
880
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "30821b05-b41f-4754-9488-45f2ae8b2167",
"name": "编辑字段",
"type": "n8n-nodes-base.set",
"position": [
368,
816
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "cbe4a275-aa80-4461-9e11-1b00d47ea74a",
"name": "预约工具",
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"position": [
816,
864
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "f3bc773f-f163-4034-8edb-b12a0edbfd8b",
"name": "简单记忆1",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
752,
736
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "a661e647-3728-4dc0-850f-dc7f9bae5141",
"name": "结构化输出解析器1",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
960,
880
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "657997cb-83bd-4bda-8f89-2a2c61233ed9",
"name": "Google Gemini聊天模型2",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-288,
1008
],
"parameters": {},
"typeVersion": 1
},
{
"id": "39fa3829-1459-455b-bec5-1a234ac0e36e",
"name": "Google Gemini 聊天模型3",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
912,
992
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e6d5ca85-8a19-4093-bf93-bf55a56f0225",
"name": "规划代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-368,
656
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "1bc89ac5-2e1e-4e19-8a81-73be4f5a700c",
"name": "预约代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"onError": "continueErrorOutput",
"position": [
704,
560
],
"parameters": {},
"executeOnce": false,
"retryOnFail": true,
"typeVersion": 2.2,
"alwaysOutputData": false
},
{
"id": "7fb776be-8a3e-4613-9636-bdcfec291554",
"name": "邮件和表格录入",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1744,
496
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "341208f3-efc4-4a52-9304-5ceef874cba3",
"name": "在 Gmail 中发送消息",
"type": "n8n-nodes-base.gmailTool",
"position": [
1888,
736
],
"webhookId": "915d8e47-59ee-4992-9b95-e728248022b3",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "7b236794-f5d0-468b-8f05-04360d52aa21",
"name": "编辑字段1",
"type": "n8n-nodes-base.set",
"position": [
1376,
400
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "0a81f7b1-dc03-4a35-bfbd-d8b4d483a3ef",
"name": "在 Google Sheets 中追加或更新行",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
2032,
816
],
"parameters": {},
"typeVersion": 4.7
},
{
"id": "eca8fe11-f0c2-4e73-adef-09d093168474",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-528,
880
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a4735e64-0012-4bee-b6b8-e69861321048",
"name": "OpenAI 聊天模型1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
656,
864
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "d1edf8f0-e070-450d-bc14-60dbc40117ba",
"name": "OpenAI 聊天模型2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1728,
768
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "21436ba1-ebfb-4874-b8f5-59746e8bc6db",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-656,
480
],
"webhookId": "64033a94-93b5-472a-b154-dcc46a45d1b8",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "fd5e1157-8542-4095-b8fb-eeeb2bd2110c",
"name": "响应 Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
352,
464
],
"parameters": {},
"typeVersion": 1.4
},
{
"id": "dd3b45a9-2355-4b82-8ea4-3bd3b78df298",
"name": "响应Webhook1",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
2352,
480
],
"parameters": {},
"typeVersion": 1.4
},
{
"id": "03d0ff46-5d0d-4278-ac49-a30bbaa92c2a",
"name": "Telegram 触发器",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-656,
672
],
"webhookId": "2e437e28-3dc8-4fa5-9b59-583054f40582",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "7a55dd83-fc81-4660-9cf0-27b1b4c477f3",
"name": "发送文本消息",
"type": "n8n-nodes-base.telegram",
"position": [
352,
624
],
"webhookId": "1658d03c-82cd-471b-b60b-b337f29af9f6",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "5172b705-da26-43fb-bd20-fa58db0dbb31",
"name": "发送文本消息1",
"type": "n8n-nodes-base.telegram",
"position": [
2384,
736
],
"webhookId": "860b9aba-78fb-4380-9d34-fbf0e40122c4",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "2ecd402a-e1f3-4a16-9212-3cb74c5185da",
"name": "切换应用",
"type": "n8n-nodes-base.switch",
"position": [
2112,
528
],
"parameters": {},
"typeVersion": 3.3
},
{
"id": "d5442bd5-53f1-4cbf-98b2-492cc93efc12",
"name": "MCP 服务器触发器",
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"position": [
-464,
1776
],
"webhookId": "c734cf98-3d5a-4cbd-af97-8ad2da760944",
"parameters": {},
"typeVersion": 1
},
{
"id": "ecef514c-e557-45e0-af48-d038efb03f53",
"name": "当被其他工作流执行时",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
384,
1856
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "6931e638-bf8a-4243-9ddd-ef83a9dbe149",
"name": "操作",
"type": "n8n-nodes-base.switch",
"position": [
784,
1808
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "b72baf20-2589-485a-958a-a1f0e8cc3ba2",
"name": "validate_busy_time",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
-656,
2112
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "f5440371-1384-4401-acba-c0e71f03e57a",
"name": "create_new_event",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
-512,
2112
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "d64d15c6-428f-4459-b4aa-d35601a78db3",
"name": "delete_event",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
-240,
2112
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "f4b95ab2-7d29-4384-8e7c-bd37ca18a578",
"name": "update_event",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
-368,
2112
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "12f0508d-64d4-427f-a4c7-f8c2e68af0bf",
"name": "validate_availability_event",
"type": "n8n-nodes-base.googleCalendar",
"position": [
1424,
1392
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "e5b040f6-8a9b-463c-a935-29180c24ffca",
"name": "check_availability_to_create",
"type": "n8n-nodes-base.googleCalendar",
"position": [
1104,
1856
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "009bed43-ec83-4a70-bf68-a53db45c0e28",
"name": "条件判断",
"type": "n8n-nodes-base.if",
"position": [
1312,
1856
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "b8ee56ec-79a0-4394-83e0-b699a4cd3679",
"name": "停止并报错",
"type": "n8n-nodes-base.stopAndError",
"position": [
1536,
1952
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4b54c6d0-b206-445e-86af-d4478a0e8f13",
"name": "create_event",
"type": "n8n-nodes-base.googleCalendar",
"position": [
1536,
1792
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "9bd7714b-7f4f-4227-9797-61533950d0d3",
"name": "delete_event1",
"type": "n8n-nodes-base.googleCalendar",
"position": [
1440,
1616
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "247b3321-a40a-43b9-9b5f-f97172f22704",
"name": "get_event_in_time_gap",
"type": "n8n-nodes-base.googleCalendar",
"position": [
1184,
2336
],
"parameters": {},
"typeVersion": 1.3,
"alwaysOutputData": true
},
{
"id": "b83ca468-6220-4f27-96f5-117b400d14e0",
"name": "update_calendar",
"type": "n8n-nodes-base.googleCalendar",
"position": [
1184,
2112
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "916207aa-b64e-45fd-8ded-6e9bf582e689",
"name": "get_events_in_gap_time",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
-96,
2112
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "80016448-d7a7-459d-a98e-481cd570bb88",
"name": "map_data",
"type": "n8n-nodes-base.set",
"position": [
560,
1856
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "8a8c36fc-270b-48f9-acef-09150d77febc",
"name": "response_data_get_data",
"type": "n8n-nodes-base.set",
"position": [
1392,
2336
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "1bc9eaa3-f57b-4338-a7d3-2e0d88bc2f29",
"name": "编辑字段2",
"type": "n8n-nodes-base.set",
"position": [
1664,
1408
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "0c645d1e-1069-4737-9618-f78bcc1baac3",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1792,
144
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f532caa4-5901-44f8-91c5-8abc746a213e",
"name": "反馈或下一步",
"type": "n8n-nodes-base.switch",
"position": [
32,
816
],
"parameters": {},
"typeVersion": 3.3
},
{
"id": "9bfb0b82-1a48-4172-9040-72573c748639",
"name": "Webhook/Telegram",
"type": "n8n-nodes-base.switch",
"position": [
160,
656
],
"parameters": {},
"typeVersion": 3.3
},
{
"id": "026f7e39-47b6-4f93-a467-bc84d81d45c1",
"name": "成功/失败预约",
"type": "n8n-nodes-base.switch",
"position": [
1120,
432
],
"parameters": {},
"typeVersion": 3.3
},
{
"id": "ac72eadc-25b1-44c9-a4d9-9009e21119f8",
"name": "分支",
"type": "n8n-nodes-base.switch",
"position": [
1264,
768
],
"parameters": {},
"typeVersion": 3.3
},
{
"id": "b8c8ca71-d9d5-4f62-9e26-dd2bb26ad0df",
"name": "响应 Webhook2",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
1440,
656
],
"parameters": {},
"typeVersion": 1.4
},
{
"id": "3fbbae26-5772-4509-9b3f-22fa59b887bd",
"name": "发送文本消息2",
"type": "n8n-nodes-base.telegram",
"position": [
1440,
848
],
"webhookId": "6904a7e2-2981-4496-bc2f-0383d6e1a03f",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "96369b80-bb1b-4aed-9581-39fec4baca75",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
592,
240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fe6cdb0f-976a-4544-8aa5-7d684bd3cc3f",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1744,
192
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "75cf9cd8-b6d7-402b-a06a-ff4788592dfa",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-592,
176
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "74f613fc-ca4d-4ac5-857d-efafb676a3d3",
"connections": {
"If": {
"main": [
[
{
"node": "create_event",
"type": "main",
"index": 0
}
],
[
{
"node": "Stop and Error",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "Respond to Webhook2",
"type": "main",
"index": 0
}
],
[
{
"node": "Send a text message2",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "Planning Agent",
"type": "main",
"index": 0
}
]
]
},
"map_data": {
"main": [
[
{
"node": "Operation",
"type": "main",
"index": 0
}
]
]
},
"Operation": {
"main": [
[
{
"node": "validate_availability_event",
"type": "main",
"index": 0
}
],
[
{
"node": "delete_event1",
"type": "main",
"index": 0
}
],
[
{
"node": "check_availability_to_create",
"type": "main",
"index": 0
}
],
[
{
"node": "update_calendar",
"type": "main",
"index": 0
}
],
[
{
"node": "get_event_in_time_gap",
"type": "main",
"index": 0
}
]
]
},
"Switch App": {
"main": [
[
{
"node": "Respond to Webhook1",
"type": "main",
"index": 0
}
],
[
{
"node": "Send a text message1",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Booking Agent",
"type": "main",
"index": 0
}
]
]
},
"Booking Tool": {
"ai_tool": [
[
{
"node": "Booking Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Edit Fields1": {
"main": [
[
{
"node": "Mail and Sheet Entry",
"type": "main",
"index": 0
}
]
]
},
"delete_event": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"update_event": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Booking Agent": {
"main": [
[
{
"node": "Success/Fail Booking",
"type": "main",
"index": 0
}
],
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "Planning Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Planning Agent": {
"main": [
[
{
"node": "Feedback or Next",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory1": {
"ai_memory": [
[
{
"node": "Booking Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Feedback or Next": {
"main": [
[
{
"node": "Webhook/Telegram",
"type": "main",
"index": 0
}
],
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "Planning Agent",
"type": "main",
"index": 0
}
]
]
},
"Webhook/Telegram": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
],
[
{
"node": "Send a text message",
"type": "main",
"index": 0
}
]
]
},
"create_new_event": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Planning Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "Booking Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model2": {
"ai_languageModel": [
[
{
"node": "Mail and Sheet Entry",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"validate_busy_time": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Mail and Sheet Entry": {
"main": [
[
{
"node": "Switch App",
"type": "main",
"index": 0
}
]
]
},
"Success/Fail Booking": {
"main": [
[
{
"node": "Edit Fields1",
"type": "main",
"index": 0
}
],
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"get_event_in_time_gap": {
"main": [
[
{
"node": "response_data_get_data",
"type": "main",
"index": 0
}
]
]
},
"get_events_in_gap_time": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Send a message in Gmail": {
"ai_tool": [
[
{
"node": "Mail and Sheet Entry",
"type": "ai_tool",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Planning Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Google Gemini Chat Model2": {
"ai_languageModel": [
[
{
"node": "Structured Output Parser",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Google Gemini Chat Model3": {
"ai_languageModel": [
[
{
"node": "Structured Output Parser1",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser1": {
"ai_outputParser": [
[
{
"node": "Booking Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"validate_availability_event": {
"main": [
[
{
"node": "Edit Fields2",
"type": "main",
"index": 0
}
]
]
},
"check_availability_to_create": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "map_data",
"type": "main",
"index": 0
}
]
]
},
"Append or update row in sheet in Google Sheets": {
"ai_tool": [
[
{
"node": "Mail and Sheet Entry",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
AI邮件分诊与GPT-4警报系统及Telegram通知
AI邮件分诊与GPT-4警报系统及Telegram通知
If
Set
Gmail
+22
104 节点Peter Joslyn
客户支持
1. 播放列表详情设置机器人副本
使用 Suno、GPT-4、Runway 和 Creatomate 创建 AI 生成的 YouTube 音乐播放列表
If
Set
Code
+22
203 节点Joseph
内容创作
AI 助手已更新
Stacey - 您的 Telegram AI 助手(基于 MCP、Gemini 和 Google 工具)
Set
Code
Switch
+15
32 节点David Olusola
其他
基于Google Gemini、Notion和Telegram的统一业务编排器(CEO专用)
基于Google Gemini、Notion和Telegram的统一业务编排器(CEO专用)
Set
Notion
Switch
+18
93 节点YungCEO
AI 聊天机器人
ELEVEN LABS 多智能体系统
基于ElevenLabs、OpenAI和内容生成的语音驱动营销助手
If
Set
Webhook
+16
56 节点David Olusola
人工智能
工作流信息
难度等级
高级
节点数量53
分类-
节点类型21
作者
Aziz B
@azizb28💡 Automation Enthusiast | Full Stack Developer | Open Source Contributor I love building workflows that simplify everyday tasks and make businesses run smoothly. From booking systems to custom integrations, I experiment, tweak, and share templates that anyone can plug into their projects. My goal is to make automation accessible, practical, and fun for everyone in the n8n community. 🚀 Email for Reachout 📩 Feel free to reach out to me at: azizbhavanagarwala@gmail.com
外部链接
在 n8n.io 查看 →
分享此工作流