Templates / Create an intelligent FAQ Telegram bot with Google Gemini and Supabase

Create an intelligent FAQ Telegram bot with Google Gemini and Supabase

Ready for 3.0

by Mohammad Jibril · 417 views · created 2025-10-16 · Support Chatbot, AI Chatbot

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

  1. Check if User Exists in Supabase (Supabase): get
  2. Route: New or Existing User? (If): checks a condition and branches into true / false
  3. Save New User to Supabase (Supabase): uses Supabase
  4. Load FAQ Context for AI (Edit Fields (Set)): sets 1 field: faq_context
  5. Send Welcome Message (New User) (Telegram): uses Telegram
  6. Process Question with Gemini (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
  7. Send AI Answer to User (Telegram): uses Telegram

Services it uses

TelegramGoogle Gemini Chat ModelSupabase

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)

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…

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