👷♂️ 出租车预订工作器
高级
这是一个自动化工作流,包含 33 个节点。主要使用 If, Set, Redis, Switch, Postgres 等节点。 AI聊天机器人呼叫中心:出租车预订工作流(生产就绪,第5部分)
前置要求
- •Redis 服务器连接信息
- •PostgreSQL 数据库连接信息
使用的节点 (33)
分类
-
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "7n61yKndJuHO5l2k",
"meta": {
"instanceId": "daae7bb90c8655b08e0b68de8a52b1178f2812f6a234efb0b0509279dbb70b3e",
"templateCredsSetupCompleted": true
},
"name": "👷♂️ Taxi Booking Worker",
"tags": [
{
"id": "fJnbLru0gOXGli2H",
"name": "Agent",
"createdAt": "2025-04-29T08:11:03.850Z",
"updatedAt": "2025-04-29T08:11:03.850Z"
},
{
"id": "no8Mb078mvRgw7PS",
"name": "DEMO",
"createdAt": "2025-04-30T05:34:10.330Z",
"updatedAt": "2025-04-30T05:34:10.330Z"
}
],
"nodes": [
{
"id": "9144f720-4cca-49f0-b658-8027d15cc109",
"name": "Flow Trigger",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-1260,
460
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "1b8a96ec-cc09-4885-b69a-61a2190beda9",
"name": "Input",
"type": "n8n-nodes-base.set",
"position": [
-1040,
460
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "0c50f860-421f-4d32-9089-bd2b718fa73e",
"name": "Test Trigger",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-1260,
660
],
"webhookId": "43be72d3-74d8-4e20-874d-ecb60cf54774",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "6bb4d7ba-3328-4372-9e39-05c45e558044",
"name": "Test Fields",
"type": "n8n-nodes-base.set",
"position": [
-1040,
660
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "390caf9e-f5fa-4d51-9f15-522d6d5d45a4",
"name": "Reset Session",
"type": "n8n-nodes-base.redis",
"notes": "TTL 5m",
"onError": "continueRegularOutput",
"position": [
360,
420
],
"parameters": {},
"executeOnce": false,
"notesInFlow": true,
"typeVersion": 1,
"alwaysOutputData": false
},
{
"id": "71697b96-b3f7-4b05-bfad-927187c5dc17",
"name": "Error Output",
"type": "n8n-nodes-base.set",
"notes": "Booking not found. Please retry.",
"position": [
-480,
1520
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "c6d4e48a-12a9-42be-b7e4-01439c9254a1",
"name": "Set Open Booking",
"type": "n8n-nodes-base.postgres",
"position": [
160,
420
],
"parameters": {},
"executeOnce": true,
"typeVersion": 2.6
},
{
"id": "3a2c6c89-8d53-45db-aa2d-2f70cb580bab",
"name": "Save User Memory",
"type": "n8n-nodes-base.postgres",
"onError": "continueRegularOutput",
"position": [
160,
120
],
"parameters": {},
"executeOnce": true,
"typeVersion": 2.6
},
{
"id": "ab45dbcd-a74f-47cc-ab25-0c2ac6a50e00",
"name": "Delete Route Data",
"type": "n8n-nodes-base.redis",
"notes": "{session_id}:{channel_no}:route",
"onError": "continueRegularOutput",
"position": [
840,
120
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "f275eb96-d0bd-4b82-9cfc-78045e5aa3fa",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1560,
380
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3bf589c1-7a1d-4504-bec7-df70f4f3668a",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "93c823d5-1ad2-4743-9ed1-d0bb6278866b",
"name": "Delete Provider Number",
"type": "n8n-nodes-base.redis",
"position": [
620,
120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b994d4c4-10d9-43ef-9694-5b32057e896a",
"name": "If Booking",
"type": "n8n-nodes-base.if",
"position": [
-60,
440
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "b1cccdfa-a979-46aa-9050-5c65ccfac616",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
1000,
340
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "83d2cf67-d1d4-48eb-9c1b-f3f1bf970fde",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
540,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d918ae55-79fd-4b54-b17c-7727ee1822ff",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-140,
340
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0a2ad84b-0ba5-4908-9507-ce5fbfedcdcf",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-640,
1440
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "28956579-be67-4e85-b3c1-89baecc3cf63",
"name": "If Not Zero",
"type": "n8n-nodes-base.if",
"position": [
-760,
460
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "a086bbc0-518f-4092-9593-99f265d9eea0",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-140,
1020
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b67e9916-c152-4fba-8483-cdf6fd91aad1",
"name": "Cancel Output",
"type": "n8n-nodes-base.set",
"notes": "Cancelled",
"position": [
600,
1160
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "d82f253f-49ae-4be6-aa7b-1879b4cfc3ba",
"name": "Reset Session 2",
"type": "n8n-nodes-base.redis",
"notes": "TTL 5m",
"onError": "continueRegularOutput",
"position": [
360,
1160
],
"parameters": {},
"executeOnce": false,
"notesInFlow": true,
"typeVersion": 1,
"alwaysOutputData": false
},
{
"id": "12e2c452-e855-4327-b265-f3a0146e515e",
"name": "Switch",
"type": "n8n-nodes-base.switch",
"position": [
1060,
580
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "3bfcd450-1b62-4066-bb47-59d75c6482b1",
"name": "English",
"type": "n8n-nodes-base.set",
"notes": "Reservation is completed.",
"position": [
1360,
820
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "8947e45e-00e0-4754-a18e-2636b2d03f99",
"name": "Chinese",
"type": "n8n-nodes-base.set",
"notes": "預約完成。",
"position": [
1360,
440
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "dedb94f8-af0c-4c6a-abcc-d635c5749c3e",
"name": "Japanese",
"type": "n8n-nodes-base.set",
"notes": "予約が完了いたしました。",
"position": [
1360,
640
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "f35dca5c-af89-4cc1-be3e-52c4a61c7d3a",
"name": "Booking",
"type": "n8n-nodes-base.postgres",
"notes": "status NEW",
"onError": "continueRegularOutput",
"position": [
-280,
440
],
"parameters": {},
"executeOnce": true,
"notesInFlow": true,
"typeVersion": 2.6,
"alwaysOutputData": true
},
{
"id": "31ce8514-6b02-4fee-9338-4fcd9d55b613",
"name": "Wait Call Back",
"type": "n8n-nodes-base.executeWorkflow",
"notes": "Demo Call Back NO WAIT",
"position": [
-440,
240
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "61749f9c-7caa-4533-a96e-124231f02fcd",
"name": "Wait Output",
"type": "n8n-nodes-base.set",
"notes": "Please wait",
"position": [
-600,
240
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "226c4054-a28d-45a6-84f3-b58475b11b58",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-700,
140
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "c826d4df-53ff-4805-bf7d-dfec8250e3d0",
"name": "Create Event",
"type": "n8n-nodes-base.googleCalendar",
"notes": "DEMO",
"position": [
360,
660
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.3
},
{
"id": "97e9082d-9f22-4214-86ea-56f600684eb1",
"name": "Call Back",
"type": "n8n-nodes-base.executeWorkflow",
"notes": "Demo Call Back",
"position": [
1360,
1520
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "5c85db84-78da-422e-af0c-c51a881d38cc",
"name": "Delete Chat Memory",
"type": "n8n-nodes-base.postgres",
"disabled": true,
"position": [
1080,
120
],
"parameters": {},
"executeOnce": true,
"typeVersion": 2.6
},
{
"id": "64ba4973-a772-411c-b05e-6f0b5c4a285f",
"name": "Sync Booking Google Cal",
"type": "n8n-nodes-base.postgres",
"position": [
620,
660
],
"parameters": {},
"executeOnce": true,
"typeVersion": 2.6
}
],
"active": false,
"pinData": {},
"settings": {
"timezone": "Etc/UTC",
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": "vuso7W8t402BPcT2",
"executionOrder": "v1"
},
"versionId": "02e3e233-dc53-4ee0-9ddb-0fffde421487",
"connections": {
"1b8a96ec-cc09-4885-b69a-61a2190beda9": {
"main": [
[
{
"node": "28956579-be67-4e85-b3c1-89baecc3cf63",
"type": "main",
"index": 0
}
]
]
},
"12e2c452-e855-4327-b265-f3a0146e515e": {
"main": [
[
{
"node": "8947e45e-00e0-4754-a18e-2636b2d03f99",
"type": "main",
"index": 0
}
],
[
{
"node": "8947e45e-00e0-4754-a18e-2636b2d03f99",
"type": "main",
"index": 0
}
],
[
{
"node": "8947e45e-00e0-4754-a18e-2636b2d03f99",
"type": "main",
"index": 0
}
],
[
{
"node": "dedb94f8-af0c-4c6a-abcc-d635c5749c3e",
"type": "main",
"index": 0
}
],
[
{
"node": "3bfcd450-1b62-4066-bb47-59d75c6482b1",
"type": "main",
"index": 0
}
]
]
},
"f35dca5c-af89-4cc1-be3e-52c4a61c7d3a": {
"main": [
[
{
"node": "b994d4c4-10d9-43ef-9694-5b32057e896a",
"type": "main",
"index": 0
}
]
]
},
"8947e45e-00e0-4754-a18e-2636b2d03f99": {
"main": [
[
{
"node": "97e9082d-9f22-4214-86ea-56f600684eb1",
"type": "main",
"index": 0
}
]
]
},
"3bfcd450-1b62-4066-bb47-59d75c6482b1": {
"main": [
[
{
"node": "97e9082d-9f22-4214-86ea-56f600684eb1",
"type": "main",
"index": 0
}
]
]
},
"dedb94f8-af0c-4c6a-abcc-d635c5749c3e": {
"main": [
[
{
"node": "97e9082d-9f22-4214-86ea-56f600684eb1",
"type": "main",
"index": 0
}
]
]
},
"b994d4c4-10d9-43ef-9694-5b32057e896a": {
"main": [
[
{
"node": "c6d4e48a-12a9-42be-b7e4-01439c9254a1",
"type": "main",
"index": 0
}
],
[
{
"node": "71697b96-b3f7-4b05-bfad-927187c5dc17",
"type": "main",
"index": 0
}
]
]
},
"28956579-be67-4e85-b3c1-89baecc3cf63": {
"main": [
[
{
"node": "61749f9c-7caa-4533-a96e-124231f02fcd",
"type": "main",
"index": 0
},
{
"node": "f35dca5c-af89-4cc1-be3e-52c4a61c7d3a",
"type": "main",
"index": 0
}
],
[
{
"node": "d82f253f-49ae-4be6-aa7b-1879b4cfc3ba",
"type": "main",
"index": 0
}
]
]
},
"6bb4d7ba-3328-4372-9e39-05c45e558044": {
"main": [
[
{
"node": "1b8a96ec-cc09-4885-b69a-61a2190beda9",
"type": "main",
"index": 0
}
]
]
},
"61749f9c-7caa-4533-a96e-124231f02fcd": {
"main": [
[
{
"node": "31ce8514-6b02-4fee-9338-4fcd9d55b613",
"type": "main",
"index": 0
}
]
]
},
"c826d4df-53ff-4805-bf7d-dfec8250e3d0": {
"main": [
[
{
"node": "64ba4973-a772-411c-b05e-6f0b5c4a285f",
"type": "main",
"index": 0
}
]
]
},
"71697b96-b3f7-4b05-bfad-927187c5dc17": {
"main": [
[
{
"node": "97e9082d-9f22-4214-86ea-56f600684eb1",
"type": "main",
"index": 0
}
]
]
},
"9144f720-4cca-49f0-b658-8027d15cc109": {
"main": [
[
{
"node": "1b8a96ec-cc09-4885-b69a-61a2190beda9",
"type": "main",
"index": 0
}
]
]
},
"0c50f860-421f-4d32-9089-bd2b718fa73e": {
"main": [
[
{
"node": "6bb4d7ba-3328-4372-9e39-05c45e558044",
"type": "main",
"index": 0
}
]
]
},
"b67e9916-c152-4fba-8483-cdf6fd91aad1": {
"main": [
[
{
"node": "97e9082d-9f22-4214-86ea-56f600684eb1",
"type": "main",
"index": 0
}
]
]
},
"390caf9e-f5fa-4d51-9f15-522d6d5d45a4": {
"main": [
[
{
"node": "93c823d5-1ad2-4743-9ed1-d0bb6278866b",
"type": "main",
"index": 0
},
{
"node": "ab45dbcd-a74f-47cc-ab25-0c2ac6a50e00",
"type": "main",
"index": 0
},
{
"node": "12e2c452-e855-4327-b265-f3a0146e515e",
"type": "main",
"index": 0
}
]
]
},
"d82f253f-49ae-4be6-aa7b-1879b4cfc3ba": {
"main": [
[
{
"node": "b67e9916-c152-4fba-8483-cdf6fd91aad1",
"type": "main",
"index": 0
},
{
"node": "93c823d5-1ad2-4743-9ed1-d0bb6278866b",
"type": "main",
"index": 0
},
{
"node": "ab45dbcd-a74f-47cc-ab25-0c2ac6a50e00",
"type": "main",
"index": 0
}
]
]
},
"c6d4e48a-12a9-42be-b7e4-01439c9254a1": {
"main": [
[
{
"node": "390caf9e-f5fa-4d51-9f15-522d6d5d45a4",
"type": "main",
"index": 0
},
{
"node": "3a2c6c89-8d53-45db-aa2d-2f70cb580bab",
"type": "main",
"index": 0
},
{
"node": "c826d4df-53ff-4805-bf7d-dfec8250e3d0",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AI聊天机器人呼叫中心:出租车服务(生产就绪,第3部分)
AI聊天机器人呼叫中心:出租车服务(生产就绪,第3部分)
If
Set
Code
+
If
Set
Code
40 节点ChatPayLabs
客户支持
AI聊天机器人呼叫中心:演示呼叫中心(生产就绪,第2部分)
AI聊天机器人呼叫中心:演示呼叫中心(生产就绪,第2部分)
If
Set
Code
+
If
Set
Code
38 节点ChatPayLabs
客户支持
🤙 Telegram 来电接入
AI聊天机器人呼叫中心:Telegram呼入(生产就绪,第1a部分)
If
Set
Code
+
If
Set
Code
35 节点ChatPayLabs
AI聊天机器人呼叫中心:出租车预订支持(生产就绪,第7部分)
AI聊天机器人呼叫中心:出租车预订支持(生产就绪,第7部分)
If
Set
Switch
+
If
Set
Switch
15 节点ChatPayLabs
客户支持
构建自定义n8n工作流MCP服务器
构建自定义n8n工作流MCP服务器
If
N8n
Set
+
If
N8n
Set
46 节点Jimleuk
其他
🤖 WhatsApp AI个人助手:GPT-4o、记忆和日程安排功能
AI个人助手:集成GPT-4o、RAG和语音功能,使用Supabase的WhatsApp助手
If
Set
Wait
+
If
Set
Wait
76 节点Amanda Benks
人工智能
工作流信息
难度等级
高级
节点数量33
分类-
节点类型10
作者
ChatPayLabs
@chatpaylabsProduction Ready AI n8n Workflow Templates Startup Fundraising 💰 Support Us 🦄
外部链接
在 n8n.io 查看 →
分享此工作流