Telegram Subscription Gate and Upsell Funnel - n8n Workflow

Automate lead generation on Telegram using this powerful n8n workflow. Gate access to resources, check subscriptions, and deliver multi-stage upsell sequences. Use this n8n template to grow your community.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

This n8n workflow is ideal for:

Community Managers: Those running private or closed Telegram channels needing verification before granting access to exclusive content.
Marketers & Lead Gen Specialists: Professionals looking to automate lead magnet delivery and nurture leads immediately using an n8n workflow.
n8n Users: Individuals seeking practical, advanced n8n templates that combine dedicated nodes with direct Telegram API calls for robust control.
Entrepreneurs: Anyone looking to implement an automated marketing funnel using Telegram as the primary communication platform.

Overview

This sophisticated n8n workflow solves the challenge of gated content distribution within Telegram. Instead of manually verifying every subscriber, this n8n automation handles the entire process: triggering upon user interaction, verifying subscription status using the Telegram API (getChatMember), delivering the lead magnet automatically upon success, and subsequently routing the user into a timed, multi-step upsell sequence. This ensures that only verified members gain access, increasing channel growth and engagement. Using a carefully constructed series of n8n node configurations, this n8n template provides a professional, responsive, and reliable funnel system.

How it Works

The n8n workflow operates through the following steps:


  1. Trigger Activation: The process begins with the 🔔 Telegram Message Trigger n8n trigger, listening for new messages or callback queries (such as a user clicking the 'Check Subscription' button).

  2. Callback Handling: If a callback query is detected, the workflow uses an IF n8n node (❓ Is Subscription Check Request?) to verify the request type. If confirmed, an HTTP request acknowledges the button click for improved user experience.

  3. Data Preparation: The 🔧 Extract User & Callback Data code n8n node retrieves the userid and the configured closed chatid required for verification.

  4. Subscription Check: The Closed Channel n8n node (an HTTP Request) calls the Telegram API's getChatMember method to determine the user's current status in the specified channel.

  5. Validation & Routing: The ✅ Is User Subscribed? IF n8n node checks if the user's status is 'member', 'administrator', 'creator', or 'restricted'.

  6. Success Path (Lead Magnet): If subscribed, the ✅ Subscription Confirmed - Send Lead Magnet n8n node delivers the promised resource (e.g., a coupon or link). This message also introduces the next step: the upsell sequence, triggered by the command /more.

  7. Failure Path (Retry): If not subscribed, the ❌ Subscription Check Failed n8n node sends a message explaining the requirement and providing an inline button to retry the verification.

  8. Upsell Sequence: If the user sends the /more command, the workflow executes a timed marketing sequence involving multiple Telegram message nodes, separated by Wait n8n node delays and 'typing' HTTP requests to simulate live communication and maximize engagement before presenting the final premium offer.

Installation Guide

To deploy this powerful n8n workflow, follow these steps:


  1. Import: Copy the provided n8n workflow JSON and paste it into your n8n instance's canvas using the 'New' -> 'Import from JSON' function.

  2. Credentials: Set up a Telegram API credential. This credential must be linked to a bot that has been added as an Administrator to your target private Telegram channel (with 'Read messages' and 'View channel members' permissions).

  3. Configuration (HTTP Nodes): In the Closed Channel and HTTP Request nodes used for 'typing' and acknowledging button clicks, replace the placeholder INPUTYOURTOKEN@BOTFATHER with your actual bot token.

  4. Configuration (Code Node): In the 🔧 Extract User & Callback Data code n8n node, update the hardcoded chat_id (-1001234567890 placeholder) to the numeric ID of your private channel. Remember the mandatory -100 prefix.

  5. Customize Content: Update the text in all Telegram n8n nodes (✅ Subscription Confirmed, ❌ Subscription Check Failed, and the upsell sequence nodes) to reflect your specific lead magnet and offer.

  6. Activate: Ensure the Telegram trigger webhook is active and run the n8n workflow in production.

Node Details

🔔 Telegram Message Trigger: The core n8n trigger for the entire system, listening for user input (messages and button clicks) to initiate the subscription check or command processing.
🔧 Extract User & Callback Data (Code Node): A critical custom code n8n node used to safely parse the incoming Telegram data, isolating the userid and ensuring the private channel chatid is correctly formatted (-100...).
Closed Channel (HTTP Request n8n node): This n8n node uses the direct Telegram getChatMember API method, configured dynamically using expressions, to verify the user's subscription status.
✅ Is User Subscribed? (IF n8n node): Manages the core business logic of this n8n workflow. It evaluates the API response status (checking for 'member', 'administrator', etc.) and routes the user accordingly.
✅ Subscription Confirmed - Send Lead Magnet (Telegram n8n node): Delivers the primary value exchange. This node is key for distributing the lead magnet and introducing the /more command for the next funnel stage.
📈 Upsell/CrossSell/DownSell System (Telegram n8n node): These nodes deliver the subsequent marketing messages in the sequence. The flow uses multiple Wait n8n node components and HTTP requests (to simulate 'typing...') to ensure a natural, timed delivery of the upsell offer.

Related n8n Workflows

Free

Nodes: 7 Nodes
Updated: December 26 2025
View all
Created by

CEO/CMO/CRO & Digital Strategist. Start in 2008 at professional digital, I’ve been crafting digital solutions that drive business success and revenue growth. Marketing Leading a full-cycle digital agency, I develop innovative software and implement best practices for exceptional customer experiences. Passionate about empowering entrepreneurs, I provide education to navigate the digital world confidently. Let’s turn your vision into reality and achieve your ambitious business goals together!

Featured*