Answer Telegram support questions using Google Docs and Claude Sonnet
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 11 nodes and runs on Telegram events (message). Along the way it connects Telegram, Google Docs, Google Sheets and Anthropic Chat Model.
How it runs
Trigger: On Telegram events (message).
- Fetch Company Knowledge (Google Docs): get
- Build AI Prompt from Docs (Code): runs custom JavaScript code
- Response Generation Agent (AI Agent): runs an AI agent, with model: Anthropic Claude Sonnet 4-; memory: Maintain Conversation Memory
- Get Current DateTime (Date & Time): formats or calculates dates
- Prepare Record Fields (Edit Fields (Set)): sets 5 fields: tarih, soru, cevap…
- Append Chat to Sheets (Google Sheets): append
- Format AI Response (Code): runs custom JavaScript code
- Send Response to Telegram (Telegram): uses Telegram
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Response Generation Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Response Generation Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (10)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Google Docs
n8n-nodes-base.googleDocs - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Date & Time
n8n-nodes-base.dateTime - Google Sheets
n8n-nodes-base.googleSheets - Telegram
n8n-nodes-base.telegram - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick overview This workflow turns a Google Docs knowledge base into a Telegram customer support chatbot using Anthropic Claude, logs each Q&A to Google Sheets, and replies back to the user in Telegram. How it works 1. Triggers when a new Telegram message is…