Voucherify

Voucherify is an all-in-one promotional platform that allows for personalized campaigns and loyalty programs that drive user engagement and retention.

With the Braze and Voucherify integration, users can automatically send personalized coupons, gift cards, loyalty cards, referral codes, and more – all through their Braze account while tracking redemptions and campaign growth at every step.

How does it work?

Leverage the power of Voucherify and grow your promotional campaigns by sending unique codes through the use of:

  • Connected Content: Add unique codes to Braze campaigns via Braze’s Connected Content. You can use Voucherify discount coupons, gift card campaigns, loyalty cards, and referral codes with this feature.
  • Custom Attributes: Custom Attributes enable you to assign Voucherify unique coupons, gift cards, loyalty cards, and referral codes to users’ profiles in Braze. As a result, you can send attached codes and their attributes in email campaigns and share them with your users.
  • Promotion Codes Lists: Use Voucherify generated promotion codes and upload them into Braze.

Prerequisites

Requirement Origin Description
Braze API Key Braze Settings A REST API Key linked to your Braze account with the users.track permission enabled

Send Unique Codes via Connected Content

Add unique codes to Braze campaigns via Braze’s Connected Content. You can use Voucherify discount coupons, gift card campaigns, loyalty cards, and referral codes with this feature.

Step 1: Create a New Campaign

From the Braze Dashboard, create a new campaign, define your campaign name, choose an email template, and edit the email body.

Step 2: Add Code Snippet to Email Body

Add a code snippet with code publication settings under the <body> tag in the email template.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% assign campaign_id = {{campaign.${api_id}}} %}
{% assign customer_id = {{${user_id}}} %}
{% assign source_id = campaign_id | append: customer_id %}

{% connected_content
	https://api.voucherify.io/v1/publications
	:method post
	:headers {
		"X-App-Id": "VOUCHERIFY-APP-ID",
		"X-App-Token": "VOUCHERIFY-APP-TOKEN"
	}

	:body campaign=CAMPAIGN_ID&customer={{${user_id}}}&channel=Braze&source_id={{source_id}}
	:content_type application/json
	:save publication
%}

After you copy the code to the email body, add your API keys and campaign id as described below:

  1. Add VOUCHERIFY-APP-ID and VOUCHERIFY-APP-TOKEN from your Voucherify Project Settings (section Application Keys).

  2. Replace CAMPAIGN_ID, a unique identifier of your Voucherify campaign. You can find the campaign ID in the URL while displaying the campaign details in the Voucherify dashboard.
    VOUCHERIFY CAMPAIGN ID

  3. Lastly, add the {{publication.voucher.code}} to the email body to display the published code, and select Preview and Test. In the preview, you should see a random code from your Voucherify Campaign.

    We highly advise you not to depend on the Preview mode entirely and to send several test messages to confirm that everything works as it should.
    CONNECTED CONTENT PREVIEW

Step 3: Send Messages with Codes to your Users

Finish modeling the campaign settings and activate the workflow with Launch Campaign.

Each user defined in the campaign Target Users will get an email with a unique code automatically assigned to their profile in Voucherify.

Step 4: Track Sent Codes in Voucherify

CODE PUBLISHED When a code gets to the user, it is published to their profile in Voucherify.

If a user redeems the code, you’ll see the redemption details in your Voucherify Dashboard.

CODE REDEMPTION

Assign Unique Codes to Users’ Custom Attributes

Braze Custom Attributes enable you to assign Voucherify unique coupons, gift cards, loyalty cards, and referral codes to users’ profiles in Braze. As a result, you can send attached codes and their attributes in email campaigns and share them with your users.

Step 1: Connect your Voucherify Account with Braze

Copy the REST API Key from your Braze account. Your API key should have user.track permissions.

Next, visit to the Integrations Directory in your Voucherify Dashboard, find Braze integration and paste the copied REST API Key:

VOUCHERIFY INTEGRATION HUB

