Developer & DevOps
Reply to Telegram messages using Supabase cached responses
17 nodes
345
159
Automatic trigger
Workflow Description
Automation receives messages from Telegram, checks Supabase database for previously stored answers, and returns cached responses to users instantly. Reduces processing overhead and accelerates reply times for frequently asked questions.
How it works
- 1.Receive incoming message from Telegram channel or group
- 2.Query Supabase database to find matching cached response
- 3.Send stored answer to user immediately without additional processing
Use cases
- Auto-respond to recurring questions in Telegram groups efficiently
- Reduce API calls and server load by serving cached answers
Requirements
- Active Telegram Bot with valid API token
- Supabase project with configured database for caching
- Read and write permissions to database tables
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Telegram
Supabase
Details
Trigger
Automatic trigger
Nodes
17
Apps
2
Views
345
Downloads
159
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (17)
/
Get New Message
Set
OPENAI - Create thread
HTTP Request
Create User
Supabase
Merge
Merge
OPENAI - Send message
HTTP Request
OPENAI - Run assistant
HTTP Request
OPENAI - Get messages
HTTP Request
Send Message to User
Set
If User exists
If
Find User
Supabase
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note