Templates / Build a customer support agent with Grok-4, Google Docs, and Telegram [RAG]

Build a customer support agent with Grok-4, Google Docs, and Telegram [RAG]

Ready for 3.0

by Automate With Marc ✓ · 2,840 views · created 2025-07-15 · Support Chatbot, AI RAG

Ready 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).

  1. Grok 4 Customer Support Agent (AI Agent): runs an AI agent, with model: xAI Grok Chat Model; 1 tool (Google Docs); memory: Simple Memory
  2. Telegram: uses Telegram

Services it uses

TelegramxAI Grok Chat ModelGoogle Docs

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)

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…

Excerpt from Automate With Marc's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.