Prerequisite: Add Braze credentials to VoucherifyTo send data from Braze to Voucherify, generate API credentials in your Voucherify project first.
Synchronize customers with Braze Canvas
You can use Braze Canvas webhooks to synchronize Braze customer data with Voucherify.Create a new Canvas
In Braze, create a new Canvas using the Canvas Flow editor.
Compose webhook
Set the following details:
- In Webhook URL, enter the URL of the endpoint:
https://{yourCluster}.braze.voucherify.io/braze/customer-webhook. - In HTTP method, set
POST. - In Request body, set JSON Key/Value Pairs.
Webhook URLs for different regions
Webhook URLs for different regions
Use the webhook URL for your region.
| Region | Webhook URL |
|---|---|
| Europe | https://braze.voucherify.io/braze/customer-webhook |
| United States | https://us1.braze.voucherify.io/braze/customer-webhook |
| Asia | https://as1.braze.voucherify.io/braze/customer-webhook |
| Remaining clusters | https://{cluster}.braze.voucherify.io/braze/customer-webhook (use your dedicated cluster) |
Configure request body
Enter the required parameters in the Request Body:
action: Useaddto add members to the audience ordeleteto remove them.user_id: Use personalization in the editor to add a Braze user ID, for example,{{${user_id}}}.audience_id: Add the ID of the audience to update, for example,608.
Optional fields
Optional fields
You can use the following optional fields to synchronize additional details.
| Parameter | Definition / Options / Mapping |
|---|---|
email_address | Maps directly to Voucherify’s email field |
first_name | Concatenates with last name into the customer’s name field |
last_name | Concatenates with first name into the customer’s name field |
country | Maps to Voucherify customer address (country) |
city | Maps to Voucherify customer address (city) |
phone_number | Maps to Voucherify customer address (phone) |
Configure request headers
Add the required parameters in the Request headers:
applicationId: Integration application ID.secretKey: Integration application token.
brazeAudiences array in Voucherify customer metadata as well as other optional data will be updated whenever the relevant event occurs.
Go to the Canvas portal in Braze documentation to learn more.
Sending events with Braze webhook messages
Use Braze Canvas with webbooks as a message channel to send Braze events to Voucherify.Configure general settings of the Canvas
Configure general settings of your Canvas.Choose Entry schedule
As Entry schedule, select Action-Based.A user needs to perform an action to enter the Canvas workflow.
Select the custom event
In Action Based Options, select the Perform Custom Event and Add trigger. Select the custom event the customer needs to perform.
If you stream Voucherify events to Braze, you can also select a Voucherify event as a custom event.
Set Entry window
In Entry window, provide a start time when customers will start entering the Canvas.Optionally, you can set up an End time.
Configure target audience
In Target Audience, choose All Users.
Configure send settings
In Send Settings, choose All users including unsubscribed users.
Build Canvas
Configure your Canvas to send events from Braze to Voucherify.Compose webhook
Set the following details:
- In Webhook URL, enter the URL of the endpoint:
https://{yourCluster}.voucherify.io/v1/events. - In HTTP method, set
POST. - In Request body, set Raw Text.
Configure request body
In Insert Raw Text, add the payload for the track event endpoint, for example:
Configure request headers
Add the required parameters in the Request headers:
X-App-Token: Integration application ID.X-App-Id: Integration application token.
Related features
Combine data sent from Braze to Voucherify with the following features for better incentive optimization.Customer segments in Voucherify
Customer segments in Voucherify
You can use the synchronized Braze Audiences as customer segments in Voucherify.Use
brazeAudiences metadata to create a dynamic segment that will be used, for example, in:- Validation rules to target incentives to specific Braze audience.
- Distributions to trigger additional distribution layers or for tracking using Distribution webhooks based on segments.
- Dynamic formulas to calculate discounts or loyalty points.
Custom events
Custom events
As you can use Braze Canvas webhook messages to call the POST Track custom events endpoint in Voucherify, you can further experiment with the following cases:
- Mark a referral as complete by forwarding a Braze event to Voucherify.
- Give a free item voucher to a customer when they register on your website.
- Add points to a customer loyalty card when they left a review in your portal.
- Give a discount coupon when a customer abandoned their cart.
Voucherify distributions with Braze
Voucherify distributions with Braze
If you want to base your Braze distribution on Voucherify events, you can use two different ways.You can use Braze Canvas with the events Voucherify streams to Braze. These events can be used as an Entry rule with Action-based delivery.You can also use Voucherify Distributions, which cover more events. Select there Braze as a distribution channel to publish codes in response to order-related events like order canceled. Read the Getting Started with Distributions guide to learn more.

