Appearance
Recipe: welcome new Telegram joiners by first name โ
Everyone who asks to join your Telegram channel from an ad gets a personal welcome, "Hi Maria ๐", and a button that opens your bot. That way you can keep talking to them afterwards.
What you'll achieve: an automatic first-name welcome for every new joiner, a way to keep messaging the people who respond, and a tag on the ones who don't.
Time needed: 20โ30 minutes, including testing.
Before you start:
- [ ] A Telegram bot connected to Flowtracker.
- [ ] The bot added to your channel as an administrator with the Invite users via link and Add members rights.
- [ ] A tracked link for the channel with How people join set to Ask to join, then Wait before approving (1โ2 minutes is plenty). Put this link in your ads.
- [ ] A second Telegram account (or a friend's phone) that is not in the channel, for testing.
Who can do this: anyone who can create workflows and see your Telegram bot.
Why it works this way โ
Telegram has two rules that shape this recipe:
- A bot can't message someone first. Normally a person has to press Start on your bot before it can reach them.
- A join request is the one exception. While someone's request to join is waiting, your bot may send them one private message. After the request is approved or declined, follow-ups need Start.
So the plan is: use that one message to welcome them by name, and include a Starts the bot button. Anyone who taps it becomes reachable from then on.
That's also why we use Ask to join with a short wait before approving. It gives your welcome time to arrive while the request is still pending.
"Join request" vs "Member joined"
Member joined fires after someone is already in the channel. In a channel, a private message to them only arrives if they've already pressed Start on your bot, which new members from ads haven't. For first-touch welcomes, always use Join request.
Steps โ
1. Create the workflow and choose the trigger โ
- In the left rail, click Automation โ Workflows โ Create Workflow โ Start from scratch.
- Type a name in Workflow name..., for example Welcome โ channel join requests.
- Click the trigger box. Category: Telegram Bot. Trigger: Join request.
- Telegram Bot: choose your bot.
- Channels / Groups: choose your channel. Leave it empty to welcome people to every channel this bot manages.
2. Add the welcome message โ
Click + under the trigger and choose Send Message.
Fill it in:
Field Set it to Channel Telegram (Bot) Telegram Bot Your bot Chat ID Leave empty. On a join request, the message goes to the person privately. Message See below In Message, write your welcome. To insert the first name, type
{{and pick First Name from Trigger Data, then add a fallback:Hi {{ifEmpty(trigger.firstName, "there")}} ๐ Thanks for requesting to join! You'll be in shortly. Tap the button below to get your free welcome pack and daily updates.trigger.firstNameis the first name the person set in Telegram. It's available instantly, before Flowtracker has a contact record for them.ifEmpty(โฆ, "there")says Hi there if they have no first name at all.- Optional: if some people typed their full name into Telegram's first-name box, use
{{ifEmpty(first(split(trigger.firstName, " ")), "there")}}to keep only the first word.
Under Buttons, add one button:
- Label: Get my welcome pack
- Kind: Starts the bot
- Start parameter:
welcome
Turn on Wait for button tap, and set No reply after to
1Days.Save. Flowtracker adds a linked Wait for button tap step after your message, with branches for your button, Other reply and No reply.
3. When they tap the button โ
The Get my welcome pack branch fires when the person presses Start on your bot. From now on your bot can message them freely.
- On that branch, add Send Message (Channel: Telegram (Bot), same bot, Chat ID empty).
- Write your welcome pack, for example a link to your free guide, your rules and what to expect. Here you can also use
{{ifEmpty(contact.firstName, "there")}}, since the person now has a contact record with their Telegram first and last name. See Getting names right. - Optional: add Add Tag (Entity Type: Conversation) with a tag such as Started bot. You can then target these people in Telegram broadcasts.
4. When they don't respond โ
- On the No reply branch, add Add Tag with a tag such as Didn't start bot.
- On Other reply (they typed instead of tapping), add an Add Internal Note, or route them to your team with Assign Conversation.
5. When the message can't be delivered โ
Your welcome step has Failed and Unreachable outcomes. Connect both to an Add Tag step (Welcome not delivered). Otherwise a failed send marks the whole run as failed.
6. Test it โ
- Click Test Run to check the steps fill in correctly. Remember, Telegram itself isn't contacted in a dry run.
- Click Publish. The workflow is now Active.
- From your test account, open your tracked link and tap Request to join.
- Within a few seconds the test account receives the welcome, with its first name and the button.
- Tap Get my welcome pack. The bot opens and the welcome pack arrives.
- After your Wait before approving delay, the request is approved and the test account is in the channel.
Check it worked โ
- Automation โ Run History shows one run for your test, with every step green.
- The Inbox has a new Telegram conversation with your test account, showing the welcome and the welcome pack.
- CRM โ Leads has a lead for the test account. Their Attribution panel shows the tracked link and campaign they came from.
- If you added tags, the conversation shows Started bot.
Troubleshooting โ
| Problem | Cause | Fix |
|---|---|---|
| Nobody gets the welcome | The link uses Join straight away, so there's no join request. | Set the tracked link's How people join to Ask to join. |
| Nobody gets the welcome, and the run doesn't appear | The trigger is filtered to the wrong bot or channel, or the workflow isn't Active. | Check the trigger's Telegram Bot and Channels / Groups, and publish. |
| The channel doesn't appear in Channels / Groups | The bot isn't an admin with the right permissions. | Make the bot an admin with Invite users via link and Add members. |
| The welcome arrives, follow-ups don't | The person never tapped the button, so they never pressed Start. | Expected. Only people who press Start can be messaged again. |
| The send took Unreachable | The request was already approved before the message went out, or the person blocked the bot. | Lengthen Wait before approving on the tracked link. |
| The greeting shows the full name | The person typed their full name into Telegram's first-name field. | Use the optional first-word formula in step 2. |
| The greeting says Hi Telegram User 12345 | You used {{contact.firstName}} in the first message, before the real name was known. | Use {{trigger.firstName}} in the first message. |
| The greeting says Hi ! | Missing fallback, or {{firstName}} without a prefix. | Use the formula above. See Variables. |
Variations โ
- No buttons, no workflow: if a fixed welcome is enough, use the bot's โฏ โ Join-request welcome setting instead. See Telegram Bot.
- Approve from the workflow: the Approve/Decline Join Request step can approve or decline the request (leave Chat ID and Telegram User ID empty to use the trigger's). Use it if your join requests don't come through a Flowtracker tracked link that already approves them, so the same request isn't handled twice.
- Different welcomes per ad: create one tracked link per ad and one workflow per channel, or branch on the link with a Condition step.
- Report the join to Meta: that's done on the tracked link, not in the workflow. See Telegram links.