Block 1 - Telegram Trigger
- Type / Role
- n8n-nodes-base.telegramTrigger - telegramTrigger
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
Grok 4 Customer Support Agent with Document Based Intelligence Template [RAG] This workflow creates a smart, AI powered customer support agent using Grok 4 that can answer questions based on a p...
n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.lmchatxaigrok, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.googledocstool, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.telegram, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Automate With Marc.
Original n8n.io sourceπ€ Grok-4 Customer Support Agent with Document-Based Intelligence Template [RAG]
This 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.
Watch the Step-by-Step Tutorial of this Workflow: https://www.youtube.com/watch?v=OXzsh-Ba-8Y&t=2s
Itβs perfect for solopreneurs, startups, or businesses that want to: Automate first-level support Build a Telegram-based knowledge agent Answer FAQs using internal docs (like manuals, policies, product details)
π How It Works: Telegram Trigger β Listens for incoming messages from users
Google Docs Tool β Retrieves a specified doc to serve as the knowledge base
Grok-4 AI Agent β Uses xAIβs latest LLM with built-in memory and the document as a tool
Memory Buffer β Keeps track of ongoing context in the conversation
Telegram Reply β Sends the final response back to the customer
π§ Tools & Integrations Used: xAI Grok-4 Model (via Langchain-compatible node)
Google Docs Tool (as a reference knowledge base)
Telegram Bot API (chat interface)
n8n Agent Framework (for chaining memory, model, and tools)
π‘ Use Cases: AI-powered FAQ assistant for your product
Internal HR bot answering company policy questions
Support assistant trained on onboarding documents or technical manuals
Private support bot for VIP groups on Telegram
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Build a customer support agent with Grok-4, Google Docs, and Telegram [RAG] |
|---|---|
| Complexity | intermediate |
| Nodes | 10 |
| Categories | Support Chatbot, AI RAG |
| Author | Automate With Marc |
| Published | 15 Jul 2025 |
Use the JSON export at /data/workflows/6017/6017.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Grok 4 Customer Support Agent with Document Based Intelligence Template [RAG] This workflow creates a smart, AI powered customer support agent using Grok 4 that can answer questions based on a p...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI RAG use case.