Who Is This Template For?

  • Gaming services
    Players can invite friends and receive in-game bonuses, currency, or exclusive items.
  • Stores and online commerce
    To attract new customers via referral links and reward clients with discounts for invited friends.
  • Subscription services
    Users can earn free subscription months for inviting new participants.
  • Online courses and schools
    Educational platforms can offer students discounts or free lessons for bringing in new learners.

How the Bot Works in Telegram

Creating a Link

The bot sends a personal referral link and suggests sharing it with friends.

Users will see these messages regardless of whether they entered via a regular or referral link.

Sending the Link

When clicking the button sent by the bot, Telegram will automatically open the contact list.

Users can then select the desired contacts and send them the link.

Invited Users Data

ПAfter someone enters the bot via your link, a message with the ID of the user who used your shared link will appear in the chat with the bot.

Additionally, the bot will send the total number of users who have followed your referral link.

Getting Started Is Easy

Create your chatbot from the template in just 15 minutes:
  • Sign up on Botmother
  • Click кнопку «Create New Bot»
  • Create a bot from the template
  • Choose the appropriate template
  • Configure a Deeplink with a regular expression that matches any input. To do this, enter .* in the Value field.
    When an invited user joins the bot via the deeplink, the parameter from the link is saved to the refSystem variable upon entry.
    This way, you can always determine which user’s link was used when the invited user joined the bot.
  • Below, in the Settings section, create an External Event. When configuring the event, select the screen “Referral message to the inviter”. Save the changes and copy the link from the external event.
  • Open the Bot Builder and select the screen “Send referral external event”. On this screen, navigate to the Request component. Paste the link from the External Event that you copied earlier into the Request URL field.
  • Go to the screen “Referral link creation”. At this step, you will need the Assign a variable component.
    In the template specified in the Value field, add your bot’s name from the bot settings in Telegram.
  • Go to the screen “Message after receiving the referral link” and click the button to open its settings.
    In the template specified in the URL Redirect field, add your bot’s name from the bot settings in Telegram.

Works Across All Platforms

Engage with clients through a single bot across all platforms — it can operate simultaneously on Telegram, Facebook*, WhatsApp, Instagram*, Viber, VKontakte, Odnoklassniki, TamTam, or MAX.

Frequently Asked Questions

The bot generates referral links that users can share to invite friends.