Build a customer support agent with Grok-4, Google Docs, and Telegram [RAG]
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 6 nodes and runs on Telegram events (message). Along the way it connects Telegram, xAI Grok Chat Model and Google Docs.
How it runs
Trigger: On Telegram events (message).
- Grok 4 Customer Support Agent (AI Agent): runs an AI agent, with model: xAI Grok Chat Model; 1 tool (Google Docs); memory: Simple Memory
- Telegram: uses Telegram
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - xAI Grok Chat Model
@n8n/n8n-nodes-langchain.lmChatXAiGrok - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Docs Tool
n8n-nodes-base.googleDocsTool - AI Agent
@n8n/n8n-nodes-langchain.agent - Telegram
n8n-nodes-base.telegram
From the author
🤖 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…