Send subscription renewal reminders via Telegram with Supabase
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Supabase and Telegram.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Extract API Key (Edit Fields (Set)): sets or maps fields
- Authorized? (If): checks a condition and branches into true / false
- Fetch Subscriptions (Supabase): list
- Compose Error Response (Edit Fields (Set)): sets or maps fields
- Calculate Days (Code): runs custom JavaScript code
- Insert Error Log (Supabase): uses Supabase
- Respond to Webhook: sends the response back to the webhook caller
- Expiring Soon? (If): checks a condition and branches into true / false
- Create Telegram Message (Edit Fields (Set)): sets or maps fields
- Compose Success Response (Edit Fields (Set)): sets or maps fields
…plus 4 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Supabase
n8n-nodes-base.supabase - Code
n8n-nodes-base.code - Telegram
n8n-nodes-base.telegram - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Subscription Renewal Reminder – Telegram & Supabase This workflow tracks upcoming subscription expiry dates stored in Supabase and automatically sends personalized renewal-reminder messages to each customer via Telegram. It is designed to be triggered by an…