Google Tag Manager

Forum Discussion

bosco's avatar
bosco
Active Member
3 months ago

Has anyone implemented a Discord or Telegram integration with Braze?

We're exploring the possibility of using Discord and Telegram as outbound channels to send messages to customers - still having Braze at the centre to trigger and orchestrate campaigns. Has anyone in the community looked at this? Hoping to shortcut our research if possible.

Thanks

  • DavidO's avatar
    DavidO
    Strategist II

    Totally agree with Manoj__ and the way I see these things is that if you can find an API to send to, there's a very high chance you can send messaging to that platform (or trigger anything the API allows).

  • Hey bosco - there are several steps to do this:

    1.  Create a webhook URL for Discord via Integrations -> Webhooks -> New Webhook and then choose the channel / name of the webhook.
    2.  Create a webhook in Braze to send over the message request to Discord based on some trigger you set up.   

    Here is an example of what the endpoint would look like:

    curl -H "Content-Type: application/json" -X POST -d '{"content": "Hello, this is a message sent through a webhook!"}' https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN

    It's super simple and I imagine equally as simple for Telegram.

    Hope that helps!