⚡ Document Q&A chatbot with Gemini AI and Supabase vector search for Telegram

19,854 views · ⚡ Personal Productivity

Description

This template creates a Telegram AI Assistant that answers questions based on your documents, powered by Google Gemini and Supabase. Key features include Intelligent HTML Post-processing for rich formatting in Telegram and Adaptive Message Chunking to handle long text responses.

📹 Watch the Bot in Action

𝗨𝗻𝗹𝗲𝗮𝘀𝗵𝗶𝗻𝗴 𝗔𝗜 𝗼𝗻 𝗠𝘆 𝗕𝗼𝗼𝗸𝘀𝗵𝗲𝗹𝗳: 𝗙𝗹𝗼𝘄 𝗣𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 𝗣𝗼𝘄𝗲𝗿𝘀 𝗮 𝗡𝗲𝘅𝘁-𝗟𝗲𝘃𝗲𝗹 𝗧𝗲𝗹𝗲𝗴𝗿𝗮𝗺 𝗕𝗼𝘁🤖

▶️ Click the image above to watch a live demo on YouTube.

This video provides a live demonstration of the bot’s core features and how it interacts. See a quick walkthrough of its capabilities and user flow.

How it works:

Set up steps:

Setup should take approximately 15-20 minutes.

  1. Import the workflow into your n8n instance.

  2. Configure credentials for Telegram, Google Gemini, and Supabase.

  3. Set up your Supabase vector table using the provided SQL script.

  4. Activate the workflow.

Detailed setup instructions, including how to get API keys and configure nodes, are available in the sticky notes within the workflow itself.

🔗 Nodes Used

Telegram, Telegram Trigger, AI Agent, Simple Memory, Recursive Character Text Splitter, Supabase Vector Store

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup