Telegram giveaways among channel subscribers (Module "Giveaway")
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 37 nodes and runs on Telegram events. Along the way it connects Telegram and Postgres.
How it runs
Trigger: On Telegram events.
- Variables TG (Edit Fields (Set)): sets or maps fields
- Initialization (Edit Fields (Set)): sets or maps fields
- Start? (If): checks a condition and branches into true / false
- Referal? (If): checks a condition and branches into true / false
- Button? (If): checks a condition and branches into true / false
- Welcome message Referal (Telegram): uses Telegram
- Welcome message Manager (Telegram): uses Telegram
- Buttons (Switch): routes items into branches
- Get Bot Status (Postgres): uses Postgres
- Update bot status and referal (Postgres): uses Postgres
…plus 26 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 (8)
- Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram - Postgres
n8n-nodes-base.postgres - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Sort
n8n-nodes-base.sort - Aggregate
n8n-nodes-base.aggregate - Telegram Trigger
n8n-nodes-base.telegramTrigger
From the author
Who is this for? This workflow is ideal for businesses or individuals who want to run Telegram-based giveaways that require users to subscribe to certain channels in order to participate. What problem is this workflow solving? Running a fair and trackable…