Block 1 - Webhook Trigger
- Type / Role
- n8n-nodes-base.webhook - webhook
- Config choices
- Version 1.1
Subscription Renewal Reminder – Telegram & Supabase This workflow tracks upcoming subscription expiry dates stored in Supabase and automatically sends personalized renewal reminder messages to each...
n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.supabase, n8n-nodes-base.code, n8n-nodes-base.telegram, n8n-nodes-base.respondtowebhook, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by vinci-king-01.
Original n8n.io sourceThis 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 HTTP Webhook (manually or on a schedule) and ensures that customers are notified a configurable number of days before their subscription lapses.
> Community Template Disclaimer > This is a community-contributed n8n workflow template. It is provided “as-is” without official support from n8n GmbH. Always test thoroughly before using in production.
subscriptions table
(id, customer_name, expiration_date, telegram_chat_id, notified)subscriptions table (ScrapeGraphAI API Key is not required for this non-scraping workflow.)
| Environment Variable | Example Value | Purpose |
|---|---|---|
SUPABASE_URL |
https://xyzcompany.supabase.co |
Base URL for Supabase REST API |
SUPABASE_KEY |
eyJhbGciOiJI... |
Service Role Key |
TELEGRAM_TOKEN |
609012345:AA... |
Bot token obtained from BotFather |
REMINDER_DAYS |
3 |
Days before expiry to notify |
This workflow tracks upcoming subscription expiry dates stored in Supabase and automatically sends personalized renewal-reminder messages to each customer via Telegram. It is triggered by an HTTP Webhook (manually or via external scheduler) and ensures that customers are notified a configurable number of days before their subscription lapses.
Setup Time: 15–20 minutes
Create Telegram Bot
a. Open Telegram and talk to @BotFather → /newbot
b. Copy the given bot token; paste it into n8n Telegram credentials.
Prepare Supabase
a. Create a table named subscriptions with columns:
id (uuid), customer_name (text), expiration_date (date),
telegram_chat_id (text), notified (bool, default false)
b. Obtain the Service Role Key from Project Settings → API.
Import the Workflow a. In n8n, click Templates → Import and select “Subscription Renewal Reminder – Telegram & Supabase”. b. Replace placeholder credentials in the Supabase and Telegram nodes.
Define Environment Variables (Optional but recommended)
Add SUPABASE_URL, SUPABASE_KEY, TELEGRAM_TOKEN, and REMINDER_DAYS in Settings → Environment Variables for easy maintenance.
Activate the Workflow Copy the production webhook URL and (optionally) set up a cron job or n8n Cron node to hit it daily.
targetDate = today + REMINDER_DAYS.notified = true.// Replace Telegram node with Slack node
const message = `Hi ${item.customer_name}, your subscription expires on ${item.expiration_date}.`;
return [{ text: message, channel: item.slack_channel_id }];
// In Set node
items[0].json.reminderOffsets = [7, 1]; // days
return items;
The workflow outputs structured JSON data:
{
"totalSubscriptionsChecked": 42,
"remindersSent": 13,
"timestamp": "2024-05-27T09:15:22.000Z"
}
If node; ensure REMINDER_DAYS is set correctly and the Supabase query returns rows. Pro Tips:
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.
| Workflow | Send subscription renewal reminders via Telegram with Supabase |
|---|---|
| Complexity | advanced |
| Nodes | 19 |
| Categories | Invoice Processing |
| Author | vinci-king-01 |
| Published | 03 Feb 2026 |
Use the JSON export at /data/workflows/13193/13193.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.
Subscription Renewal Reminder – Telegram & Supabase This workflow tracks upcoming subscription expiry dates stored in Supabase and automatically sends personalized renewal reminder messages to each...
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 Invoice Processing use case.