Zapier integration

Zapier is an automation web tool that allows you to share data between web apps and then use that information to automate actions.

The Braze and Zapier partnership leverages the Braze API and Braze webhooks to connect with third-party applications—such as Google Workplace, Slack, Salesforce, WordPress, etc. to automate various actions.

Prerequisites

Requirements Description
Zapier account A Zapier account is required to take advantage of this partnership.
Braze REST Endpoint Your REST Endpoint URL. Your endpoint will depend on the Braze URL for your instance.

Integration

In the Zapier example below, we will be sending information from WordPress to Braze using a POST webhook. This information can then be used to create a Braze campaign or Canvas.

Step 1: Create a Zapier trigger

Using Zapier’s terminology, a “zap” is an automated workflow that connects your apps and services. The first part of any zap is to designate a trigger. Once your zap is enabled, Zapier will automatically perform the respective actions whenever your trigger is detected.

Using our WordPress example, in the Zapier platform, we’ll set up our zap to trigger when a new WordPress post gets added and select Published and Posts as Post Status and Post Type.

Zapier new post

Zapier published options

Step 3: Add an action webhook

Next, define the zap action. When your zap is enabled, and your trigger is detected, the action will automatically occur.

Continuing our example, we want to send a POST request as a JSON to a Braze endpoint. This can be done by selecting the Webhooks option under Apps.

Zapier webhook

Step 4: Set up Braze POST

First, choose POST as the webhook action type. Next, make sure to fill out the following fields using your Braze REST endpoint in the webhook URL:

  • Webhook URL: https://rest.iad-01.braze.com/campaigns/trigger/send
  • Payload Type : JSON
  • Data : trigger_properties__name, api_key, and campaign_id These data fields are key-value pairs that will be used for the data portion of the request.

Zapier POST

Step 5: Create a Braze campaign

Zapier campaign

Once you’ve successfully set up your zap, you can customize your Braze campaigns or Canvases with Wordpress data by using Liquid formatting to display the information in your messages.

WAS THIS PAGE HELPFUL?
New Stuff!