Agent de support client Grok-4 [RAG]
Ceci est unSupport Chatbot, AI RAGworkflow d'automatisation du domainecontenant 10 nœuds.Utilise principalement des nœuds comme Telegram, GoogleDocsTool, Agent, TelegramTrigger, LmChatXAiGrok. Construire un agent de support client avec Grok-4, Google Docs et Telegram [RAG]
- •Token Bot Telegram
Nœuds utilisés (10)
Catégorie
{
"id": "",
"meta": {},
"name": "Grok-4 Customer Support Agent [RAG]",
"tags": [],
"nodes": [
{
"id": "c459cd5e-837e-4f32-aef0-af8fd0e2a1e8",
"name": "Déclencheur Telegram",
"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": "Modèle de chat xAI Grok",
"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": "Mémoire simple",
"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": "Agent d'assistance client Grok 4",
"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": "Note adhésive",
"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": "Note adhésive1",
"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": "Note adhésive2",
"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": "Note adhésive3",
"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
}
]
]
},
"034b4be6-f8a0-449f-b4df-6624c0d5419d": {
"ai_memory": [
[
{
"node": "4ed55e57-7143-4882-bad7-428e56018d54",
"type": "ai_memory",
"index": 0
}
]
]
},
"c459cd5e-837e-4f32-aef0-af8fd0e2a1e8": {
"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
}
]
]
}
}
}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é ?
Intermédiaire - Chatbot de support, RAG IA
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
Automate With Marc
@marconiAutomating 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
Partager ce workflow