Block 1 - Telegram Trigger
- Type / Role
- n8n-nodes-base.telegramTrigger - telegramTrigger
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
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, an...
n8n-nodes-base.telegramtrigger, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.extractfromfile, n8n-nodes-base.switch, n8n-nodes-base.httprequest
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Ezema Kingsley Chibuzo.
Original n8n.io sourceThis 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
Most support bots can only handle basic text input. This workflow:
Run the βAdd to Supabase Vector DBβ workflow manually to upload a document from your google drive and embed it into your vector database. This powers the Telegram chatbotβs ability to answer questions using your content.
Voice β Translate recording to text (.ogg, .mp3)
Image β Analyze image to text.
Text β Sent directly to AI Agent (.txt).
Document β Parsed (e.g. .docx to .txt) accordingly.
Before routing documents by type, the Supported Document File Types node first checks if the file extension is allowed. If not supported, it exits early with an error message β preventing unnecessary processing.
Supported documents are then routed using the Document Router node, and converted to text for further processing.
#### Supported Document File Types
**.jpg** **.jpeg** **.png** **.webp** **.pdf** **.doc** **.docx** **.xls** **.xlsx** **.json** **.xml**.
The text content is combined with stored memory and embedded knowledge using a RAG approach, enabling the AI to respond based on real uploaded data.
Uploaded documents are vectorized using OpenAI Embeddings. Embeddings are stored in Supabase with metadata. On new questions, the chatbot:
Response is sent to the Telegram user with content awareness.
.json workflow file.This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 51 workflow blocks. Download the JSON for the full node graph.
| Workflow | Create a multi-modal Telegram support bot with GPT-4 and Supabase RAG |
|---|---|
| Complexity | advanced |
| Nodes | 51 |
| Categories | Support Chatbot, AI RAG |
| Author | Ezema Kingsley Chibuzo |
| Published | 02 Jul 2025 |
Use the JSON export at /data/workflows/5589/5589.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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, an...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI RAG use case.