Skip to content
Last updated

Braze Output Streaming Integration

Braze is a customer engagement platform that helps brands of all sizes create personalized and targeted campaigns across various channels. Braze gives you the ability to listen to your customers, understand what their behavior is signaling, and then act by sending customers the right message, through the right channel, at the right time.

Using this integration, Treasure Data can send messages through Braze using either a campaign or a canvas flow.

Prerequisites

  • Basic Knowledge of Treasure Data.
  • Basic knowledge of Braze, including a knowledge of how to configure campaigns and canvases to send emails.

API Information

Treasure Data uses the /campaigns/trigger/send permission or the /canvas/trigger/send to direct Braze to send email messages. The documentation on the Request Body for these two APIs can be very helpful in setting up your email templates on Braze.

Use Cases

The primary use case for this streaming integration is to incorporate it into a real-time activation workflow. Here is an overview of how to configure that workflow:

  1. In the Braze dashboard, generate an API key for either the campaigns.trigger.send permission or the canvas.trigger.send permission.
  2. Create your Braze email templates.
  3. In the TD Console, create an authentication for this integration to communicate with Braze.
  4. In a Real-time Journey, select this authentication for a new triggered activation.

Limitations

  • There is a limit of 250 requests per minute for broadcast calls (when only specifying a segment or Connected Audience). Otherwise, Braze supports 250,000 requests per hour. (See Braze rate limits by request type.)

Obtaining the Braze API Key

To obtain your Braze API key:

  1. Log in to the Braze dashboard.

  2. Select the API Settings tab and then select + Create New API Key.

    • For campaign messages, you will need to generate an API key with the campaigns.trigger.send permission.

    • For canvas messages, you will need to generate an API key with the canvas.trigger.send permission.

  3. Store the API key in a safe and secure location. You will need this key to create the Braze authentication in TD Console.

Use the TD Console to Create Your Connection

You must create and configure the data connection in Treasure Data. As part of the data connection, you provide authentication credentials to access the integration.

  1. Open the TD Console.

  2. Navigate to Integrations Hub > Catalog.

  3. Select the search icon on the far right of the Catalog screen, and type Braze Output Streaming.

  4. Hover over the Braze Output Streaming connector and select Create Authentication.

  5. Enter the Braze API endpoint.

  6. Enter the Braze API key.

  7. Select Continue.

  8. Enter a name for your connection.

  9. Select Done.

The Braze Output Streaming integration is now available to be incorporated into real-time customer journey activations. See Creating a Real-time Triggered Activation for additional information.