Système automatisé de support client avec Gmail, GPT-4 et une base de connaissances vectorielle
Ceci est unAI RAG, Multimodal AIworkflow d'automatisation du domainecontenant 32 nœuds.Utilise principalement des nœuds comme If, Set, Code, Gmail, Telegram. Système automatisé de support client avec Gmail, GPT-4 et une base de connaissances vectorielle
- •Compte Google et informations d'identification Gmail API
- •Token Bot Telegram
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
- •Informations d'identification Google Sheets API
- •Clé API OpenAI
- •Informations de connexion au serveur Qdrant
Nœuds utilisés (32)
Catégorie
{
"meta": {
"instanceId": "b1b3b6962659881ba56842bd186156e739ee49465032539adf6dd86734a8d47a",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "dff6847c-c448-484d-9d17-b56038cdbb48",
"name": "Obtenir l'historique du fil",
"type": "n8n-nodes-base.gmail",
"position": [
-1824,
1808
],
"webhookId": "b9d2f8fc-ba53-4fdb-a7df-b01c297ffb87",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "6d7bcf76-5e0f-4c31-be1b-2eafee23e0d4",
"name": "Traiter l'historique du fil",
"type": "n8n-nodes-base.code",
"position": [
-1648,
1808
],
"parameters": {},
"typeVersion": 2
},
{
"id": "400f9dac-96ab-449d-be52-769f68f4ac9e",
"name": "Agent d'analyse IA",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-1088,
1984
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "33f40c6f-b611-47ad-b191-fc8580cdb0d9",
"name": "Traiter l'analyse IA",
"type": "n8n-nodes-base.set",
"position": [
-720,
1984
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "89979abb-b901-435a-a0c4-f730ed4bfa67",
"name": "Nécessite une escalade ?",
"type": "n8n-nodes-base.if",
"position": [
-304,
1984
],
"parameters": {},
"typeVersion": 2
},
{
"id": "a9668608-2076-4149-adb0-4f7a93c679c9",
"name": "Envoyer une réponse automatisée",
"type": "n8n-nodes-base.gmail",
"position": [
0,
1808
],
"webhookId": "fed72075-afad-49e2-a0c9-4421b72d133a",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "166db4bd-1247-45a5-99f2-e32f4059bfa7",
"name": "Créer un ticket dans Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
528,
1984
],
"parameters": {},
"typeVersion": 4.4
},
{
"id": "29592047-bfaa-4933-bea5-c80e0e5665f1",
"name": "Envoyer une mise à jour de statut",
"type": "n8n-nodes-base.telegram",
"position": [
768,
1984
],
"webhookId": "3c149149-0585-4c0c-8664-b307356652bc",
"parameters": {},
"executeOnce": true,
"typeVersion": 1.2
},
{
"id": "4e85fdfb-6b40-418a-a7d4-2475d0a6b7f3",
"name": "Gmail Trigger1",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-2416,
1984
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "1272297d-6f1e-49b6-b04c-6e2d1078ee07",
"name": "OpenAI Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1136,
2192
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e1287b4b-770e-489f-8f7b-3d6cbc7bdc19",
"name": "Magasin vectoriel Qdrant",
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"position": [
-960,
2192
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "c358ab1b-cb29-4a8f-8718-a9896b4440d1",
"name": "Embeddings Mistral Cloud",
"type": "@n8n/n8n-nodes-langchain.embeddingsMistralCloud",
"position": [
-960,
2320
],
"parameters": {},
"typeVersion": 1
},
{
"id": "87ba9f81-ad93-41b2-bc1d-cd0040f3d206",
"name": "Filtrer les nouveaux e-mails clients",
"type": "n8n-nodes-base.if",
"position": [
-2000,
1984
],
"parameters": {},
"typeVersion": 2
},
{
"id": "1b701c63-89c7-4ac6-bbec-745bf99a37a6",
"name": "Extraire les données de l'e-mail",
"type": "n8n-nodes-base.set",
"position": [
-2224,
1984
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "f71fd648-15df-433e-a2e4-ba51e5f1fdf3",
"name": "Agent d'analyse IA1",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-544,
2544
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "b6ab5fcd-0093-494b-93aa-76e574871b32",
"name": "Traiter l'analyse IA1",
"type": "n8n-nodes-base.set",
"position": [
-176,
2544
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "dad6b53e-cd97-448e-96eb-8751b2c72cc3",
"name": "OpenAI Chat Model2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-608,
2752
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "6c30cdd7-248a-4aca-a29a-9ee3014e7b74",
"name": "Magasin vectoriel Qdrant1",
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"position": [
-496,
2768
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "99d791ae-7fba-4a24-b5a8-65a18dc34548",
"name": "Embeddings Mistral Cloud1",
"type": "@n8n/n8n-nodes-langchain.embeddingsMistralCloud",
"position": [
-464,
2944
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a7f0f0c8-77b8-4b1e-bc17-8aa6d77004e2",
"name": "Analyseur de sortie structurée1",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-256,
2720
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "c17395d1-26ea-4097-98e6-39830febe824",
"name": "Note autocollante",
"type": "n8n-nodes-base.stickyNote",
"position": [
-880,
2448
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "7501e27e-cdb7-46fa-938f-83d1105857fa",
"name": "Étiquette 'Nécessite une revue humaine'",
"type": "n8n-nodes-base.gmail",
"position": [
80,
2112
],
"webhookId": "19e98ea6-9d91-460a-8c3a-5ed7601e5463",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "6b89232a-e6f1-455a-b2da-51829d0cdb5f",
"name": "Étiquette 'Résolu automatiquement'",
"type": "n8n-nodes-base.gmail",
"position": [
304,
1808
],
"webhookId": "19e98ea6-9d91-460a-8c3a-5ed7601e5463",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "1de2ebce-9b6e-402a-8653-21b2e1fb0956",
"name": "Agrégateur",
"type": "n8n-nodes-base.aggregate",
"position": [
-1456,
1808
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a5ded5ae-ce8f-4d7c-ab5c-4ecbbd19ead5",
"name": "Modifier les champs",
"type": "n8n-nodes-base.set",
"position": [
-528,
1984
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "c2c9d1d2-78cc-4342-abe8-55a40c3d1c77",
"name": "Modifier les champs1",
"type": "n8n-nodes-base.set",
"position": [
-1328,
1984
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "92ecd5f5-0324-4139-8065-549dfeeddf3f",
"name": "À la soumission du formulaire",
"type": "n8n-nodes-base.formTrigger",
"position": [
-2416,
2736
],
"webhookId": "5aa2c420-a473-4422-8128-b2861c0f0e9c",
"parameters": {},
"typeVersion": 2.2
},
{
"id": "25557f12-f0ca-4412-b069-a8acafe28563",
"name": "Chargeur de données par défaut1",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
-1712,
2912
],
"parameters": {},
"typeVersion": 1
},
{
"id": "624b7d08-9f53-4e7a-8d28-86cb03ea1d0e",
"name": "Séparateur de texte récursif",
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"position": [
-1696,
3072
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4a588f35-5bc1-42f1-811d-6efe27fc1803",
"name": "Créer une collection1",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueRegularOutput",
"disabled": true,
"position": [
-2160,
2528
],
"parameters": {},
"typeVersion": 4.2,
"alwaysOutputData": true
},
{
"id": "db044436-a22a-409e-940e-5863d7d177a2",
"name": "Magasin vectoriel Qdrant2",
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"position": [
-1856,
2736
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "aa3f2a30-b780-4317-8884-a2e3c7da6952",
"name": "Embeddings Mistral Cloud2",
"type": "@n8n/n8n-nodes-langchain.embeddingsMistralCloud",
"position": [
-1888,
2912
],
"parameters": {},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"1de2ebce-9b6e-402a-8653-21b2e1fb0956": {
"main": [
[
{
"node": "c2c9d1d2-78cc-4342-abe8-55a40c3d1c77",
"type": "main",
"index": 0
}
]
]
},
"a5ded5ae-ce8f-4d7c-ab5c-4ecbbd19ead5": {
"main": [
[
{
"node": "89979abb-b901-435a-a0c4-f730ed4bfa67",
"type": "main",
"index": 0
}
]
]
},
"c2c9d1d2-78cc-4342-abe8-55a40c3d1c77": {
"main": [
[
{
"node": "400f9dac-96ab-449d-be52-769f68f4ac9e",
"type": "main",
"index": 0
}
]
]
},
"4e85fdfb-6b40-418a-a7d4-2475d0a6b7f3": {
"main": [
[
{
"node": "1b701c63-89c7-4ac6-bbec-745bf99a37a6",
"type": "main",
"index": 0
}
]
]
},
"400f9dac-96ab-449d-be52-769f68f4ac9e": {
"main": [
[
{
"node": "33f40c6f-b611-47ad-b191-fc8580cdb0d9",
"type": "main",
"index": 0
}
]
]
},
"89979abb-b901-435a-a0c4-f730ed4bfa67": {
"main": [
[
{
"node": "7501e27e-cdb7-46fa-938f-83d1105857fa",
"type": "main",
"index": 0
}
],
[
{
"node": "a9668608-2076-4149-adb0-4f7a93c679c9",
"type": "main",
"index": 0
},
{
"node": "6b89232a-e6f1-455a-b2da-51829d0cdb5f",
"type": "main",
"index": 0
}
]
]
},
"f71fd648-15df-433e-a2e4-ba51e5f1fdf3": {
"main": [
[
{
"node": "b6ab5fcd-0093-494b-93aa-76e574871b32",
"type": "main",
"index": 0
}
]
]
},
"1b701c63-89c7-4ac6-bbec-745bf99a37a6": {
"main": [
[
{
"node": "87ba9f81-ad93-41b2-bc1d-cd0040f3d206",
"type": "main",
"index": 0
}
]
]
},
"dff6847c-c448-484d-9d17-b56038cdbb48": {
"main": [
[
{
"node": "6d7bcf76-5e0f-4c31-be1b-2eafee23e0d4",
"type": "main",
"index": 0
}
]
]
},
"92ecd5f5-0324-4139-8065-549dfeeddf3f": {
"main": [
[
{
"node": "4a588f35-5bc1-42f1-811d-6efe27fc1803",
"type": "main",
"index": 0
},
{
"node": "db044436-a22a-409e-940e-5863d7d177a2",
"type": "main",
"index": 0
}
]
]
},
"1272297d-6f1e-49b6-b04c-6e2d1078ee07": {
"ai_languageModel": [
[
{
"node": "400f9dac-96ab-449d-be52-769f68f4ac9e",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"dad6b53e-cd97-448e-96eb-8751b2c72cc3": {
"ai_languageModel": [
[
{
"node": "f71fd648-15df-433e-a2e4-ba51e5f1fdf3",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"6b89232a-e6f1-455a-b2da-51829d0cdb5f": {
"main": [
[
{
"node": "166db4bd-1247-45a5-99f2-e32f4059bfa7",
"type": "main",
"index": 0
}
]
]
},
"33f40c6f-b611-47ad-b191-fc8580cdb0d9": {
"main": [
[
{
"node": "a5ded5ae-ce8f-4d7c-ab5c-4ecbbd19ead5",
"type": "main",
"index": 0
}
]
]
},
"e1287b4b-770e-489f-8f7b-3d6cbc7bdc19": {
"ai_tool": [
[
{
"node": "400f9dac-96ab-449d-be52-769f68f4ac9e",
"type": "ai_tool",
"index": 0
}
]
]
},
"25557f12-f0ca-4412-b069-a8acafe28563": {
"ai_document": [
[
{
"node": "db044436-a22a-409e-940e-5863d7d177a2",
"type": "ai_document",
"index": 0
}
]
]
},
"6c30cdd7-248a-4aca-a29a-9ee3014e7b74": {
"ai_tool": [
[
{
"node": "f71fd648-15df-433e-a2e4-ba51e5f1fdf3",
"type": "ai_tool",
"index": 0
}
]
]
},
"a9668608-2076-4149-adb0-4f7a93c679c9": {
"main": [
[
{
"node": "166db4bd-1247-45a5-99f2-e32f4059bfa7",
"type": "main",
"index": 0
}
]
]
},
"6d7bcf76-5e0f-4c31-be1b-2eafee23e0d4": {
"main": [
[
{
"node": "1de2ebce-9b6e-402a-8653-21b2e1fb0956",
"type": "main",
"index": 0
}
]
]
},
"c358ab1b-cb29-4a8f-8718-a9896b4440d1": {
"ai_embedding": [
[
{
"node": "e1287b4b-770e-489f-8f7b-3d6cbc7bdc19",
"type": "ai_embedding",
"index": 0
}
]
]
},
"7501e27e-cdb7-46fa-938f-83d1105857fa": {
"main": [
[
{
"node": "166db4bd-1247-45a5-99f2-e32f4059bfa7",
"type": "main",
"index": 0
}
]
]
},
"99d791ae-7fba-4a24-b5a8-65a18dc34548": {
"ai_embedding": [
[
{
"node": "6c30cdd7-248a-4aca-a29a-9ee3014e7b74",
"type": "ai_embedding",
"index": 0
}
]
]
},
"aa3f2a30-b780-4317-8884-a2e3c7da6952": {
"ai_embedding": [
[
{
"node": "db044436-a22a-409e-940e-5863d7d177a2",
"type": "ai_embedding",
"index": 0
}
]
]
},
"a7f0f0c8-77b8-4b1e-bc17-8aa6d77004e2": {
"ai_outputParser": [
[
{
"node": "f71fd648-15df-433e-a2e4-ba51e5f1fdf3",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"87ba9f81-ad93-41b2-bc1d-cd0040f3d206": {
"main": [
[
{
"node": "c2c9d1d2-78cc-4342-abe8-55a40c3d1c77",
"type": "main",
"index": 0
}
],
[
{
"node": "dff6847c-c448-484d-9d17-b56038cdbb48",
"type": "main",
"index": 0
}
]
]
},
"166db4bd-1247-45a5-99f2-e32f4059bfa7": {
"main": [
[
{
"node": "29592047-bfaa-4933-bea5-c80e0e5665f1",
"type": "main",
"index": 0
}
]
]
},
"624b7d08-9f53-4e7a-8d28-86cb03ea1d0e": {
"ai_textSplitter": [
[
{
"node": "25557f12-f0ca-4412-b069-a8acafe28563",
"type": "ai_textSplitter",
"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é - RAG IA, 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
Khair Ahammed
@khair1212Automation engineer with over 2 years of experience specializing in building scalable and reliable automation solutions using n8n and other cutting-edge tools. With expertise in workflow optimization, API integrations, and process automation, I help businesses streamline their operations and eliminate repetitive tasks.
Partager ce workflow