Template

Referral Program

Every member gets a personal invite link. When a friend joins through it, the bot records who invited them and alerts you. You give out the rewards yourself.

Who it's for: For communities, shops and clubs that grow by word of mouth and want to see who brought whom. You decide what the reward is. The bot does not count or pay rewards for you.

  1. /start
  2. ๐Ÿ‘‹ Welcome! ๐ŸŽ Invite 3 friends and get a free month. Tap below to get your personal invite link. ๐Ÿ‘‡
    ๐ŸŽ Invite friends
  3. ๐ŸŽ Invite friends
  4. ๐Ÿ”— Here's your personal invite link: https://t.me/mycompany_bot?start=ref48213907 ๐Ÿ“ค Forward it to friends or share it in your chats โ€” everyone who joins through it counts as your referral. ๐Ÿ’ก Tip: add a personal note when you share it โ€” it works much better.
A member gets a personal invite link

What the conversation looks like

  1. (taps the invite link and presses Start)
  2. ๐ŸŽ‰ Welcome โ€” a friend invited you! ๐ŸŽ Invite 3 friends and get a free month. Tap below to get started โ€” and grab your own invite link while you're at it. ๐Ÿ‘‡
    ๐Ÿš€ Get started
A friend opens that link

How it works

  • A member opens the bot and sees what they'll get for inviting friends
  • They tap Invite friends and receive their own personal link, built from your bot's username and their ID
  • A friend taps that link and lands in a dedicated welcome โ€” the bot already knows who invited them
  • The new user is tagged as referred and welcomed with the same reward mention
  • You get an instant alert naming the new user and exactly who invited them
  • The new user taps Get started and lands in your main menu like anyone else

Setup requirements

  • If you didn't set it during install, open Variables and set botUsername to your bot's username without the @ (for example mycompany_bot) โ€” invite links are built from it.
  • On the Contacts page, tag yourself (and anyone else who should hear about new referrals) with the alert tag you chose during setup.
  • Press Deploy, then test the loop yourself: grab your invite link from the bot, open it from a second account, and confirm the alert arrives naming both accounts.
  • Decide on your reward and grant it manually from each alert โ€” this template tracks who invited whom, but doesn't count or pay out rewards automatically.

Details

Good to know

  • Invite links carry a short, safe payload (just letters, numbers, and a couple of symbols) โ€” well inside what Telegram allows, so links always work.
  • Attribution is per new user plus an alert to you for every signup โ€” there's no running leaderboard or per-referrer counter built in; if you want one, you'll need to track it yourself from the alerts.
  • Rewards are granted manually: each alert gives you the new user's ID and their inviter's ID, so you look up the inviter on the Contacts page and send the reward yourself.
  • The invite links won't work until your bot's username is set โ€” that's the one thing this template can't guess for you.

Common questions

  • What's the reward for a successful referral, and after how many invites?
  • Who should receive the new-referral alerts?
  • What's your bot's username, so invite links work?

Keep in mind

  • Don't promise automatic reward tracking, running totals, or a leaderboard โ€” this template tells you who invited whom; you grant rewards by hand.
  • Don't advertise the invite link before botUsername is set โ€” it won't resolve to anything until then.
  • Keep the reward simple and clearly stated so members know exactly what they're inviting friends for.

The flow behind this bot

This is the whole flow you get. Once you add the template, you can change any message, button or step.

Read-only preview ยท 2 flowsOpen full-screen preview โ†—

Ready to build on this?

Clone the template into your workspace and edit every message, button and action โ€” nothing is locked.