Chatbot Avancé + Agent RAG

Avancé

Ceci est unSupport, AIworkflow d'automatisation du domainecontenant 34 nœuds.Utilise principalement des nœuds comme Set, Webhook, GoogleDrive, HttpRequest, ManualTrigger, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Un chatbot de questions-réponses piloté par l'IA avec RAG, basé sur OpenAI, Google Sheets, Glide et Supabase

Prérequis
  • Point de terminaison HTTP Webhook (généré automatiquement par n8n)
  • Informations d'identification Google Drive API
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
  • Clé API OpenAI
  • Informations de connexion au serveur Qdrant
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "cqUkesdTBt1eb0Ny",
  "meta": {
    "instanceId": "5beb610c1ddaf0be11e46fd8edaf0e265560c93f1638f8638d6a8a7adf44f57e"
  },
  "name": "Advanced Chatbot+Rag Agent",
  "tags": [],
  "nodes": [
    {
      "id": "b1f01c72-c1bf-4729-9016-431c06270e92",
      "name": "n8n_order",
      "type": "n8n-nodes-base.webhook",
      "position": [
        0,
        240
      ],
      "webhookId": "9ff7a394-5b4b-4790-a96b-c41c4ba27fa5",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "063583e6-bb88-4c88-801b-fdd57e2b92a6",
      "name": "Google Calendar",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        2020,
        220
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "57e406c7-5b52-49c1-a4c6-bee15d97bdcd",
      "name": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1600,
        420
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c",
      "name": "Date de début du concert",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1640,
        220
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "b4556eea-381d-4ac2-8930-248043ed02e3",
      "name": "n8n_appointment",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1380,
        220
      ],
      "webhookId": "f5edfe92-649b-40da-ab35-f818ccb55ad4",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9f443fc4-e71a-4152-b304-c4a8cbf8abea",
      "name": "Récupérer le Qdrant Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        3260,
        420
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c9e4d71a-80db-45c9-8cb6-7d645c081de7",
      "name": "Embeddings OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        3220,
        600
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d70f8ef2-e252-4dca-acf5-cec60f80db7c",
      "name": "RAG",
      "type": "@n8n/n8n-nodes-langchain.toolVectorStore",
      "position": [
        3420,
        220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d9884de0-7389-4cd8-9657-80fffa95fe34",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3220,
        220
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "41441ea8-f3c0-4b36-8a47-f12e3a624866",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3580,
        440
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "51a0a38b-ab01-47b8-9665-0cbc2be623f6",
      "name": "Agent de récupération",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3300,
        0
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "6dc391c8-54bb-4223-b0fb-aa99ba9becb6",
      "name": "n8n_rag",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2880,
        0
      ],
      "webhookId": "edb1e894-1210-4902-a34f-a014bbdad8d8",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4461b2ea-9391-4d16-8e8a-9b5bd077f899",
      "name": "Réponse de suivi",
      "type": "n8n-nodes-base.set",
      "position": [
        700,
        240
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "16918647-88af-4a67-8798-e1a24c142d82",
      "name": "Réponse du calendrier",
      "type": "n8n-nodes-base.set",
      "position": [
        2220,
        220
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "758d752c-06ab-473c-8ebc-ccac5792207d",
      "name": "Webhook tracking response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1040,
        240
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "53c2db23-0b29-40a8-9c6c-66582785f363",
      "name": "API URL Tracking",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        360,
        240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "19d9fdf0-ee81-4a2b-9f23-f160ffc9ace9",
      "name": "Webhook calendar response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2420,
        220
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1404754e-362c-45a8-a48d-5bdd81903ed5",
      "name": "Analyseur de sortie structurée",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1860,
        420
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "50445cd1-d8e3-4132-b81c-29c61ab4c4e4",
      "name": "Webhook RAG response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3940,
        0
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e4aa410b-6c69-4a4f-a774-0d8dc18fa7d3",
      "name": "Note autocollante",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4400,
        -240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5849e29d-80bb-4b4b-b01c-5df0e125710d",
      "name": "Lors du clic sur 'Tester le workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1920,
        120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0393e143-7e02-4e25-bd1a-96ade644ee52",
      "name": "Qdrant Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        -620,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1a16e82c-1072-4a68-8e32-2ebb93afa211",
      "name": "Créer une collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -860,
        -80
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "2d995c22-3ac9-4714-a7b8-0f9d58b44385",
      "name": "Actualiser la collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1300,
        240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9830b153-1ec5-431a-b2a1-9434934eac79",
      "name": "Obtenir le dossier",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1080,
        240
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "f7b07a4d-19d6-4e92-9ad8-030bf4371227",
      "name": "Télécharger les fichiers",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -860,
        240
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "c7aab9a9-6972-4510-8534-cad58d2532df",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -640,
        440
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "992e7ef4-c08a-4c54-b2df-5489dcc91dcb",
      "name": "Chargeur de données par défaut",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        -460,
        440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "60b75454-0608-4f86-a9ed-ff55f0046615",
      "name": "Séparateur de tokens",
      "type": "@n8n/n8n-nodes-langchain.textSplitterTokenSplitter",
      "position": [
        -440,
        580
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a7e705e9-9896-46cd-9a69-41aa2e0b9c66",
      "name": "Note autocollante3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        -240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6d004528-4049-41f8-be6d-5a694780f352",
      "name": "Note autocollante4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d80d575d-8dc9-43e7-b14d-4a9d00a1330b",
      "name": "Note autocollante5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2820,
        -180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c82ee641-46fa-4534-b9ff-246caf46d60e",
      "name": "Note autocollante6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "091602c1-6c19-4dbd-885a-ba393068f6af",
      "name": "Note autocollante7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "87411f47-2164-4d91-9416-833740264b6f",
  "connections": {
    "d70f8ef2-e252-4dca-acf5-cec60f80db7c": {
      "ai_tool": [
        [
          {
            "node": "51a0a38b-ab01-47b8-9665-0cbc2be623f6",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "6dc391c8-54bb-4223-b0fb-aa99ba9becb6": {
      "main": [
        [
          {
            "node": "51a0a38b-ab01-47b8-9665-0cbc2be623f6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b1f01c72-c1bf-4729-9016-431c06270e92": {
      "main": [
        [
          {
            "node": "53c2db23-0b29-40a8-9c6c-66582785f363",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9830b153-1ec5-431a-b2a1-9434934eac79": {
      "main": [
        [
          {
            "node": "f7b07a4d-19d6-4e92-9ad8-030bf4371227",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "51a0a38b-ab01-47b8-9665-0cbc2be623f6": {
      "main": [
        [
          {
            "node": "50445cd1-d8e3-4132-b81c-29c61ab4c4e4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f7b07a4d-19d6-4e92-9ad8-030bf4371227": {
      "main": [
        [
          {
            "node": "0393e143-7e02-4e25-bd1a-96ade644ee52",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "60b75454-0608-4f86-a9ed-ff55f0046615": {
      "ai_textSplitter": [
        [
          {
            "node": "992e7ef4-c08a-4c54-b2df-5489dcc91dcb",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "063583e6-bb88-4c88-801b-fdd57e2b92a6": {
      "main": [
        [
          {
            "node": "16918647-88af-4a67-8798-e1a24c142d82",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b4556eea-381d-4ac2-8930-248043ed02e3": {
      "main": [
        [
          {
            "node": "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "53c2db23-0b29-40a8-9c6c-66582785f363": {
      "main": [
        [
          {
            "node": "4461b2ea-9391-4d16-8e8a-9b5bd077f899",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "16918647-88af-4a67-8798-e1a24c142d82": {
      "main": [
        [
          {
            "node": "19d9fdf0-ee81-4a2b-9f23-f160ffc9ace9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c7aab9a9-6972-4510-8534-cad58d2532df": {
      "ai_embedding": [
        [
          {
            "node": "0393e143-7e02-4e25-bd1a-96ade644ee52",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "4461b2ea-9391-4d16-8e8a-9b5bd077f899": {
      "main": [
        [
          {
            "node": "758d752c-06ab-473c-8ebc-ccac5792207d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c": {
      "main": [
        [
          {
            "node": "063583e6-bb88-4c88-801b-fdd57e2b92a6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c9e4d71a-80db-45c9-8cb6-7d645c081de7": {
      "ai_embedding": [
        [
          {
            "node": "9f443fc4-e71a-4152-b304-c4a8cbf8abea",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "41441ea8-f3c0-4b36-8a47-f12e3a624866": {
      "ai_languageModel": [
        [
          {
            "node": "d70f8ef2-e252-4dca-acf5-cec60f80db7c",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "d9884de0-7389-4cd8-9657-80fffa95fe34": {
      "ai_languageModel": [
        [
          {
            "node": "51a0a38b-ab01-47b8-9665-0cbc2be623f6",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "57e406c7-5b52-49c1-a4c6-bee15d97bdcd": {
      "ai_languageModel": [
        [
          {
            "node": "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "2d995c22-3ac9-4714-a7b8-0f9d58b44385": {
      "main": [
        [
          {
            "node": "9830b153-1ec5-431a-b2a1-9434934eac79",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "992e7ef4-c08a-4c54-b2df-5489dcc91dcb": {
      "ai_document": [
        [
          {
            "node": "0393e143-7e02-4e25-bd1a-96ade644ee52",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "1404754e-362c-45a8-a48d-5bdd81903ed5": {
      "ai_outputParser": [
        [
          {
            "node": "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "9f443fc4-e71a-4152-b304-c4a8cbf8abea": {
      "ai_vectorStore": [
        [
          {
            "node": "d70f8ef2-e252-4dca-acf5-cec60f80db7c",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    },
    "5849e29d-80bb-4b4b-b01c-5df0e125710d": {
      "main": [
        [
          {
            "node": "1a16e82c-1072-4a68-8e32-2ebb93afa211",
            "type": "main",
            "index": 0
          },
          {
            "node": "2d995c22-3ac9-4714-a7b8-0f9d58b44385",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

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é - Support, Intelligence Artificielle

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.

Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nœuds34
Catégorie2
Types de nœuds17
Description de la difficulté

Adapté aux utilisateurs avancés, avec des workflows complexes contenant 16+ nœuds

Auteur
Sam Yassine

Sam Yassine

@samyassine

AI Automation Expert | n8n Wizard | Workflow Simplifier I turn complex processes into powerful automations using n8n. Whether you're scaling your business or saving hours of manual work, I've got plug-and-play templates that bring AI and automation together—fast, smart, and easy. Let’s make your systems work for you.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34