Referral Program 🔗
The chatbot generates personal referral links that users can share with friends to invite them and receive rewards for new participants.
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 the "Create New Bot" button
-
Create a bot from the template
-
Choose the appropriate template
-
Click «Launch Bot» and connect to Telegram
-
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
Interact with clients through a single bot everywhere — it can work simultaneously in Telegram, WhatsApp, Viber, Facebook, Instagram, MAX, VKontakte and Odnoklassniki.
Frequently Asked Questions
What is the "Referral Program" template for?
The bot generates referral links that users can share to invite friends.
How to track referrals?
The bot automatically records each new user who registers via a referral link and sends a notification to the inviter in Telegram.
How can I customize the bot for my needs?
After selecting the template, make changes in the "Bot Editor" section as per the notes. Then you can add your own scenario.
How can I use this bot in my business?
You can launch a referral program to attract new clients, boost sales, or promote your product. This bot is ideal for encouraging viral growth by rewarding users for bringing in others.
Can I build the bot myself?
Yes! You can create and configure the bot yourself using Botmother’s visual editor — no coding required.