When both accounts are connected, you can start a new Voucherify distribution that assigns unique codes to the custom attributes in the users’ profiles in Braze.

Step 2: Launch Voucherify Distribution

You can distribute codes to Braze using manual mode or define an automated workflow that triggers code delivery in response to your users’ actions.

In both manual and automatic mode, Voucherify sends unique codes with their attributes and assigns them to Custom Attributes in users’ profiles.

CUSTOM ATTRIBUTES

Besides the unique code, you can also attach the date when the code was delivered to Braze, the code’s value, and URLs that direct to the customer cockpit and the customer cockpit preference center. Voucherify customer cockpit displays all assigned codes and available rewards.

Manual mode works as a one-time action that assigns codes to a chosen audience. You can select a Voucherify segment of users or a single user as your receivers and choose a campaign that will be a source of unique codes.

MANUAL MODE

To set up manual distribution with Braze and Voucherify, visit a Voucherify step-by-step tutorial.

Set an automated workflow that delivers codes to Braze in response to actions taken by your users:

  • Customer entered/left specific Voucherify segment.
  • Successful code publication – the message is sent once the code from a campaign is published (assigned) to a customer in Voucherify.
  • Order status changed (order created, order update, order paid, order canceled).
  • Gift credits added – the message is sent once gift card credits are added to the customer’s card.
  • Loyalty points added – the message is sent once loyalty points are added to the customer’s profile.
  • Voucher redeemed – the message is sent to customers who successfully redeemed vouchers.
  • Voucher redemption rollback – the message is sent to the customer whose redemption was successfully rolled back.
  • Reward redemption – the message is sent when a customer redeems a loyalty or referral reward.

To set up an automatic workflow with Braze and Voucherify, visit a Voucherify step-by-step tutorial.

Step 3: Use Custom Attribute with Code in Braze Campaigns

CUSTOM ATTRIBUTE ASSIGNED When the custom attribute with code is added, you can use it in Braze campaigns.

Edit your email body and add the custom attribute defined in the Voucherify distribution. Type {{custom_attribute.${custom_attribute_with_code}}} to display the unique code.

CUSTOM ATTRIBUTE IN EMAIL BODY

When it’s ready, you can see the code in your message preview. EMAIL PREVIEW WITH CUSTOM ATTRIBUTE

Step 4: Track Sent Codes in Voucherify

Each time a code gets to the user, it is assigned to his/her profile in Voucherify.

When a user redeems the code, you’ll see the redemption details in your Voucherify Dashboard.

REDEMPTION SUCCEED

Upload Voucherify Codes to Braze Promo Codes Lists

Next to the Connected Content and Custom Attributes, you can share Voucherify codes using Braze Promo Codes snippet.

Step 1: Export Unique Codes from Voucherify Campaign.

Edit the CSV file and remove the name of the column to leave the list of codes only.

REDEMPTION SUCCEED

Step 2: Create Promotion Code List in Braze

CREATE PROMOTION LIST Go to the Promotion Codes in the Braze Integrations section and click Create Promotion Code List.

You can use the Voucherify campaign name to name the list to ensure data consistency. Besides the name, add the code snippet that refers to the codes from the list. The snippet will be populated with a unique code once the message is sent.

PROMOTION LIST DETAILS

You can set attributes for codes such as List Expiration and Threshold Alerts. However, note that Voucherify manages the logic behind your codes regardless of list settings.

PROMOTION LIST EXPIRATION

Upload the CSV file with Voucherify codes.

CSV IMPORT

When the import is done, click Save to confirm the list details.

Step 3: Use Code Snippet in Braze Campaign

To use codes from the list in a Braze campaign, Copy Snippet and add it to the email body.

COPY SNIPPET

Add the code snippet to display a code from the list.

LIST CODE SNIPPET IN EMAIL

Once the message with code is sent, the same code won’t be used ever again.

If you need help with any of the steps above, visit our detailed Braze Promo Codes User Guide.

WAS THIS PAGE HELPFUL?
New Stuff!