Create an intelligent FAQ Telegram bot with Google Gemini and Supabase
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 9 nodes and runs on Telegram events (message). Along the way it connects Telegram, Google Gemini Chat Model and Supabase.
How it runs
Trigger: On Telegram events (message).
- Check if User Exists in Supabase (Supabase): get
- Route: New or Existing User? (If): checks a condition and branches into true / false
- Save New User to Supabase (Supabase): uses Supabase
- Load FAQ Context for AI (Edit Fields (Set)): sets 1 field: faq_context
- Send Welcome Message (New User) (Telegram): uses Telegram
- Process Question with Gemini (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
- Send AI Answer to User (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 (7)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Supabase
n8n-nodes-base.supabase - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
Overview This template creates a smart FAQ bot on Telegram, powered by Google Gemini for intelligent answers and Supabase to store user data. The workflow can distinguish between new and existing users. How It Works Trigger: The workflow starts when a user…