🤖 WhatsApp AI个人助手:GPT-4o、记忆和日程安排功能
高级
这是一个AI, IT Ops领域的自动化工作流,包含 76 个节点。主要使用 If, Set, Wait, Merge, Redis 等节点,结合人工智能技术实现智能自动化。 AI个人助手:集成GPT-4o、RAG和语音功能,使用Supabase的WhatsApp助手
前置要求
- •Redis 服务器连接信息
- •HTTP Webhook 端点(n8n 会自动生成)
- •PostgreSQL 数据库连接信息
- •Supabase URL 和 API Key
- •OpenAI API Key
使用的节点 (76)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "oztomvXcbguCwH2Q",
"meta": {
"instanceId": "b79da95dcb1b69eebc3470f6fd833d7e53e389c229c716386bdb8e7c291ad2b9"
},
"name": "🤖 带 GPT-4o、记忆和日程安排功能的 WhatsApp AI 个人助手",
"tags": [
{
"id": "mhx5MJAkz32rJgeQ",
"name": "iloveflows.com",
"createdAt": "2025-05-09T14:28:31.509Z",
"updatedAt": "2025-05-09T14:28:31.509Z"
}
],
"nodes": [
{
"id": "d105b0e6-5d38-4389-a348-9f4edbd98043",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2780,
1640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "cd236a55-34ea-48b4-853a-5242e42888e2",
"name": "转换为文件",
"type": "n8n-nodes-base.convertToFile",
"position": [
0,
900
],
"parameters": {},
"typeVersion": 1.1,
"alwaysOutputData": true
},
{
"id": "68bb9541-283f-4639-b57b-601473d170ac",
"name": "编辑1",
"type": "n8n-nodes-base.set",
"position": [
540,
900
],
"parameters": {},
"typeVersion": 3.4,
"alwaysOutputData": true
},
{
"id": "8eaa4a55-879f-42bc-86b0-36303804258c",
"name": "编辑2",
"type": "n8n-nodes-base.set",
"position": [
540,
1340
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "3fa2fe0e-43e4-449d-9ab8-ce83f5f0ff77",
"name": "认证",
"type": "n8n-nodes-base.if",
"position": [
-560,
1160
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "95d88cc9-b66f-45e7-bfb7-3142382c3ed7",
"name": "消息延迟",
"type": "n8n-nodes-base.wait",
"position": [
1180,
1120
],
"webhookId": "c0def2c7-50d3-47c5-8a1e-4164f3625242",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "c70fc751-b54c-4bb6-a712-a9ec52ed607b",
"name": "拉取消息",
"type": "n8n-nodes-base.redis",
"position": [
1360,
1120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1d798878-7ae1-4ad1-aa1f-67effe3f1aeb",
"name": "如果 1",
"type": "n8n-nodes-base.if",
"position": [
820,
1340
],
"parameters": {},
"typeVersion": 2
},
{
"id": "46d45920-68a2-410d-97da-2a2978fdabc9",
"name": "数据库",
"type": "n8n-nodes-base.redis",
"position": [
1360,
1320
],
"parameters": {},
"typeVersion": 1
},
{
"id": "45bb766b-ead9-4f69-aae1-8cf91de14f44",
"name": "消息列表1",
"type": "n8n-nodes-base.redis",
"position": [
1000,
1120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f2ebd4bb-5a56-4048-8768-054ffac6783d",
"name": "编辑字段2",
"type": "n8n-nodes-base.set",
"position": [
1100,
1320
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "b5a4820c-0251-4cc2-a318-9252db2873f8",
"name": "重要说明",
"type": "n8n-nodes-base.stickyNote",
"position": [
780,
980
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e244cead-b967-4311-940d-2ebc27b78d0b",
"name": "OpenAI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
260,
900
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "d6da694b-52f0-492e-8a67-8fcb633d17db",
"name": "## 为什么选择 4o 模型?👆",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1160,
680
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "680eaca5-6ea9-4d27-b329-9a45cd6979f9",
"name": "设置_supabase_向量表",
"type": "n8n-nodes-base.postgres",
"position": [
-1080,
780
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "2f705e74-bd8a-4737-b4ed-36ae11b43388",
"name": "默认数据加载器",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
460,
420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4a3927c2-6f9e-4234-9e06-7fcf4c4e8b3b",
"name": "嵌入 OpenAI1",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
320,
400
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ba9aded7-9cbc-4fb6-a4eb-47f7c77e84b5",
"name": "递归字符文本分割器",
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"position": [
500,
540
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6ee2f34b-e0d8-431b-9bf6-689b01df7068",
"name": "文件_id",
"type": "n8n-nodes-base.set",
"position": [
0,
700
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "c97e06e2-0179-431a-8d5b-87d96b7da4b9",
"name": "删除旧文件",
"type": "n8n-nodes-base.supabase",
"position": [
0,
20
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "a1bc0aee-6e48-4ff2-8df0-d3773fcaba50",
"name": "提取_pdf",
"type": "n8n-nodes-base.extractFromFile",
"position": [
0,
240
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "982be2d5-c606-4dc7-afc3-43764bb84761",
"name": "导出文本",
"type": "n8n-nodes-base.set",
"position": [
160,
240
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "dbab42c2-c699-4353-b4d4-a89e2209b673",
"name": "OpenAI 嵌入",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
3160,
1940
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7eaad18d-1a77-4109-adef-3d424e7b0ea7",
"name": "OpenAI 聊天模型2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
3420,
1820
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6d63b8a6-6713-46b7-9893-d2cefd7e86bb",
"name": "supabase_向量存储",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
360,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e9ccd7f3-ca94-4c62-aa4b-63127d1f13c4",
"name": "日程安排",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3740,
1760
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "b8ab0a49-5584-4d3b-8b16-d66f653135a3",
"name": "创建大脑",
"type": "n8n-nodes-base.postgres",
"position": [
-1080,
460
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "ca88a0b1-34ee-4bbd-8a18-3eea1afbd311",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1160,
380
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8f22b428-7cc3-4608-810d-ac66bccbc6ec",
"name": "拉取提示",
"type": "n8n-nodes-base.postgres",
"position": [
1920,
1320
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "0fda91cb-760b-4f90-b944-71d359694ef3",
"name": "Postgres聊天记忆",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
3160,
1540
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "4d78bc5a-023b-4f05-9553-98320b2e86e9",
"name": "便签 7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-860,
680
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "193f806c-9f1c-4d74-aa64-bfe3db3b47e3",
"name": "删除所有消息1",
"type": "n8n-nodes-base.postgres",
"position": [
-780,
760
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "5adf5cdd-e820-44dd-bc2a-da9d8b18602b",
"name": "转换为文件",
"type": "n8n-nodes-base.convertToFile",
"position": [
500,
20
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "2860bd45-7c8d-4c28-bcd5-78d56eeb6e6e",
"name": "base64",
"type": "n8n-nodes-base.set",
"position": [
320,
20
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "974fbf99-c727-47f2-bc54-b6c56421c08e",
"name": "文件类型",
"type": "n8n-nodes-base.switch",
"position": [
680,
20
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "d5ba78ce-c3ef-4ecb-bec2-6728cff76a86",
"name": "OpenAI 聊天模型1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1180,
420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "17bd231d-b48b-42dd-ace0-1d4f0d5aae01",
"name": "合并数据库数据1",
"type": "n8n-nodes-base.aggregate",
"position": [
720,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "06eaf689-221a-4074-855f-a04b0064b039",
"name": "摘要",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1100,
240
],
"parameters": {},
"typeVersion": 1.4
},
{
"id": "e368d5f5-6cc7-4d05-8a35-72312e72cb55",
"name": "便签 9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1160,
80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b9672003-1751-452c-95fb-931fd706bff4",
"name": "创建_rag_控制",
"type": "n8n-nodes-base.postgres",
"position": [
-1080,
160
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "7c8b7a9e-2ffa-45b5-beea-52f3b49fb94d",
"name": "更新文件列表",
"type": "n8n-nodes-base.postgres",
"position": [
1420,
240
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "5deaf046-639a-4e0c-8ae0-c1605fc724fa",
"name": "rag_摘要",
"type": "n8n-nodes-base.postgres",
"position": [
1840,
1520
],
"parameters": {},
"typeVersion": 2.5,
"alwaysOutputData": true
},
{
"id": "0d7ccb57-c1e3-4ba5-8457-1bdb14a95039",
"name": "合并数据库数据2",
"type": "n8n-nodes-base.aggregate",
"position": [
2000,
1520
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "8e565942-0eae-4e95-9081-76b64b9debf2",
"name": "Supabase Vector Store",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
3120,
1800
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ab141574-d985-44ad-99a5-24ae3f1aab74",
"name": "删除_rag_文件",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3740,
1600
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "10d1de05-dfef-4bba-95d2-00a4123a13ec",
"name": "电子邮件",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3940,
1760
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "ba175864-3c55-40d2-aa94-4ffa1a633e3a",
"name": "添加知识",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3740,
1420
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "0baac00a-69b9-40d2-82fa-5d14f6abe055",
"name": "搜索知识",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3940,
1420
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "188913c1-2bda-4e38-a3ba-8a3a574a8937",
"name": "转换为文件1",
"type": "n8n-nodes-base.convertToFile",
"position": [
180,
1120
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "788d471d-9069-4453-b0a2-1f7d02b3bfa1",
"name": "基础",
"type": "n8n-nodes-base.set",
"position": [
0,
1120
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "ed432b2e-591a-41aa-80bc-909d5b1f76a8",
"name": "编辑字段",
"type": "n8n-nodes-base.set",
"position": [
540,
1120
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "43cca877-16b3-41bd-b05b-b3e1c152bfd7",
"name": "消息类型",
"type": "n8n-nodes-base.switch",
"position": [
-300,
1120
],
"parameters": {},
"typeVersion": 3.2,
"alwaysOutputData": false
},
{
"id": "89eda5b4-6565-41dc-a281-39a684a30103",
"name": "OpenAI1",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
360,
1120
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "63c46d57-4c30-4471-9afe-e66c37852a10",
"name": "合并",
"type": "n8n-nodes-base.merge",
"position": [
2200,
1340
],
"parameters": {},
"typeVersion": 3
},
{
"id": "77360555-fc36-45ff-ae57-81c27078f7ca",
"name": "Google Calendar MCP",
"type": "n8n-nodes-base.switch",
"position": [
2760,
1340
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "aebffc93-4190-4490-b5e9-2b2e9a97c2fb",
"name": "更新提示",
"type": "n8n-nodes-base.executeWorkflow",
"position": [
3180,
1080
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "53a6befd-cea0-47a4-a3b5-dca6b033442c",
"name": "处理",
"type": "n8n-nodes-base.set",
"position": [
3000,
1080
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "5e22a93e-0d5b-478c-be17-06142cf2ccaa",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-1140,
1160
],
"webhookId": "81dd8066-f3ed-462b-a538-3bad57450e37",
"parameters": {},
"typeVersion": 2
},
{
"id": "b1667935-b34f-47ad-a1b1-887854b55d15",
"name": "接待员",
"type": "@n8n/n8n-nodes-langchain.agent",
"onError": "continueRegularOutput",
"maxTries": 3,
"position": [
3100,
1360
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 1.6
},
{
"id": "3ec8d76e-d19d-492e-8009-aeca5e71fc3d",
"name": "意图分类器",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2440,
1340
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "a48d9f14-b6fe-49cf-9bdd-4daf1c041088",
"name": "合并数据库数据3",
"type": "n8n-nodes-base.aggregate",
"position": [
160,
20
],
"parameters": {},
"typeVersion": 1
},
{
"id": "94e34810-6b0a-49a8-a2b3-70b28088de7f",
"name": "删除知识",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3940,
1600
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "def3ddbe-8317-4240-9a93-4b7bfaf920e6",
"name": "配置",
"type": "n8n-nodes-base.set",
"position": [
-820,
1160
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "8a2f094f-eaa8-4152-9fb3-4c45a93402b8",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-920,
1060
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3a2ed709-9091-479c-9f7f-e6d82e8566f5",
"name": "客户消息",
"type": "n8n-nodes-base.set",
"position": [
1640,
1320
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "7e662537-681f-497f-aad1-4827db08e4bc",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1dc6da1b-f750-4033-97b3-eb8c7652bcd1",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1600,
1200
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b9e4d7a5-0fdf-465b-acf8-f3b160502f38",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
920,
140
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d7d56279-4734-4b53-a05e-399dd4874b20",
"name": "便签10",
"type": "n8n-nodes-base.stickyNote",
"position": [
3620,
1280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0ce9550d-7880-4aa6-a538-fa8657186980",
"name": "初始客户消息",
"type": "n8n-nodes-base.set",
"position": [
820,
1120
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "ae823123-3b4c-4ae7-b47f-70933e1fdfd3",
"name": "删除文件",
"type": "n8n-nodes-base.postgres",
"position": [
920,
240
],
"parameters": {},
"typeVersion": 2.5,
"alwaysOutputData": true
},
{
"id": "01cc8857-474a-4649-a2a4-35041b45b7dd",
"name": "Postgres 聊天记忆1",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
2520,
1540
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "88844d8e-2d75-4b8e-a86b-1b569d3dc98e",
"name": "删除知识",
"type": "n8n-nodes-base.postgres",
"position": [
-780,
460
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "754dc315-dd63-4f64-b3e3-3d7669246f02",
"name": "便签11",
"type": "n8n-nodes-base.stickyNote",
"position": [
-860,
380
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8c89dc7b-6abe-4a9e-b0e9-f491c716181d",
"name": "RAG",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"position": [
3260,
1660
],
"parameters": {},
"typeVersion": 1
},
{
"id": "27542401-fc46-415f-99c6-c116d485a50b",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1180,
-140
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "c8521f52-c7a6-4674-b2f8-9bc21b924506",
"connections": {
"If1": {
"main": [
[
{
"node": "Edit Fields2",
"type": "main",
"index": 0
}
]
]
},
"RAG": {
"ai_tool": [
[
{
"node": "recepcionista",
"type": "ai_tool",
"index": 0
}
]
]
},
"auth": {
"main": [
[
{
"node": "mensagem_tipo",
"type": "main",
"index": 0
}
]
]
},
"base": {
"main": [
[
{
"node": "Convert to File1",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "classificador_de_intencao",
"type": "main",
"index": 0
}
]
]
},
"edit1": {
"main": [
[
{
"node": "mensagem_cliente_inicial",
"type": "main",
"index": 0
}
]
]
},
"edit2": {
"main": [
[
{
"node": "mensagem_cliente_inicial",
"type": "main",
"index": 0
}
]
]
},
"OpenAI": {
"main": [
[
{
"node": "edit1",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "tratamento",
"type": "main",
"index": 0
}
],
[
{
"node": "recepcionista",
"type": "main",
"index": 0
}
]
]
},
"base64": {
"main": [
[
{
"node": "convert_to_file",
"type": "main",
"index": 0
}
]
]
},
"config": {
"main": [
[
{
"node": "auth",
"type": "main",
"index": 0
}
]
]
},
"emails": {
"ai_tool": [
[
{
"node": "recepcionista",
"type": "ai_tool",
"index": 0
}
]
]
},
"resumo": {
"main": [
[
{
"node": "atualizar_lista_de_arquivos",
"type": "main",
"index": 0
}
]
]
},
"OpenAI1": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "config",
"type": "main",
"index": 0
}
]
]
},
"arquivo_id": {
"main": [
[
{
"node": "deletar_arquivos_antigos",
"type": "main",
"index": 0
}
]
]
},
"tratamento": {
"main": [
[
{
"node": "atualizar_prompt",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "mensagem_cliente_inicial",
"type": "main",
"index": 0
}
]
]
},
"extrair_pdf": {
"main": [
[
{
"node": "exportar_texto",
"type": "main",
"index": 0
}
]
]
},
"agendamentos": {
"ai_tool": [
[
{
"node": "recepcionista",
"type": "ai_tool",
"index": 0
}
]
]
},
"puxar_prompt": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"tipo_arquivo": {
"main": [
[
{
"node": "extrair_pdf",
"type": "main",
"index": 0
}
]
]
},
"mensagem_tipo": {
"main": [
[
{
"node": "arquivo_id",
"type": "main",
"index": 0
}
],
[
{
"node": "Convert to File",
"type": "main",
"index": 0
}
],
[
{
"node": "base",
"type": "main",
"index": 0
}
],
[
{
"node": "edit2",
"type": "main",
"index": 0
}
]
]
},
"exportar_texto": {
"main": [
[
{
"node": "supabase_vectorstore",
"type": "main",
"index": 0
}
]
]
},
"Convert to File": {
"main": [
[
{
"node": "OpenAI",
"type": "main",
"index": 0
}
]
]
},
"convert_to_file": {
"main": [
[
{
"node": "tipo_arquivo",
"type": "main",
"index": 0
}
]
]
},
"deletar_arquivo": {
"main": [
[
{
"node": "resumo",
"type": "main",
"index": 0
}
]
]
},
"Convert to File1": {
"main": [
[
{
"node": "OpenAI1",
"type": "main",
"index": 0
}
]
]
},
"mensagem_cliente": {
"main": [
[
{
"node": "puxar_prompt",
"type": "main",
"index": 0
},
{
"node": "rag_resumos",
"type": "main",
"index": 0
}
]
]
},
"Embeddings OpenAI": {
"ai_embedding": [
[
{
"node": "Supabase Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "recepcionista",
"type": "ai_languageModel",
"index": 0
},
{
"node": "classificador_de_intencao",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Embeddings OpenAI1": {
"ai_embedding": [
[
{
"node": "supabase_vectorstore",
"type": "ai_embedding",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "resumo",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model2": {
"ai_languageModel": [
[
{
"node": "RAG",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Puxar as Mensagens": {
"main": [
[
{
"node": "If1",
"type": "main",
"index": 0
}
]
]
},
"Default Data Loader": {
"ai_document": [
[
{
"node": "supabase_vectorstore",
"type": "ai_document",
"index": 0
}
]
]
},
"buscar_conhecimento": {
"ai_tool": [
[
{
"node": "recepcionista",
"type": "ai_tool",
"index": 0
}
]
]
},
"excluir_rag_arquivo": {
"ai_tool": [
[
{
"node": "recepcionista",
"type": "ai_tool",
"index": 0
}
]
]
},
"Merge Database Data2": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Postgres Chat Memory": {
"ai_memory": [
[
{
"node": "recepcionista",
"type": "ai_memory",
"index": 0
}
]
]
},
"excluir_conhecimento": {
"ai_tool": [
[
{
"node": "recepcionista",
"type": "ai_tool",
"index": 0
}
]
]
},
"Postgres Chat Memory1": {
"ai_memory": [
[
{
"node": "classificador_de_intencao",
"type": "ai_memory",
"index": 0
}
]
]
},
"Supabase Vector Store": {
"ai_vectorStore": [
[
{
"node": "RAG",
"type": "ai_vectorStore",
"index": 0
}
]
]
},
"adicionar_conhecimento": {
"ai_tool": [
[
{
"node": "recepcionista",
"type": "ai_tool",
"index": 0
}
]
]
},
"mensagem_cliente_inicial": {
"main": [
[
{
"node": "Lista Mensagens1",
"type": "main",
"index": 0
}
]
]
},
"classificador_de_intencao": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Recursive Character Text Splitter": {
"ai_textSplitter": [
[
{
"node": "Default Data Loader",
"type": "ai_textSplitter",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 人工智能, IT 运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
宠物店 4
🐶 宠物店预约 AI 代理
If
Set
Code
+41
187 节点Bruno Dias
人工智能
[模板] AI宠物店 v8
🐶 AI宠物店助手 - 集成GPT-4o、Google日历和WhatsApp/Instagram/Facebook
If
N8n
Set
+38
244 节点Amanda Benks
销售
AI 代理餐厅 [模板]
🤖 WhatsApp、Instagram 和 Messenger 的 AI 餐厅助手
If
N8n
Set
+37
239 节点Amanda Benks
其他
交付汉堡店MVP
🤖 餐厅与配送自动化的 AI 驱动 WhatsApp 助手
If
Set
Code
+37
152 节点Bruno Dias
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
AI智能助手:与Supabase存储和Google Drive文件对话
AI智能助手:与Supabase存储和Google Drive文件对话
If
Set
Wait
+20
62 节点Mark Shcherbakov
工程
工作流信息
难度等级
高级
节点数量76
分类2
节点类型25
作者
Amanda Benks
@amandaHi loves! I've been making workflows for n8n for two years, and I hope you like my flows <3
外部链接
在 n8n.io 查看 →
分享此工作流