Templates / Multi-language Telegram RAG chatbot with supervisor AI & automated Google Drive pipeline

Multi-language Telegram RAG chatbot with supervisor AI & automated Google Drive pipeline

Needs changes

by Daniel Ng ✓ · 619 views · created 2025-07-18 · 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 112 nodes and runs manually, when you click “Execute workflow” (plus 7 other triggers). Along the way it connects Google Docs, OpenAI Chat Model, Google Sheets and Google Drive and 6 more.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 7 other triggers).

  1. Edit Fields (Set): sets 1 field: Crawl4ai End Point
  2. Loop Over Files (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Set File Get Data (Edit Fields (Set)): sets 5 fields: id, mimeType, name…
  4. Google Sheets: uses Google Sheets
  5. Google Sheets: uses Google Sheets
  6. Edit Fields Telegram Message (Edit Fields (Set)): sets 3 fields: Chat Input, Session Id, Chat Id
  7. RAG AI Agent - Product (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (Query Products, Supabase Vector Store)
  8. Google Sheets: uses Google Sheets
  9. Set File Data (Edit Fields (Set)): sets 4 fields: file_id, file_type, file_title…
  10. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches

…plus 63 more steps. See the full node list below.

Services it uses

Google DocsOpenAI Chat ModelGoogle SheetsGoogle DriveSupabaseEmbeddings OpenAISupabase Vector StorePostgres Chat MemoryTelegramPostgres

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 Content Formatter (v1.8), Supervisor AI Agent1 (v1.6), Output First Translator (v1.6)…: 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)
Content Formatter (v1.8), Supervisor AI Agent1 (v1.6), Output First Translator (v1.6), Translator1 (v1.6), Output Translator (v1.6), RAG AI Agent - Product (v1.6), RAG AI Agent - Academy (v1.6), RAG AI Agent - News (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (31)

From the author

N8N Hybrid RAG Chatbot with Multiple AI Agents One of the most powerful system in the market, this template creates a sophisticated, multi-agent hybrid RAG (Retrieval-Augmented Generation) chatbot that can handle diverse user queries by routing them to a…

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