Create a Multi-Modal Telegram Support Bot with GPT-4 and Supabase RAG
n8n template #5589Summary
Use template🧠 What It Does This n8n workflow turns your Telegram bot into a smart, multi-modal AI assistant that accepts text, documents, images, and audio messages, interprets them using OpenAI models, and responds instantly with context-aware answers. It integrates a Supabase vector database to store document embeddings and retrieve relevant information before sending a prompt to OpenAI — enabling a full RAG experience 💡 Why This Workflow? Most support bots can only handle basic text input. This workflow: Supports multiple input formats (voice, documents, images, text) Dynamically extracts and processes data from uploaded files Implements RAG by combining user input with relevant memory or vector-ba
How to set it up
- Open template #5589 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create 8 credentials under Credentials → Add credential: Telegram, Google Drive, Embeddings OpenAI, OpenAI Chat Model, Supabase Vector Store, OpenAI, Postgres Chat Memory, Reranker Cohere. Then open each of those nodes and pick the credential.
- Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
- Click Execute workflow and step through each node's output to confirm the data looks right.
- Toggle the workflow to Active so its trigger runs on its own.
Hand off to your agent
Prompt
Help me set up the n8n workflow "Create a Multi-Modal Telegram Support Bot with GPT-4 and Supabase RAG" (https://n8n.io/workflows/5589). It uses: HTTP Request, Telegram, Google Drive, Code, AI Agent, Embeddings OpenAI, OpenAI Chat Model, Recursive Character Text Splitter, Supabase Vector Store, Default Data Loader, OpenAI, Postgres Chat Memory, Reranker Cohere. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
HTTP RequestTelegramGoogle DriveCodeAI AgentEmbeddings OpenAIOpenAI Chat ModelRecursive Character Text SplitterSupabase Vector StoreDefault Data LoaderOpenAIPostgres Chat MemoryReranker Cohere
Questions
Yes. Ezema Kingsley Chibuzo published it free on n8n.io as a verified creator, and it has 10K views. It runs on n8n Cloud or a self-hosted n8n instance.
Telegram, Google Drive, Embeddings OpenAI, OpenAI Chat Model, Supabase Vector Store, OpenAI, Postgres Chat Memory, Reranker Cohere. The other 5 nodes are built into n8n.
Similar workflows
NameViews
- Automate sales cold calling pipeline with Apify, gpt-5.6-terra, and WhatsApp34K
- HR & IT Helpdesk Chatbot with Audio Transcription36K
- Explore n8n Nodes in a Visual Reference Library5,197
- AI-Powered WhatsApp Chatbot for Text, Voice, Images, and PDF with RAG47K
- AI Agent To Chat With Files In Supabase Storage and Google Drive5,693
- AI Agent To Chat With Files In Supabase Storage68K
- Advanced AI Demo (Presented at AI Developers #14 meetup)24K
- Build an AI Powered Phone Agent 📞🤖 with Retell, Google Calendar and RAG23K