Telegram Bot with OpenAI Assistant & Supabase Memory
Builds a contextual Telegram bot using OpenAI assistants and Supabase for user memory, enabling persistent conversations via telegram_id and thread_id.
This n8n workflow creates a sophisticated Telegram bot that integrates OpenAI's assistant API with Supabase for long-term memory. It starts by receiving incoming Telegram messages via webhook, checks for existing users in Supabase using their telegram_id, and creates new entries with unique OpenAI thread_ids if needed. The bot then retrieves or initiates conversation threads, processes queries with OpenAI for intelligent responses, and stores interaction history for context-aware replies.
Key b
Platform
n8n
Category
Real Estate
Price
$24.99
Creator
BestWorkflows
telegram
bot
openai
assistant
supabase
memory
chatbot
ai
lead-management
real-estate
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.