Dialogar con documentos a través de RAG: desde Google Drive hasta GPT-5, utilizando la base de datos vectorial de Supabase
Este es unInternal Wiki, Multimodal AIflujo de automatización del dominio deautomatización que contiene 30 nodos.Utiliza principalmente nodos como Set, Gmail, Slack, SplitOut, Telegram. Dialogar con documentos mediante RAG: desde Google Drive hasta GPT-5, usando la base de datos vectorial Supabase
- •Cuenta de Google y credenciales de API de Gmail
- •Bot Token de Slack o URL de Webhook
- •Bot Token de Telegram
- •Credenciales de API de Google Drive
- •Clave de API de OpenAI
- •Información de conexión de la base de datos PostgreSQL
- •URL y Clave de API de Supabase
Nodos utilizados (30)
Categoría
{
"meta": {
"instanceId": "e7ccf4281d5afb175c79c02db95b45f15d5b53862cb6bc357c5e5bc26567f35c",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "dfe1ae3f-fd2c-4cec-a81e-82e7de790096",
"name": "Descargar Archivo4",
"type": "n8n-nodes-base.googleDrive",
"position": [
-592,
240
],
"parameters": {},
"executeOnce": true,
"typeVersion": 3
},
{
"id": "b85b554c-ae75-4f11-a638-7398215d14bf",
"name": "Dividir Salida1",
"type": "n8n-nodes-base.splitOut",
"position": [
-256,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6ae0af49-4d04-4415-ac85-4eeee3dbb7f9",
"name": "Cargador de Datos Predeterminado4",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
0,
480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3a904246-7878-436f-a12d-d5a164f1d33b",
"name": "Incrustaciones OpenAI8",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
-176,
400
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c3feb2c0-e711-4f21-99ff-3fc5b1593a73",
"name": "Divisor de Texto por Caracteres4",
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"position": [
64,
752
],
"parameters": {},
"typeVersion": 1
},
{
"id": "dc9e6f60-3996-4098-b227-f83a8a9e16c6",
"name": "Insertar en Supabase Vectorstore3",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
-48,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "63f2dbfe-15f1-427d-84ca-ae25a734bc31",
"name": "Crear archivo",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-752,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f5642a04-3818-4f9c-89e8-d27e8586d4ee",
"name": "Nota Adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
-784,
160
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "bc75067f-e18d-4b22-8b27-57caff76c9f2",
"name": "OCR",
"type": "n8n-nodes-base.mistralAi",
"position": [
-432,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ad37191b-2847-4416-9c44-e80045ab67c9",
"name": "Nota Adhesiva1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-496,
176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ecdf1a61-cbd4-4d95-86c7-3178d9e9ebb6",
"name": "Nota Adhesiva2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
128
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "27b562c8-1708-4177-bc8d-0132c1bab584",
"name": "Nota Adhesiva3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
672
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2a433682-be25-4f10-b38b-e56cbe6934f4",
"name": "Supabase Almacén de vectores",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
-160,
-240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7148a746-a723-468f-86df-4aa42fda3e06",
"name": "Incrustaciones OpenAI6",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
-112,
-80
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "8b9790ea-f753-4586-b1e1-6df39bb955bd",
"name": "Memoria de Chat",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
-544,
-192
],
"parameters": {},
"notesInFlow": false,
"typeVersion": 1
},
{
"id": "17e8e483-d9c0-49b7-98f9-7b615820452c",
"name": "Cuando se recibe mensaje de chat",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-1216,
-224
],
"webhookId": "dcbda26a-6bb2-4b80-8fcc-09660c04ddee",
"parameters": {},
"typeVersion": 1.3
},
{
"id": "90f9af99-eb0c-4921-b8dd-db0238d659b8",
"name": "Nota Adhesiva4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-800,
-288
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "376403c7-50c6-41b8-a487-4f5a6af44af4",
"name": "GPT 5",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-736,
-192
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "578aec7d-fa0a-4996-a300-9339b49805e0",
"name": "Agentee RAG",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-448,
-528
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "614d9174-a893-464c-ae0c-28b54bb0564d",
"name": "Nota Adhesiva5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2496,
-1040
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1cd60b8b-b70d-4ba5-b59c-415a781604d5",
"name": "Disparador de Slack",
"type": "n8n-nodes-base.slackTrigger",
"position": [
-1552,
-512
],
"webhookId": "74ec72e0-6007-4f91-9767-245bd2822825",
"parameters": {},
"typeVersion": 1
},
{
"id": "559fcf34-5d23-4298-991f-9ec189e9bb1a",
"name": "Disparador de Telegram",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-1536,
-864
],
"webhookId": "d68442bd-ea54-4190-ad36-1b413aa6efb9",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "92f872f7-787a-49a9-a8e8-08713ecf78ab",
"name": "Disparador de Gmail",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-1536,
-704
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "dfca2c74-9f66-4fb6-a3c4-922dae558452",
"name": "WhatsApp Trigger",
"type": "n8n-nodes-base.whatsAppTrigger",
"disabled": true,
"position": [
-1552,
-320
],
"webhookId": "e744ea57-9ad4-40bb-b468-bf51d8295373",
"parameters": {},
"typeVersion": 1
},
{
"id": "21e7f363-afcd-4dd0-961d-dc5f9df1f06a",
"name": "Editar Campos",
"type": "n8n-nodes-base.set",
"position": [
-848,
-528
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "9ac97ba9-4982-49d4-a10c-d7b60bdfa1a1",
"name": "Enviar mensaje de texto",
"type": "n8n-nodes-base.telegram",
"position": [
272,
-784
],
"webhookId": "be0f5e9f-0231-43f3-8ee7-cc02ab9ac01f",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "9ff5abc5-e467-4acb-9554-a6661fb6597a",
"name": "Enviar mensaje",
"type": "n8n-nodes-base.whatsApp",
"disabled": true,
"position": [
272,
-624
],
"webhookId": "21ce03e2-b672-49f5-8e5e-f187a644523e",
"parameters": {},
"typeVersion": 1
},
{
"id": "b9e9b89c-3849-4d35-9f72-e3a94e179926",
"name": "Enviar un mensaje",
"type": "n8n-nodes-base.slack",
"position": [
272,
-448
],
"webhookId": "1eeadb85-d39f-4373-be60-f2ba89fee6e3",
"parameters": {},
"typeVersion": 2.3
},
{
"id": "748940f6-f906-4d83-8144-43fc809b802a",
"name": "Enviar un mensaje1",
"type": "n8n-nodes-base.gmail",
"position": [
272,
-272
],
"webhookId": "39551306-44d1-45a0-947c-8ed49c46edce",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "8ae36f9b-ed19-4de1-a9af-961d1391373a",
"name": "Nota Adhesiva6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1632,
-1040
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"bc75067f-e18d-4b22-8b27-57caff76c9f2": {
"main": [
[
{
"node": "b85b554c-ae75-4f11-a638-7398215d14bf",
"type": "main",
"index": 0
}
]
]
},
"376403c7-50c6-41b8-a487-4f5a6af44af4": {
"ai_languageModel": [
[
{
"node": "Agente RAG",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Agente RAG": {
"main": [
[
{
"node": "9ac97ba9-4982-49d4-a10c-d7b60bdfa1a1",
"type": "main",
"index": 0
},
{
"node": "9ff5abc5-e467-4acb-9554-a6661fb6597a",
"type": "main",
"index": 0
},
{
"node": "b9e9b89c-3849-4d35-9f72-e3a94e179926",
"type": "main",
"index": 0
},
{
"node": "748940f6-f906-4d83-8144-43fc809b802a",
"type": "main",
"index": 0
}
]
]
},
"b85b554c-ae75-4f11-a638-7398215d14bf": {
"main": [
[
{
"node": "dc9e6f60-3996-4098-b227-f83a8a9e16c6",
"type": "main",
"index": 0
}
]
]
},
"8b9790ea-f753-4586-b1e1-6df39bb955bd": {
"ai_memory": [
[
{
"node": "Agente RAG",
"type": "ai_memory",
"index": 0
}
]
]
},
"63f2dbfe-15f1-427d-84ca-ae25a734bc31": {
"main": [
[
{
"node": "dfe1ae3f-fd2c-4cec-a81e-82e7de790096",
"type": "main",
"index": 0
}
]
]
},
"21e7f363-afcd-4dd0-961d-dc5f9df1f06a": {
"main": [
[
{
"node": "Agente RAG",
"type": "main",
"index": 0
}
]
]
},
"Gmail Trigger": {
"main": [
[
{
"node": "21e7f363-afcd-4dd0-961d-dc5f9df1f06a",
"type": "main",
"index": 0
}
]
]
},
"Slack Trigger": {
"main": [
[
{
"node": "21e7f363-afcd-4dd0-961d-dc5f9df1f06a",
"type": "main",
"index": 0
}
]
]
},
"dfe1ae3f-fd2c-4cec-a81e-82e7de790096": {
"main": [
[
{
"node": "bc75067f-e18d-4b22-8b27-57caff76c9f2",
"type": "main",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "21e7f363-afcd-4dd0-961d-dc5f9df1f06a",
"type": "main",
"index": 0
}
]
]
},
"dfca2c74-9f66-4fb6-a3c4-922dae558452": {
"main": [
[
{
"node": "21e7f363-afcd-4dd0-961d-dc5f9df1f06a",
"type": "main",
"index": 0
}
]
]
},
"Embeddings OpenAI6": {
"ai_embedding": [
[
{
"node": "Supabase Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Embeddings OpenAI8": {
"ai_embedding": [
[
{
"node": "dc9e6f60-3996-4098-b227-f83a8a9e16c6",
"type": "ai_embedding",
"index": 0
}
]
]
},
"6ae0af49-4d04-4415-ac85-4eeee3dbb7f9": {
"ai_document": [
[
{
"node": "dc9e6f60-3996-4098-b227-f83a8a9e16c6",
"type": "ai_document",
"index": 0
}
]
]
},
"Supabase Vector Store": {
"ai_tool": [
[
{
"node": "Agente RAG",
"type": "ai_tool",
"index": 0
}
]
]
},
"c3feb2c0-e711-4f21-99ff-3fc5b1593a73": {
"ai_textSplitter": [
[
{
"node": "6ae0af49-4d04-4415-ac85-4eeee3dbb7f9",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"17e8e483-d9c0-49b7-98f9-7b615820452c": {
"main": [
[
{
"node": "Agente RAG",
"type": "main",
"index": 0
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Avanzado - Wiki interno, IA Multimodal
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
Paul
@diagoplAutomation expert & n8n power user. I build advanced workflows combining AI, outbound, and business logic. Grab my templates or reach out for custom builds.
Compartir este flujo de trabajo