Templates / Answer Telegram support questions using Google Docs and Claude Sonnet

Answer Telegram support questions using Google Docs and Claude Sonnet

Needs changes

by thealiilhan ✓ · 47 views · created 2026-09-05 · Support Chatbot, AI RAG

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

  1. Fetch Company Knowledge (Google Docs): get
  2. Build AI Prompt from Docs (Code): runs custom JavaScript code
  3. Response Generation Agent (AI Agent): runs an AI agent, with model: Anthropic Claude Sonnet 4-; memory: Maintain Conversation Memory
  4. Get Current DateTime (Date & Time): formats or calculates dates
  5. Prepare Record Fields (Edit Fields (Set)): sets 5 fields: tarih, soru, cevap…
  6. Append Chat to Sheets (Google Sheets): append
  7. Format AI Response (Code): runs custom JavaScript code
  8. Send Response to Telegram (Telegram): uses Telegram

Services it uses

TelegramGoogle DocsGoogle SheetsAnthropic Chat Model

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.0Replace 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)

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…

Excerpt from thealiilhan'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.