This workflow corresponds to n8n.io template #3947 — we link there as the canonical source.
This workflow follows the Agent → Chainllm recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "oztomvXcbguCwH2Q",
"name": "\ud83e\udd16 AI Personal Assistant with GPT-4o, Memory & Scheduling for WhatsApp",
"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 Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2780,
1640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "cd236a55-34ea-48b4-853a-5242e42888e2",
"name": "Convert to File",
"type": "n8n-nodes-base.convertToFile",
"position": [
0,
900
],
"parameters": {},
"typeVersion": 1.1,
"alwaysOutputData": true
},
{
"id": "68bb9541-283f-4639-b57b-601473d170ac",
"name": "edit1",
"type": "n8n-nodes-base.set",
"position": [
540,
900
],
"parameters": {},
"typeVersion": 3.4,
"alwaysOutputData": true
},
{
"id": "8eaa4a55-879f-42bc-86b0-36303804258c",
"name": "edit2",
"type": "n8n-nodes-base.set",
"position": [
540,
1340
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "3fa2fe0e-43e4-449d-9ab8-ce83f5f0ff77",
"name": "auth",
"type": "n8n-nodes-base.if",
"position": [
-560,
1160
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "95d88cc9-b66f-45e7-bfb7-3142382c3ed7",
"name": "Message Delay",
"type": "n8n-nodes-base.wait",
"position": [
1180,
1120
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "c70fc751-b54c-4bb6-a712-a9ec52ed607b",
"name": "Puxar as Mensagens",
"type": "n8n-nodes-base.redis",
"position": [
1360,
1120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1d798878-7ae1-4ad1-aa1f-67effe3f1aeb",
"name": "If1",
"type": "n8n-nodes-base.if",
"position": [
820,
1340
],
"parameters": {},
"typeVersion": 2
},
{
"id": "46d45920-68a2-410d-97da-2a2978fdabc9",
"name": "Database",
"type": "n8n-nodes-base.redis",
"position": [
1360,
1320
],
"parameters": {},
"typeVersion": 1
},
{
"id": "45bb766b-ead9-4f69-aae1-8cf91de14f44",
"name": "Lista Mensagens1",
"type": "n8n-nodes-base.redis",
"position": [
1000,
1120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f2ebd4bb-5a56-4048-8768-054ffac6783d",
"name": "Edit Fields2",
"type": "n8n-nodes-base.set",
"position": [
1100,
1320
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "b5a4820c-0251-4cc2-a318-9252db2873f8",
"name": "Important Notes",
"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": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1160,
680
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "680eaca5-6ea9-4d27-b329-9a45cd6979f9",
"name": "setar_supabase_tabelas_vectoriais",
"type": "n8n-nodes-base.postgres",
"position": [
-1080,
780
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "2f705e74-bd8a-4737-b4ed-36ae11b43388",
"name": "Default Data Loader",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
460,
420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4a3927c2-6f9e-4234-9e06-7fcf4c4e8b3b",
"name": "Embeddings OpenAI1",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
320,
400
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ba9aded7-9cbc-4fb6-a4eb-47f7c77e84b5",
"name": "Recursive Character Text Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"position": [
500,
540
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6ee2f34b-e0d8-431b-9bf6-689b01df7068",
"name": "arquivo_id",
"type": "n8n-nodes-base.set",
"position": [
0,
700
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "c97e06e2-0179-431a-8d5b-87d96b7da4b9",
"name": "deletar_arquivos_antigos",
"type": "n8n-nodes-base.supabase",
"position": [
0,
20
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "a1bc0aee-6e48-4ff2-8df0-d3773fcaba50",
"name": "extrair_pdf",
"type": "n8n-nodes-base.extractFromFile",
"position": [
0,
240
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "982be2d5-c606-4dc7-afc3-43764bb84761",
"name": "exportar_texto",
"type": "n8n-nodes-base.set",
"position": [
160,
240
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "dbab42c2-c699-4353-b4d4-a89e2209b673",
"name": "Embeddings OpenAI",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
3160,
1940
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7eaad18d-1a77-4109-adef-3d424e7b0ea7",
"name": "OpenAI Chat Model2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
3420,
1820
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6d63b8a6-6713-46b7-9893-d2cefd7e86bb",
"name": "supabase_vectorstore",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
360,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e9ccd7f3-ca94-4c62-aa4b-63127d1f13c4",
"name": "agendamentos",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3740,
1760
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "b8ab0a49-5584-4d3b-8b16-d66f653135a3",
"name": "criar_cerebro",
"type": "n8n-nodes-base.postgres",
"position": [
-1080,
460
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "ca88a0b1-34ee-4bbd-8a18-3eea1afbd311",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1160,
380
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8f22b428-7cc3-4608-810d-ac66bccbc6ec",
"name": "puxar_prompt",
"type": "n8n-nodes-base.postgres",
"position": [
1920,
1320
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "0fda91cb-760b-4f90-b944-71d359694ef3",
"name": "Postgres Chat Memory",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
3160,
1540
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "4d78bc5a-023b-4f05-9553-98320b2e86e9",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-860,
680
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "193f806c-9f1c-4d74-aa64-bfe3db3b47e3",
"name": "Deletar_todas_as_mensagens1",
"type": "n8n-nodes-base.postgres",
"position": [
-780,
760
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "5adf5cdd-e820-44dd-bc2a-da9d8b18602b",
"name": "convert_to_file",
"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": "tipo_arquivo",
"type": "n8n-nodes-base.switch",
"position": [
680,
20
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "d5ba78ce-c3ef-4ecb-bec2-6728cff76a86",
"name": "OpenAI Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1180,
420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "17bd231d-b48b-42dd-ace0-1d4f0d5aae01",
"name": "Merge Database Data1",
"type": "n8n-nodes-base.aggregate",
"position": [
720,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "06eaf689-221a-4074-855f-a04b0064b039",
"name": "resumo",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1100,
240
],
"parameters": {},
"typeVersion": 1.4
},
{
"id": "e368d5f5-6cc7-4d05-8a35-72312e72cb55",
"name": "Sticky Note9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1160,
80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b9672003-1751-452c-95fb-931fd706bff4",
"name": "criar_rag_controle",
"type": "n8n-nodes-base.postgres",
"position": [
-1080,
160
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "7c8b7a9e-2ffa-45b5-beea-52f3b49fb94d",
"name": "atualizar_lista_de_arquivos",
"type": "n8n-nodes-base.postgres",
"position": [
1420,
240
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "5deaf046-639a-4e0c-8ae0-c1605fc724fa",
"name": "rag_resumos",
"type": "n8n-nodes-base.postgres",
"position": [
1840,
1520
],
"parameters": {},
"typeVersion": 2.5,
"alwaysOutputData": true
},
{
"id": "0d7ccb57-c1e3-4ba5-8457-1bdb14a95039",
"name": "Merge Database Data2",
"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": "excluir_rag_arquivo",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3740,
1600
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "10d1de05-dfef-4bba-95d2-00a4123a13ec",
"name": "emails",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3940,
1760
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "ba175864-3c55-40d2-aa94-4ffa1a633e3a",
"name": "adicionar_conhecimento",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3740,
1420
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "0baac00a-69b9-40d2-82fa-5d14f6abe055",
"name": "buscar_conhecimento",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3940,
1420
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "188913c1-2bda-4e38-a3ba-8a3a574a8937",
"name": "Convert to File1",
"type": "n8n-nodes-base.convertToFile",
"position": [
180,
1120
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "788d471d-9069-4453-b0a2-1f7d02b3bfa1",
"name": "base",
"type": "n8n-nodes-base.set",
"position": [
0,
1120
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "ed432b2e-591a-41aa-80bc-909d5b1f76a8",
"name": "Edit Fields",
"type": "n8n-nodes-base.set",
"position": [
540,
1120
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "43cca877-16b3-41bd-b05b-b3e1c152bfd7",
"name": "mensagem_tipo",
"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": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
2200,
1340
],
"parameters": {},
"typeVersion": 3
},
{
"id": "77360555-fc36-45ff-ae57-81c27078f7ca",
"name": "Switch",
"type": "n8n-nodes-base.switch",
"position": [
2760,
1340
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "aebffc93-4190-4490-b5e9-2b2e9a97c2fb",
"name": "atualizar_prompt",
"type": "n8n-nodes-base.executeWorkflow",
"position": [
3180,
1080
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "53a6befd-cea0-47a4-a3b5-dca6b033442c",
"name": "tratamento",
"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
],
"parameters": {},
"typeVersion": 2
},
{
"id": "b1667935-b34f-47ad-a1b1-887854b55d15",
"name": "recepcionista",
"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": "classificador_de_intencao",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2440,
1340
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "a48d9f14-b6fe-49cf-9bdd-4daf1c041088",
"name": "Merge Database Data3",
"type": "n8n-nodes-base.aggregate",
"position": [
160,
20
],
"parameters": {},
"typeVersion": 1
},
{
"id": "94e34810-6b0a-49a8-a2b3-70b28088de7f",
"name": "excluir_conhecimento",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
3940,
1600
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "def3ddbe-8317-4240-9a93-4b7bfaf920e6",
"name": "config",
"type": "n8n-nodes-base.set",
"position": [
-820,
1160
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "8a2f094f-eaa8-4152-9fb3-4c45a93402b8",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-920,
1060
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3a2ed709-9091-479c-9f7f-e6d82e8566f5",
"name": "mensagem_cliente",
"type": "n8n-nodes-base.set",
"position": [
1640,
1320
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "7e662537-681f-497f-aad1-4827db08e4bc",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1dc6da1b-f750-4033-97b3-eb8c7652bcd1",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1600,
1200
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b9e4d7a5-0fdf-465b-acf8-f3b160502f38",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
920,
140
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d7d56279-4734-4b53-a05e-399dd4874b20",
"name": "Sticky Note10",
"type": "n8n-nodes-base.stickyNote",
"position": [
3620,
1280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0ce9550d-7880-4aa6-a538-fa8657186980",
"name": "mensagem_cliente_inicial",
"type": "n8n-nodes-base.set",
"position": [
820,
1120
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "ae823123-3b4c-4ae7-b47f-70933e1fdfd3",
"name": "deletar_arquivo",
"type": "n8n-nodes-base.postgres",
"position": [
920,
240
],
"parameters": {},
"typeVersion": 2.5,
"alwaysOutputData": true
},
{
"id": "01cc8857-474a-4649-a2a4-35041b45b7dd",
"name": "Postgres Chat Memory1",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
2520,
1540
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "88844d8e-2d75-4b8e-a86b-1b569d3dc98e",
"name": "deletar_conhecimento",
"type": "n8n-nodes-base.postgres",
"position": [
-780,
460
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "754dc315-dd63-4f64-b3e3-3d7669246f02",
"name": "Sticky Note11",
"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": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1180,
-140
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"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
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
How this works
This AI assistant handles incoming WhatsApp messages by retrieving relevant context from stored documents, generating thoughtful replies with GPT-4o, and responding via voice or text. It suits busy professionals and creators who need a reliable personal aide that remembers past conversations and manages daily tasks without constant oversight. The core step involves pulling conversation history and documents from Supabase, then feeding them into the language model for accurate, context-aware answers.
Use it when you require continuous, memory-backed support across multiple message threads. Avoid it for one-off queries or high-volume customer service, where simpler bots perform better. Common variations include swapping the voice output for text-only replies or adding calendar and email integrations.
About this workflow
Hi! I’m Amanda, a creator of intelligent automations using n8n and Make. I’ve been building AI-powered workflows for over 2 years, always focused on usability and innovation. This one here is very special to me – a truly advanced AI assistant that reads, listens, interprets and…
Source: https://n8n.io/workflows/3947/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Camila IA. Uses postgres, crypto, redis, agent. Webhook trigger; 92 nodes.
This workflow automates customer support across multiple channels (Email, Live Chat, WhatsApp, Slack, Discord) using AI-powered responses enhanced with Retrieval Augmented Generation (RAG) and your pr
This workflow automates multi-channel AI-driven sales engagement for lead qualification, service information delivery, and consultation booking. It integrates WhatsApp, Facebook Messenger, Instagram D
YouTube Agent. Uses supabase, agent, lmChatAnthropic, outputParserStructured. Webhook trigger; 56 nodes.
AI Multi-Document Analyzer with Smart Recommendations & Reporting