Erweiterter Chatbot + RAG-Agent

Experte

Dies ist ein Support, AI-Bereich Automatisierungsworkflow mit 34 Nodes. Hauptsächlich werden Set, Webhook, GoogleDrive, HttpRequest, ManualTrigger und andere Nodes verwendet, kombiniert mit KI-Technologie für intelligente Automatisierung. Ein KI-gesteuerter RAG-Frage-Antwort-Chatbot basierend auf OpenAI, Google Sheets, Glide und Supabase

Voraussetzungen
  • HTTP Webhook-Endpunkt (wird von n8n automatisch generiert)
  • Google Drive API-Anmeldedaten
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
  • OpenAI API Key
  • Qdrant-Serververbindungsdaten
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "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 Kalender",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        2020,
        220
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "57e406c7-5b52-49c1-a4c6-bee15d97bdcd",
      "name": "OpenAI-Chat-Modell3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1600,
        420
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c",
      "name": "Konzertstartdatum",
      "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": "Qdrant Vektorspeicher abrufen",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        3260,
        420
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c9e4d71a-80db-45c9-8cb6-7d645c081de7",
      "name": "Einbettungen 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-Modell2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3220,
        220
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "41441ea8-f3c0-4b36-8a47-f12e3a624866",
      "name": "OpenAI-Chat-Modell1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3580,
        440
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "51a0a38b-ab01-47b8-9665-0cbc2be623f6",
      "name": "Agent abrufen",
      "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": "Tracking-Antwort",
      "type": "n8n-nodes-base.set",
      "position": [
        700,
        240
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "16918647-88af-4a67-8798-e1a24c142d82",
      "name": "Kalenderantwort",
      "type": "n8n-nodes-base.set",
      "position": [
        2220,
        220
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "758d752c-06ab-473c-8ebc-ccac5792207d",
      "name": "Webhook-Trigger 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-Trigger calendar response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2420,
        220
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1404754e-362c-45a8-a48d-5bdd81903ed5",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1860,
        420
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "50445cd1-d8e3-4132-b81c-29c61ab4c4e4",
      "name": "Webhook-Trigger RAG response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3940,
        0
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e4aa410b-6c69-4a4f-a774-0d8dc18fa7d3",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4400,
        -240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5849e29d-80bb-4b4b-b01c-5df0e125710d",
      "name": "Bei Klick auf 'Workflow testen'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1920,
        120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0393e143-7e02-4e25-bd1a-96ade644ee52",
      "name": "Qdrant Vektorspeicher",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        -620,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1a16e82c-1072-4a68-8e32-2ebb93afa211",
      "name": "Sammlung erstellen",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -860,
        -80
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "2d995c22-3ac9-4714-a7b8-0f9d58b44385",
      "name": "Sammlung aktualisieren",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1300,
        240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9830b153-1ec5-431a-b2a1-9434934eac79",
      "name": "Ordner abrufen",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1080,
        240
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "f7b07a4d-19d6-4e92-9ad8-030bf4371227",
      "name": "Dateien herunterladen",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -860,
        240
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "c7aab9a9-6972-4510-8534-cad58d2532df",
      "name": "Einbettungen OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -640,
        440
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "992e7ef4-c08a-4c54-b2df-5489dcc91dcb",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        -460,
        440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "60b75454-0608-4f86-a9ed-ff55f0046615",
      "name": "Token Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterTokenSplitter",
      "position": [
        -440,
        580
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a7e705e9-9896-46cd-9a69-41aa2e0b9c66",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        -240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6d004528-4049-41f8-be6d-5a694780f352",
      "name": "Haftnotiz4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d80d575d-8dc9-43e7-b14d-4a9d00a1330b",
      "name": "Haftnotiz5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2820,
        -180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c82ee641-46fa-4534-b9ff-246caf46d60e",
      "name": "Haftnotiz6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "091602c1-6c19-4dbd-885a-ba393068f6af",
      "name": "Haftnotiz7",
      "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": "Webhook RAG response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f7b07a4d-19d6-4e92-9ad8-030bf4371227": {
      "main": [
        [
          {
            "node": "Qdrant Vector Store",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "60b75454-0608-4f86-a9ed-ff55f0046615": {
      "ai_textSplitter": [
        [
          {
            "node": "992e7ef4-c08a-4c54-b2df-5489dcc91dcb",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar": {
      "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": "Webhook calendar response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Qdrant Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "4461b2ea-9391-4d16-8e8a-9b5bd077f899": {
      "main": [
        [
          {
            "node": "Webhook tracking response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c": {
      "main": [
        [
          {
            "node": "Google Calendar",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI2": {
      "ai_embedding": [
        [
          {
            "node": "Qdrant Vector Store abrufen",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "d70f8ef2-e252-4dca-acf5-cec60f80db7c",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "51a0a38b-ab01-47b8-9665-0cbc2be623f6",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "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": "Qdrant Vector Store",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "1404754e-362c-45a8-a48d-5bdd81903ed5": {
      "ai_outputParser": [
        [
          {
            "node": "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Qdrant Vector Store abrufen": {
      "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
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Experte - Support, Künstliche Intelligenz

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Experte
Anzahl der Nodes34
Kategorie2
Node-Typen17
Schwierigkeitsbeschreibung

Für fortgeschrittene Benutzer, komplexe Workflows mit 16+ Nodes

Autor
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.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34