You can track user events and trigger notifications to external platforms like Telegram using a combination of event tracking and webhooks within Customer Journey.
-
Track User Events:
- Web Events: Use the standard event handlers provided by the Web SDK for common website interactions. See the Web Push SDK documentation for default handlers.
- Custom Events: For specific actions on your website, server-side, or other platforms (like a bot), you can implement custom event tracking. Refer to the guide on Custom Events configuration.
-
Send Notifications to Telegram:
- While there isn't a direct integration for Telegram, you can use the Webhook feature within a Customer Journey flow.
- Configure a Webhook element in your Journey to send a request to the Telegram Bot API when your desired logic (based on tracked events) is met.
- You can model your implementation based on examples for other platforms, such as the Slack webhook integration sample, adapting the payload and endpoint for Telegram's API.
- Learn more about using Webhooks in Customer Journey here: Journey Elements - Webhook.
Comments
0 comments
Please sign in to leave a comment.