Document Q&A chatbot with Gemini AI and Supabase vector search for Telegram
Transform your Telegram account into an intelligent personal librarian that answers questions directly from your uploaded PDF documents. This workflow leverages Google Gemini and Supabase to create a robust RAG system, providing formatted, context-aware responses to your queries in real-time. It effectively bridges the gap between static file storage and interactive conversational knowledge.
Run this with your team's AIWhat This Recipe Does
The AI Document Assistant transforms Telegram into a powerful mobile command center for managing business information and documents. Instead of manually sorting through files or searching for data across multiple platforms, this automation allows team members to upload documents directly via chat for instant extraction and storage. By integrating Supabase for long-term data retention and specialized tools for real-time information like weather data, the assistant provides a centralized interface for complex queries. This solution eliminates the friction of document processing and manual data entry, ensuring that critical information is always accessible and actionable from any device. Business leaders can use this tool to streamline field operations, simplify expense reporting, or provide staff with a 24/7 intelligent knowledge base. The result is a significant reduction in administrative overhead and faster decision-making based on real-time data and processed documentation.
What your team gets
Forms and dashboards, so it is not a script only one person understands
Runs on your schedule in the cloud, so it does not stop when a laptop closes
Endpoints, so the rest of your stack can trigger the same work
Telegram connected for the team, not per person
How It Works
- 1
Open the recipe and connect your accounts
Connect Telegram once, in your team cloud, and nobody has to do it again on their own machine
- 2
Tell your own agent what is different about your process
Claude, ChatGPT, Cursor, whichever your team already uses. It adapts the recipe to how you actually work
- 3
Run it, then leave it running
It lives in your team cloud, so it keeps going after you close the laptop and every teammate's AI can use it
Who Uses This
- Field agents upload site photos and reports via Telegram to automatically extract data and sync it with a central database.
- Operations managers use the bot to query internal documentation or check environmental conditions for logistics planning without leaving their messaging app.
- Small business owners forward invoices and receipts to the bot to automatically categorize expenses and store them in a secure cloud database.
Frequently Asked Questions
Do I need to write code to connect Telegram to my database?
No. This automation handles the data flow between Telegram and Supabase automatically, allowing you to focus on using the data rather than managing the connection.
Can I customize the types of documents the assistant can read?
Yes. The system is designed to handle various file formats and can be adjusted to prioritize specific data points relevant to your business needs.
Is the information shared with the bot secure?
The automation uses secure connections to your private Supabase instance, ensuring that your business documents and data remain under your control.
What happens after I send a document to the bot?
The assistant extracts the relevant text, processes the information using AI, and stores the results in your database while providing you with an immediate confirmation or summary in the chat.
Coming from n8n?
This recipe uses nodes like Langchain.lmChatGoogleGemini, OpenWeatherMapTool, Langchain.agent, TelegramTrigger and 15 more. On Runwork, you don't need to learn n8n's workflow syntax. Describe what you want to your own AI agent in plain English.
Based on n8n community workflow. View original
Related Recipes
Telegram user registration workflow
This automation streamlines the bridge between AI-driven communication and structured data management. By connecting Telegram interactions with Google Sheets, it transforms unstructured chat messages into organized, actionable records. The workflow acts as an intelligent intermediary that receives data via specialized triggers, processes the information through conditional logic, and ensures every interaction is documented accurately. For businesses, this means eliminating the manual task of copying data from chat apps into spreadsheets. It provides a reliable way to capture leads, log support requests, or collect field data in real-time. By utilizing Runwork to turn this workflow into a dedicated application, your team can manage these data flows through a professional interface without ever touching a line of code or a complex backend. The result is a more responsive operation where information moves instantly from a conversation into your core business systems, improving data integrity and response times.
Create a Slack chatbot with AI for automated responses
This AI-powered automation bridges the gap between conversational intelligence and team collaboration by transforming a standard chat interface into a powerful information distribution hub. By integrating advanced language processing with Slack, this workflow allows your team to interact with an AI assistant that doesn't just answer questions, but actively documents insights and communicates findings across your organization. Instead of losing valuable information in isolated chat windows, this automation ensures that every AI-generated insight is captured as a digital note and shared instantly with the relevant stakeholders. This streamlines internal knowledge sharing, reduces the need for manual status updates, and ensures that critical data derived from AI interactions is immediately actionable. For businesses looking to scale their operations, this tool eliminates the manual overhead of copying and pasting information between platforms, allowing your team to focus on high-level strategy while the automation handles the documentation and notification logistics.
Build a product catalog chatbot with Mistral AI, Google Drive & Supabase RAG
Managing vast amounts of information across Google Drive can lead to significant bottlenecks when teams need quick answers. This automation streamlines the process of transforming static documents into an interactive AI knowledge base. By automatically extracting text from files stored in Google Drive and processing them in manageable batches, the system prepares your proprietary data for use in custom AI chatbots. This eliminates the need for manual data entry or tedious copy-pasting from PDFs and documents. Business leaders can now ensure their AI tools are powered by the most current internal documentation, leading to higher accuracy in automated responses. The workflow handles the heavy lifting of data preparation, allowing your team to focus on high-value analysis rather than document administration. By implementing this solution, you create a scalable bridge between your unstructured files and actionable business intelligence, significantly reducing the time spent on internal information retrieval.
Create a Telegram customer support bot with GPT4-mini and Google Docs knowledge
This automation bridge the gap between instant messaging and formal documentation by transforming Telegram conversations into structured Google Docs records. Instead of manually copying and pasting ideas, meeting notes, or project updates from a chat thread, this workflow captures incoming messages and organizes them directly into your document management system. By automating the transition from a casual chat interface to a professional document format, your team can ensure that critical information is never lost in a busy message history. This tool is particularly valuable for capturing spontaneous brainstorms, field reports, or client requirements in real-time. It streamlines the content creation process, allowing users to focus on communication while the AI handles the administrative task of cataloging and formatting information for future use.
Run this with the AI your team already uses
Your agent adapts it, your team cloud keeps it running, and everyone's AI can find it.
Open this recipe in Runwork