Zapier is an automation web tool that allows you to share data between web apps, and then use that information to automate actions. You can use the Braze platform’s API endpoints and webhooks to connect with third-party applications—such as Google Workplace, Slack, Salesforce, etc—and automate a variety of actions.
In the Zapier example below, we’ll be sending information from Wordpress to Braze using a POST webhook. We’ll then use that information to create a Braze campaign.
Step 1: Add WordPress as a Trigger and select New Post after you connect your account:
Using Zapier’s terminology, a “zap” is an automated workflow that connects your apps and services together. The first part of any zap is to designate a trigger. Once your zap is enabled, whenever your trigger is detected, Zapier will automatically perform its respective actions.
Using our Wordpress example, we’ll set up our trigger as a published Wordpress post.
Step 3: Add an Action “Webhook”:
The second part of any zap is the action. When your zap is enabled and your trigger is detected, the action will automatically occur.
Using the same example, our action will send a POST request as a JSON to a Braze endpoint.
Step 4: Choose Post as the Type:
Step 5: Setup Braze Post:
Payload Type : JSON
These data fields are key value pairs that will for the data portion of the request.
The above is an example for customers on the
US-01instance. If you are not on this instance please refer to our API documentation to see which endpoint to make requests to.
Step 6: Create a Braze Campaign:
Once you’ve successfully set up your zap, you can now use that information you’re being sent to customize your campaign and send off any messages. You can also use trigger_properties with Liquid to filter what or if the message is sent.