Grok-4-Kundensupport-Agent [RAG]

Fortgeschritten

Dies ist ein Support Chatbot, AI RAG-Bereich Automatisierungsworkflow mit 10 Nodes. Hauptsächlich werden Telegram, GoogleDocsTool, Agent, TelegramTrigger, LmChatXAiGrok und andere Nodes verwendet. Ein Kunden-Support-Agent [RAG] mit Grok-4, Google Docs und Telegram erstellen

Voraussetzungen
  • Telegram Bot Token
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": "",
  "meta": {},
  "name": "Grok-4 Customer Support Agent [RAG]",
  "tags": [],
  "nodes": [
    {
      "id": "c459cd5e-837e-4f32-aef0-af8fd0e2a1e8",
      "name": "Telegram-Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -100,
        0
      ],
      "webhookId": "6f8fe019-91ed-4a74-a811-edbc6f9b1c16",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "",
          "name": "YOUR_TELEGRAMAPI_CREDENTIAL"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "b1ce2d6d-766c-44be-ba05-15af7ad25826",
      "name": "xAI Grok Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatXAiGrok",
      "position": [
        140,
        220
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "xAiApi": {
          "id": "",
          "name": "YOUR_XAIAPI_CREDENTIAL"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "034b4be6-f8a0-449f-b4df-6624c0d5419d",
      "name": "Simple Speicher",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        340,
        220
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "a9f303d6-f341-4237-ba4a-b871fd98d0e8",
      "name": "Google Docs",
      "type": "n8n-nodes-base.googleDocsTool",
      "position": [
        500,
        220
      ],
      "parameters": {
        "operation": "get",
        "documentURL": "https://docs.google.com/document/d/YOUR_DOC_ID/edit"
      },
      "credentials": {
        "googleDocsOAuth2Api": {
          "id": "",
          "name": "YOUR_GOOGLEDOCSOAUTH2API_CREDENTIAL"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "4ed55e57-7143-4882-bad7-428e56018d54",
      "name": "Grok 4 Customer Support Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        220,
        0
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 2
    },
    {
      "id": "dc23ec70-fb68-4be0-b9ea-cf84209a607a",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        720,
        0
      ],
      "webhookId": "be0498a1-712c-4efe-af95-c6ed6dc04e60",
      "parameters": {
        "text": "YOUR_RESPONSE_TEXT",
        "chatId": "YOUR_CHAT_ID",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "",
          "name": "YOUR_TELEGRAMAPI_CREDENTIAL"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "e225dc2b-60fb-4892-a752-cd967af3c87d",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        -140
      ],
      "parameters": {
        "color": 2,
        "height": 540,
        "content": "Telegram Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "5f23ab98-e24c-4298-90ab-066a1510fea0",
      "name": "Haftnotiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        60,
        -140
      ],
      "parameters": {
        "color": 3,
        "width": 580,
        "height": 540,
        "content": "Grok-4 Customer Support Agent with Preloaded Doc"
      },
      "typeVersion": 1
    },
    {
      "id": "febe1849-3b12-4470-b9a0-78ee90b661c3",
      "name": "Haftnotiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        -140
      ],
      "parameters": {
        "color": 5,
        "width": 280,
        "height": 540,
        "content": "Telegram Output"
      },
      "typeVersion": 1
    },
    {
      "id": "9700b7cd-f63e-4573-97de-97f396caa67e",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        -140
      ],
      "parameters": {
        "width": 580,
        "height": 880,
        "content": "🤖 Grok-4 Customer Support Agent with Document-Based Intelligence\nTemplate Description:\nThis workflow creates a smart, AI-powered customer support agent using Grok-4 that can answer questions based on a preloaded Google Doc knowledge base. It listens for incoming customer queries via Telegram, then uses Grok-4’s language reasoning + memory features to generate helpful responses pulled directly from the doc.\n\nWatch the Step-by-Step Tutorial of this Workflow: https://www.youtube.com/watch?v=OXzsh-Ba-8Y&t=2s\n\nIt’s perfect for solopreneurs, startups, or businesses that want to:\nAutomate first-level support\nBuild a Telegram-based knowledge agent\nAnswer FAQs using internal docs (like manuals, policies, product details)\n\n🔍 How It Works:\nTelegram Trigger – Listens for incoming messages from users\n\nGoogle Docs Tool – Retrieves a specified doc to serve as the knowledge base\n\nGrok-4 AI Agent – Uses xAI’s latest LLM with built-in memory and the document as a tool\n\nMemory Buffer – Keeps track of ongoing context in the conversation\n\nTelegram Reply – Sends the final response back to the customer\n\n🧠 Tools & Integrations Used:\nxAI Grok-4 Model (via Langchain-compatible node)\n\nGoogle Docs Tool (as a reference knowledge base)\n\nTelegram Bot API (chat interface)\n\nn8n Agent Framework (for chaining memory, model, and tools)\n\n💡 Use Cases:\nAI-powered FAQ assistant for your product\n\nInternal HR bot answering company policy questions\n\nSupport assistant trained on onboarding documents or technical manuals\n\nPrivate support bot for VIP groups on Telegram\n\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "",
  "connections": {
    "a9f303d6-f341-4237-ba4a-b871fd98d0e8": {
      "ai_tool": [
        [
          {
            "node": "4ed55e57-7143-4882-bad7-428e56018d54",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "4ed55e57-7143-4882-bad7-428e56018d54",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "4ed55e57-7143-4882-bad7-428e56018d54",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b1ce2d6d-766c-44be-ba05-15af7ad25826": {
      "ai_languageModel": [
        [
          {
            "node": "4ed55e57-7143-4882-bad7-428e56018d54",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "4ed55e57-7143-4882-bad7-428e56018d54": {
      "main": [
        [
          {
            "node": "dc23ec70-fb68-4be0-b9ea-cf84209a607a",
            "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?

Fortgeschritten - Support-Chatbot, KI RAG

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
Fortgeschritten
Anzahl der Nodes10
Kategorie2
Node-Typen7
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor
Automate With Marc

Automate With Marc

@marconi

Automating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34