Discuter avec des documents via RAG : de Google Drive à GPT-5, avec une base de données vectorielle Supabase
Ceci est unInternal Wiki, Multimodal AIworkflow d'automatisation du domainecontenant 30 nœuds.Utilise principalement des nœuds comme Set, Gmail, Slack, SplitOut, Telegram. Dialoguer avec des documents via RAG : de Google Drive à GPT-5, en utilisant la base de vecteurs Supabase
- •Compte Google et informations d'identification Gmail API
- •Token Bot Slack ou URL Webhook
- •Token Bot Telegram
- •Informations d'identification Google Drive API
- •Clé API OpenAI
- •Informations de connexion à la base de données PostgreSQL
- •URL et Clé API Supabase
Nœuds utilisés (30)
Catégorie
{
"meta": {
"instanceId": "e7ccf4281d5afb175c79c02db95b45f15d5b53862cb6bc357c5e5bc26567f35c",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "dfe1ae3f-fd2c-4cec-a81e-82e7de790096",
"name": "Télécharger le fichier4",
"type": "n8n-nodes-base.googleDrive",
"position": [
-592,
240
],
"parameters": {},
"executeOnce": true,
"typeVersion": 3
},
{
"id": "b85b554c-ae75-4f11-a638-7398215d14bf",
"name": "Diviser Out1",
"type": "n8n-nodes-base.splitOut",
"position": [
-256,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6ae0af49-4d04-4415-ac85-4eeee3dbb7f9",
"name": "Chargeur de données par défaut4",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
0,
480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3a904246-7878-436f-a12d-d5a164f1d33b",
"name": "Embeddings OpenAI8",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
-176,
400
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c3feb2c0-e711-4f21-99ff-3fc5b1593a73",
"name": "Séparateur de texte caractère4",
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"position": [
64,
752
],
"parameters": {},
"typeVersion": 1
},
{
"id": "dc9e6f60-3996-4098-b227-f83a8a9e16c6",
"name": "Insérer dans Supabase Vectorstore3",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
-48,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "63f2dbfe-15f1-427d-84ca-ae25a734bc31",
"name": "Créer un fichier",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-752,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f5642a04-3818-4f9c-89e8-d27e8586d4ee",
"name": "Note adhésive",
"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": "Note adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-496,
176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ecdf1a61-cbd4-4d95-86c7-3178d9e9ebb6",
"name": "Note adhésive2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
128
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "27b562c8-1708-4177-bc8d-0132c1bab584",
"name": "Note adhésive3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
672
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2a433682-be25-4f10-b38b-e56cbe6934f4",
"name": "Supabase Vector Store",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
-160,
-240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7148a746-a723-468f-86df-4aa42fda3e06",
"name": "Embeddings OpenAI6",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
-112,
-80
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "8b9790ea-f753-4586-b1e1-6df39bb955bd",
"name": "Mémoire de chat",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
-544,
-192
],
"parameters": {},
"notesInFlow": false,
"typeVersion": 1
},
{
"id": "17e8e483-d9c0-49b7-98f9-7b615820452c",
"name": "Quand un message de chat est reçu",
"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": "Note adhésive4",
"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": "Agent RAG",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-448,
-528
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "614d9174-a893-464c-ae0c-28b54bb0564d",
"name": "Note adhésive5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2496,
-1040
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1cd60b8b-b70d-4ba5-b59c-415a781604d5",
"name": "Slack Trigger",
"type": "n8n-nodes-base.slackTrigger",
"position": [
-1552,
-512
],
"webhookId": "74ec72e0-6007-4f91-9767-245bd2822825",
"parameters": {},
"typeVersion": 1
},
{
"id": "559fcf34-5d23-4298-991f-9ec189e9bb1a",
"name": "Telegram Trigger",
"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": "Gmail Trigger",
"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": "Modifier les champs",
"type": "n8n-nodes-base.set",
"position": [
-848,
-528
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "9ac97ba9-4982-49d4-a10c-d7b60bdfa1a1",
"name": "Envoyer un message texte",
"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": "Envoyer un message",
"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": "Envoyer un message",
"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": "Envoyer un message1",
"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": "Note adhésive6",
"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": "578aec7d-fa0a-4996-a300-9339b49805e0",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"578aec7d-fa0a-4996-a300-9339b49805e0": {
"main": [
[
{
"node": "9ac97ba9-4982-49d4-a10c-d7b60bdfa1a1",
"type": "main",
"index": 0
},
{
"node": "b9e9b89c-3849-4d35-9f72-e3a94e179926",
"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": "578aec7d-fa0a-4996-a300-9339b49805e0",
"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": "578aec7d-fa0a-4996-a300-9339b49805e0",
"type": "main",
"index": 0
}
]
]
},
"92f872f7-787a-49a9-a8e8-08713ecf78ab": {
"main": [
[
{
"node": "21e7f363-afcd-4dd0-961d-dc5f9df1f06a",
"type": "main",
"index": 0
}
]
]
},
"1cd60b8b-b70d-4ba5-b59c-415a781604d5": {
"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
}
]
]
},
"559fcf34-5d23-4298-991f-9ec189e9bb1a": {
"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
}
]
]
},
"7148a746-a723-468f-86df-4aa42fda3e06": {
"ai_embedding": [
[
{
"node": "2a433682-be25-4f10-b38b-e56cbe6934f4",
"type": "ai_embedding",
"index": 0
}
]
]
},
"3a904246-7878-436f-a12d-d5a164f1d33b": {
"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
}
]
]
},
"2a433682-be25-4f10-b38b-e56cbe6934f4": {
"ai_tool": [
[
{
"node": "578aec7d-fa0a-4996-a300-9339b49805e0",
"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": "578aec7d-fa0a-4996-a300-9339b49805e0",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Avancé - Wiki interne, IA Multimodale
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
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.
Partager ce workflow