RAG驱动的AI语音客户支持代理(Supabase + Gemini + ElevenLabs)
中级
这是一个Support Chatbot, Multimodal AI领域的自动化工作流,包含 14 个节点。主要使用 Code, Webhook, Supabase, Aggregate, GoogleDocs 等节点。 RAG驱动的AI语音客户支持代理(Supabase + Gemini + ElevenLabs)
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •Supabase URL 和 API Key
- •可能需要目标 API 的认证凭证
使用的节点 (14)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "b6731f6e46273cffeac6b5188a5b3bcb0840c00108e73b48ae2b799ac6e8e081",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "ce5697a5-fe3c-42eb-b93a-51e2abe35e90",
"name": "Aggregate",
"type": "n8n-nodes-base.aggregate",
"position": [
784,
-64
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d2671671-b493-4580-8eb4-02bce32ede8f",
"name": "基础LLM链",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1040,
-64
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "31b1d89e-696f-4c85-b0eb-80d395934e86",
"name": "搜索嵌入向量",
"type": "n8n-nodes-base.httpRequest",
"position": [
560,
-64
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "38bee46c-b303-4649-bb61-039eae8c3d3a",
"name": "Embend User Message",
"type": "n8n-nodes-base.httpRequest",
"position": [
336,
-64
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "a9c57108-69ab-462b-8b54-8b3a21dff7f5",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
112,
-64
],
"webhookId": "3d74ca69-4efe-4734-8b22-69b21247d9a8",
"parameters": {},
"typeVersion": 2
},
{
"id": "01c3dd7b-c16b-41fe-bb52-81262eca44fb",
"name": "响应Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
1456,
-64
],
"parameters": {},
"typeVersion": 1.4
},
{
"id": "49185bf9-d983-42a7-87f9-42418c070d53",
"name": "Content for the Training",
"type": "n8n-nodes-base.googleDocs",
"position": [
-1136,
16
],
"parameters": {},
"typeVersion": 2
},
{
"id": "9b21eb3f-c27b-4664-87b1-fa41f0d0930b",
"name": "Splitting into Chunks",
"type": "n8n-nodes-base.code",
"position": [
-912,
16
],
"parameters": {},
"typeVersion": 2
},
{
"id": "389b9fc5-ff9d-4278-bc3a-1507c18f510f",
"name": "Embedding Uploaded document",
"type": "n8n-nodes-base.httpRequest",
"position": [
-688,
16
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "d72d773e-c574-452e-9a83-5f6eb8dff830",
"name": "Save the embedding in DB",
"type": "n8n-nodes-base.supabase",
"position": [
-464,
16
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1471ef70-cb30-4558-8117-bd62fc909231",
"name": "当点击‘执行工作流’时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-1344,
16
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d6b9cf3d-5b0d-4f6a-8ac0-7166c029063b",
"name": "Google Vertex Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleVertex",
"position": [
1040,
144
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1337a267-bca3-46fb-bc1a-6508506d4a45",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1440,
-752
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b99ac4fc-4ec1-4b87-9f45-ff9fecc30874",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
-752
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Webhook": {
"main": [
[
{
"node": "Embend User Message",
"type": "main",
"index": 0
}
]
]
},
"Aggregate": {
"main": [
[
{
"node": "Basic LLM Chain",
"type": "main",
"index": 0
}
]
]
},
"Basic LLM Chain": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Search Embeddings": {
"main": [
[
{
"node": "Aggregate",
"type": "main",
"index": 0
}
]
]
},
"Embend User Message": {
"main": [
[
{
"node": "Search Embeddings",
"type": "main",
"index": 0
}
]
]
},
"Splitting into Chunks": {
"main": [
[
{
"node": "Embedding Uploaded document",
"type": "main",
"index": 0
}
]
]
},
"Content for the Training": {
"main": [
[
{
"node": "Splitting into Chunks",
"type": "main",
"index": 0
}
]
]
},
"Google Vertex Chat Model": {
"ai_languageModel": [
[
{
"node": "Basic LLM Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Embedding Uploaded document": {
"main": [
[
{
"node": "Save the embedding in DB",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "Content for the Training",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 客服机器人, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用RAG、Gemini、Supabase和Google Docs构建基于知识的WhatsApp助手
使用RAG、Gemini、Supabase和Google Docs构建基于知识的WhatsApp助手
If
Code
Supabase
+9
15 节点iamvaar
内容创作
使用Supabase + TogetherAI + Openrouter的RAG聊天机器人
使用Supabase + TogetherAI + Openrouter的RAG聊天机器人
Code
Supabase
Aggregate
+7
13 节点iamvaar
内部知识库
从Notion自动执行客户培育邮件和评价收集
通过Telegram使用Google日历和Notion CRM自动化会议安排
If
Set
Code
+8
19 节点Shelly-Ann Davy
客服机器人
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
深度研究智能体
深度研究智能体 - 自动化研究与 Notion 报告生成器
Set
Code
Filter
+17
43 节点Aziz B
市场调研
WordPress SEO发布器
集成Anthropic AI、Google Docs和媒体自动化的WordPress SEO发布器
Set
Code
Merge
+12
41 节点Cong Nguyen
内容创作