You can track user events from any platform and then message users in Telegram from a Customer Journey. Telegram is now a native Pushwoosh channel, so you no longer need a webhook to the Telegram Bot API.
-
Track user events
-
Web: the Web SDK automatically posts the built-in
PW_SiteOpenedevent on every page open, withurl,titleanddevice_typeattributes. See Default events. Note that the Web SDK's event handlers (subscribe,unsubscribe,permission-granted, and so on) only report subscription and permission changes — they are not used for tracking user actions. -
Custom events (website, server-side, bot): create the event in Audience > Events first, then send it with the
/postEventAPI method or the SDK'spostEvent. See Custom events.
-
Web: the Web SDK automatically posts the built-in
-
Send the Telegram message
- Add the Telegram element to your journey canvas and enter the body in Message text. Keep it text-only and within 4096 characters. Messages reach users who have started your bot and entered the journey.
- You can personalize the text with tags and Liquid placeholders, and attach voucher codes by enabling Use vouchers and adding
{{voucher}}to the text. - If Telegram reports bot blocked or chat not found, the user is marked unreachable for Telegram and appears in the Skipped rows of the journey statistics.
- See Journey elements — Telegram and Send Telegram messages in Customer Journey.
If you need to reach a system that has no native channel, the Webhook element is still the right tool; see the webhook samples for a payload example.
Comments
0 comments
Please sign in to leave a comment.