Braze Canvas

With this integration, you can connect Attentive to Braze Canvas via webhooks to enable you to send mobile messages to your subscribers in the Braze platform. You can combine email and SMS to send messages at key moments in a user’s journey.

Set up a webhook in Braze

Complete the following steps to create a webhook in Braze and connect to Attentive’s Messages API.

  1. Log in to your Braze account.
  2. Follow the instructions to create a webhook and enter the following information in the relevant fields:
    • URL—Enter the following:
      https://client-api.attentivemobile.com/v1/messages/braze
    • Method—Select POST
    • Content-Type—Select JSON
  3. Add your formatted payload in the Request Body. The following is an example of the payload you would add:
        {
    "to" : "1234567890",
    "body" : "Thanks for subscribing!",
    "type" : "TRANSACTIONAL",
    "messageId" : "123456789",
    "mediaUrl" : "http://website.com/some_url.png",
    "notificationUrl" : "http://api.customer.com/delivery"
    }
    Note: If a messageId and the Attentive shortlink are included in the payload, the number of delivered messages, clicks, and conversions can be tracked on the Campaigns page in Attentive. See Create a message in Attentive for details.
  4. Add the following Header Key/Value pairs in the Request Headers section:
    • Enter Authorization (capitalized) as the key.
    • Enter Bearer XXXXXX as the value.
      Note that you can reach out to our White Glove team (whiteglove@attentivemobile.com) for the token.
  5. Save the webhook.

(Optional) Create a message in Attentive

Complete the steps to create a one-time message in Attentive. This is necessary for generating the message ID and to use the Attentive shortlink for tracking clicks. Note the following for the campaign:

  • Enter a unique Campaign Name—For example, a recognizable name like Braze Cart Abandon Message.
  • Select an empty segment—You should select a segment that has no existing subscribers. This ensures that the message won't be sent to existing subscribers.
  • Add a shortlink—You should now have a message that's blank except for the shortlink.

After you send the campaign to the blank segment, you can save the message ID from Attentive.

Questions?

We’re here to help! Contact our White Glove team (whiteglove@attentivemobile.com) to ask about the Attentive + Braze Canvas integration.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful