💬 演示回拨
高级
这是一个Support、AI领域的自动化工作流,包含 35 个节点。主要使用 If、Set、Code、Redis、Switch 等节点,结合人工智能技术实现智能自动化。 AI聊天机器人呼叫中心:演示回拨(生产就绪,第6部分)
前置要求
- •Redis 服务器连接信息
- •PostgreSQL 数据库连接信息
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
使用的节点 (35 个)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "Je3vR1nLDqm3aMqQ",
"meta": {
"instanceId": "daae7bb90c8655b08e0b68de8a52b1178f2812f6a234efb0b0509279dbb70b3e",
"templateCredsSetupCompleted": true
},
"name": "💬 演示回拨",
"tags": [
{
"id": "no8Mb078mvRgw7PS",
"name": "DEMO",
"createdAt": "2025-04-30T05:34:10.330Z",
"updatedAt": "2025-04-30T05:34:10.330Z"
}
],
"nodes": [
{
"id": "7f37feab-7b61-4fa6-8c91-c0fba6e81428",
"name": "媒体切换",
"type": "n8n-nodes-base.switch",
"position": [
200,
920
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "15cd74bb-555b-4dee-bb6e-083763a6aef3",
"name": "流程触发器",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-1820,
760
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "7278ddee-8706-48fb-a103-824122255564",
"name": "输入",
"type": "n8n-nodes-base.set",
"position": [
-1580,
760
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "8cdd1195-a304-4c19-ae58-32bc116767d9",
"name": "测试触发器",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-1820,
960
],
"webhookId": "2ec1c862-0f3d-4c69-824d-b9b0baebf1d2",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "d422a706-ae5c-4260-8a56-f77c95f5e607",
"name": "测试字段",
"type": "n8n-nodes-base.set",
"position": [
-1580,
960
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "efeb6250-7049-489e-9ca7-cd989c8ac4a7",
"name": "下载 Minimax 音频",
"type": "n8n-nodes-base.httpRequest",
"notes": "👻 ON ERROR STOP",
"onError": "continueErrorOutput",
"position": [
1540,
640
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 4.2
},
{
"id": "bf81adff-eab4-49b2-adae-86a2749e77ea",
"name": "Telegram 语音输出",
"type": "n8n-nodes-base.telegram",
"notes": "@chpy_demo_bot",
"position": [
1740,
620
],
"webhookId": "dac3e1d8-1927-4faa-97e8-ce82fc8504cf",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "f5b0ae5d-a45d-46a2-9d73-cf543c10f1c7",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1160,
400
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0b2a3b09-3719-4726-918c-2a041537d494",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
740,
480
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "27450565-b746-49ca-b652-2823ac5c532b",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
100,
760
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f5517bef-bc96-4a88-a2a6-d581b064331a",
"name": "如果提供商否",
"type": "n8n-nodes-base.if",
"position": [
-1340,
760
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "2dc1548d-6329-4d60-abd4-25e91543effb",
"name": "提供商缓存",
"type": "n8n-nodes-base.redis",
"notes": "TTL 15m",
"onError": "continueRegularOutput",
"position": [
-1080,
520
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "aaddc697-2336-46be-a88a-fa69a8eeabb8",
"name": "保存提供商缓存",
"type": "n8n-nodes-base.redis",
"notes": "TTL 15m",
"onError": "continueRegularOutput",
"position": [
-380,
600
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "920995e5-e543-4f0e-bb3b-9c72843cbaab",
"name": "如果提供商缓存",
"type": "n8n-nodes-base.if",
"position": [
-860,
520
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "9768a213-2471-496c-8101-5e1625ac5089",
"name": "提供商",
"type": "n8n-nodes-base.set",
"position": [
-160,
500
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "3462fb92-b466-4dbe-8176-8ed434162206",
"name": "加载提供商数据",
"type": "n8n-nodes-base.postgres",
"onError": "continueRegularOutput",
"position": [
-600,
600
],
"parameters": {},
"executeOnce": true,
"typeVersion": 2.6,
"alwaysOutputData": true
},
{
"id": "c5297e7c-5ab0-4a4b-8ec3-07b410f56f6a",
"name": "如果提供商语音",
"type": "n8n-nodes-base.if",
"position": [
560,
780
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "79e2cc7a-df75-46ec-b49a-884667b52e00",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2100,
660
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ce0507a8-ebf1-4f4d-b3a8-9d17e3aa9d12",
"name": "Google Calendar MCP",
"type": "n8n-nodes-base.switch",
"position": [
820,
720
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "12ee2e31-d06e-4b15-b72a-a2409f92f101",
"name": "创建聊天日志输出",
"type": "n8n-nodes-base.postgres",
"onError": "continueRegularOutput",
"position": [
560,
160
],
"parameters": {},
"executeOnce": true,
"typeVersion": 2.6
},
{
"id": "aea3239f-219b-41b1-9026-2222cac97a6f",
"name": "创建聊天日志输入",
"type": "n8n-nodes-base.postgres",
"onError": "continueRegularOutput",
"position": [
340,
60
],
"parameters": {},
"executeOnce": true,
"typeVersion": 2.6
},
{
"id": "de6b2428-dbc8-4004-a319-aadbeaf9c580",
"name": "如果输入",
"type": "n8n-nodes-base.if",
"position": [
120,
140
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "5cbe76b1-0ea4-4d40-8941-e51ebbc038ff",
"name": "输出",
"type": "n8n-nodes-base.set",
"position": [
2220,
1380
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "254958ca-ad37-4c3e-8957-6af9f9899a55",
"name": "媒体切换1",
"type": "n8n-nodes-base.switch",
"position": [
200,
1140
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "91bdac61-2819-4189-8341-6ce9812f7d8f",
"name": "中文,粤语",
"type": "n8n-nodes-base.set",
"position": [
1100,
520
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "a08d4c06-ccba-4740-85fe-99c8786ca5da",
"name": "Minimax TTS",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueRegularOutput",
"position": [
1340,
640
],
"parameters": {},
"notesInFlow": false,
"typeVersion": 4.2,
"alwaysOutputData": true
},
{
"id": "c243d382-f5c7-49e9-8c2d-01104c550eee",
"name": "中文",
"type": "n8n-nodes-base.set",
"position": [
1100,
680
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "9673e139-15b0-445b-ad01-4bebc7703f70",
"name": "日语",
"type": "n8n-nodes-base.set",
"position": [
1100,
840
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "6ba0be81-f47d-4b22-a539-5a0ce10c3d7c",
"name": "英语",
"type": "n8n-nodes-base.set",
"position": [
1100,
1000
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "eb8e9741-505d-4375-910a-64702dea7bc6",
"name": "如果回复",
"type": "n8n-nodes-base.if",
"position": [
1980,
800
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "d694be56-34f1-4f11-90d4-f55aa1f34b7b",
"name": "Telegram 回复输出",
"type": "n8n-nodes-base.telegram",
"notes": "@chpy_demo_bot",
"position": [
2220,
700
],
"webhookId": "ff303e8b-3ed5-429f-b26b-88acf01bc90d",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "60789078-05a3-48c8-8821-34513c82e009",
"name": "便签说明4",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "7118e129-23d8-4420-b609-c6239912276a",
"name": "Telegram 输出",
"type": "n8n-nodes-base.telegram",
"notes": "@chpy_demo_bot",
"position": [
2220,
940
],
"webhookId": "ff303e8b-3ed5-429f-b26b-88acf01bc90d",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "e95a9255-1184-4c1c-b43d-678674c7abf2",
"name": "便签说明5",
"type": "n8n-nodes-base.stickyNote",
"position": [
520,
400
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b1f76f30-98c9-4421-a858-0d4795148fb4",
"name": "解析缓存",
"type": "n8n-nodes-base.code",
"position": [
-600,
440
],
"parameters": {},
"typeVersion": 2
}
],
"active": false,
"pinData": {},
"settings": {
"timezone": "Asia/Hong_Kong",
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": "oxs9DmRSQHNYlBEr",
"executionOrder": "v1"
},
"versionId": "f0c00aed-6394-4a2f-b4a8-669f30441226",
"connections": {
"Input": {
"main": [
[
{
"node": "If Provider No",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "Chinese,Yue",
"type": "main",
"index": 0
}
],
[
{
"node": "Chinese",
"type": "main",
"index": 0
}
],
[
{
"node": "Chinese",
"type": "main",
"index": 0
}
],
[
{
"node": "Japanese",
"type": "main",
"index": 0
}
],
[
{
"node": "English",
"type": "main",
"index": 0
}
]
]
},
"Chinese": {
"main": [
[
{
"node": "Minimax TTS",
"type": "main",
"index": 0
}
]
]
},
"English": {
"main": [
[
{
"node": "Minimax TTS",
"type": "main",
"index": 0
}
]
]
},
"If Input": {
"main": [
[
{
"node": "Create Chat Log Input",
"type": "main",
"index": 0
}
],
[
{
"node": "Create Chat Log Output",
"type": "main",
"index": 0
}
]
]
},
"If Reply": {
"main": [
[
{
"node": "Telegram Reply Output",
"type": "main",
"index": 0
}
],
[
{
"node": "Telegram Output",
"type": "main",
"index": 0
}
]
]
},
"Japanese": {
"main": [
[
{
"node": "Minimax TTS",
"type": "main",
"index": 0
}
]
]
},
"Provider": {
"main": [
[
{
"node": "Media Switch",
"type": "main",
"index": 0
},
{
"node": "If Input",
"type": "main",
"index": 0
}
]
]
},
"Chinese,Yue": {
"main": [
[
{
"node": "Minimax TTS",
"type": "main",
"index": 0
}
]
]
},
"Minimax TTS": {
"main": [
[
{
"node": "Download Minimax Audio",
"type": "main",
"index": 0
}
]
]
},
"Parse Cache": {
"main": [
[
{
"node": "Provider",
"type": "main",
"index": 0
}
]
]
},
"Test Fields": {
"main": [
[
{
"node": "Input",
"type": "main",
"index": 0
}
]
]
},
"Flow Trigger": {
"main": [
[
{
"node": "Input",
"type": "main",
"index": 0
}
]
]
},
"Media Switch": {
"main": [
[
{
"node": "If Provider Voice",
"type": "main",
"index": 0
}
],
[],
[
{
"node": "Output",
"type": "main",
"index": 0
}
]
]
},
"Test Trigger": {
"main": [
[
{
"node": "Test Fields",
"type": "main",
"index": 0
}
]
]
},
"Media Switch1": {
"main": [
[
{
"node": "If Reply",
"type": "main",
"index": 0
}
],
[],
[
{
"node": "Output",
"type": "main",
"index": 0
}
]
]
},
"If Provider No": {
"main": [
[
{
"node": "Provider Cache",
"type": "main",
"index": 0
}
],
[
{
"node": "Media Switch1",
"type": "main",
"index": 0
}
]
]
},
"Provider Cache": {
"main": [
[
{
"node": "If Provider Cache",
"type": "main",
"index": 0
}
]
]
},
"Telegram Output": {
"main": [
[
{
"node": "Output",
"type": "main",
"index": 0
}
]
]
},
"If Provider Cache": {
"main": [
[
{
"node": "Parse Cache",
"type": "main",
"index": 0
}
],
[
{
"node": "Load Provider Data",
"type": "main",
"index": 0
}
]
]
},
"If Provider Voice": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
],
[
{
"node": "If Reply",
"type": "main",
"index": 0
}
]
]
},
"Load Provider Data": {
"main": [
[
{
"node": "Save Provider Cache",
"type": "main",
"index": 0
}
]
]
},
"Save Provider Cache": {
"main": [
[
{
"node": "Provider",
"type": "main",
"index": 0
}
]
]
},
"Create Chat Log Input": {
"main": [
[
{
"node": "Create Chat Log Output",
"type": "main",
"index": 0
}
]
]
},
"Telegram Reply Output": {
"main": [
[
{
"node": "Output",
"type": "main",
"index": 0
}
]
]
},
"Telegram Voice Output": {
"main": [
[
{
"node": "If Reply",
"type": "main",
"index": 0
}
]
]
},
"Download Minimax Audio": {
"main": [
[
{
"node": "Telegram Voice Output",
"type": "main",
"index": 0
}
],
[
{
"node": "If Reply",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个高级难度的工作流,适用于Support、AI等场景。适合高级用户,包含 16+ 个节点的复杂工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
🤖 出租车服务提供商
出租车服务提供商(生产就绪,第4部分)
If
Set
Code
+11
30 节点ChatPayLabs
Support
🛎️ 出租车服务
AI聊天机器人呼叫中心:出租车服务(生产就绪,第3部分)
If
Set
Code
+13
40 节点ChatPayLabs
Support
☎️ 演示呼叫中心
AI聊天机器人呼叫中心:演示呼叫中心(生产就绪,第2部分)
If
Set
Code
+11
38 节点ChatPayLabs
Support
🤙 Telegram 来电接入
AI聊天机器人呼叫中心:Telegram呼入(生产就绪,第1a部分)
If
Set
Code
+10
35 节点ChatPayLabs
基于AI的MIS代理
基于AI的管理信息系统代理
If
Set
Code
+29
129 节点Kumar Shivam
Support
🫶 出租车预订支持
AI聊天机器人呼叫中心:出租车预订支持(生产就绪,第7部分)
If
Set
Switch
+7
15 节点ChatPayLabs
Support
工作流信息
难度等级
高级
节点数量35
分类2
节点类型11
作者
ChatPayLabs
@chatpaylabsProduction Ready AI n8n Workflow Templates Startup Fundraising 💰 Support Us 🦄
外部链接
在 n8n.io 上查看 →
分享此工作流