Skip to content

Promotion codes

Promotion codes—also called promo codes—are a great way to keep users engaged by driving interactions with a heavy emphasis on purchases.

With Braze Liquid functionality, we offer a way to make widespread promotion code usage a snap, allowing messages to now pull from the promotion list you provided, automatically and intuitively. The promotion codes feature offers expiry dates of up to six months and support for up to 20MM individual codes per list.

Creating a promotion code list

Step 1: Navigate to the Promotion Code section

From the dashboard, go to Data Settings > Promotion Codes, then select Create Promotion Code List.

Step 2: Naming and creating your promotion code

Name your promotion code list and add an optional description.

Next, create a code snippet for the promotion code. This code snippet will be what you will reference in Liquid to display this specific set of promotion codes. Make sure that it is a code snippet that is not already being used in another list.

Step 3: Promotion code options

Each promotion code list has a corresponding expiration date and time that gets set upon creation. The maximum expiration length is six months into the future from the day you’re creating or editing your list. Within that time, you can change and update the expiration date repeatedly. This expiration date will apply to all codes added to this list. Upon expiration, the codes will be deleted from the Braze system and any messages calling that list’s code snippet will not be sent.

You also have the option to set up optional and customized threshold alerts. If set up, these alerts will email the designated recipient either when the list is running low on available promotion codes in this list, or when your promotion code list is close to expiration. The recipient will be notified once a day.

Step 4: Promotion code upload

Braze does not manage code creation or redemption. As a result, you’ll have to generate your promotion codes to a CSV file and upload them to Braze. You can use our built-in integration with Voucherify or Talon.One to create and export promotion codes. Make sure that there is only one code on each row.

After the upload is complete, select Save List to save all the details and codes you just entered.

After selecting save, a new row will appear in the Import History. To refresh the table to see if your import has finished, select Sync at the top of the table.

Updating a promotion code list

To update a list, select one of your existing lists. You can change the name, description, list expiration, and threshold alerts. You can also add more codes to the list by uploading new files and selecting Update List.

All codes in the list will have the same expiration, regardless of the date of import.

Step 5: Use promotion codes

To send promotion codes in messages, select Copy Snippet to copy the code snippet you set when creating your promotion code list.

From there, you can paste this code into a message within the dashboard.

Using Liquid, you can insert one of the unique promotion codes from the uploaded CSV file into a message. That code will be marked as sent on the Braze backend to ensure no other message sends that same code.

When a code snippet is used in a multichannel campaign or Canvas step, each user always receives a unique code. For different steps in a Canvas, each user receives several promotion codes.

If a particular user is eligible to receive a code through more than one channel, this user will receive the same code through each channel. For example, if a user receives two messages through two channels, they will receive only one code. The same applies for reporting purposes: one code will be sent, and the user will receive this code through the two channels. For example, for a multichannel Canvas step, only one code would be used by the user.

Sending test messages with promotion codes

Test sends and seed group email sends will use up promotion codes unless requested otherwise. Contact your Braze account manager to update this feature behavior so promotion codes aren’t used during test sends and seed group email sends.

Determining how many codes have been used

You can find the remaining code count in the Remaining column of the promotion code list, located on the Promotion Codes page.

This code count can also be found when revisiting a pre-existing promotion code list page.

Multichannel and single-channel sends

For multichannel and single-send campaigns and Canvases, all promotion codes referenced in a message’s Liquid are deducted to be used before the message is sent to make sure the following occurs:

  • The same promotion codes are used across channels in a multichannel message.
  • No extra promotion codes are used up if a message fails or aborts.

If a user has two promotion code lists referenced in one message that is split by a Liquid conditional logic tag, all promotion codes will still be deducted, regardless of which conditional flow the user follows.

Use case

For the following example, both promotion code lists vip-deal and regular-deal will be deducted. Here’s the Liquid:

1
2
3
4
5
{% if user.is_vip %}
  {% promotion('vip-deal') %}
{% else %}
  {% promotion('regular-deal') %}
{% endif %} 

Braze recommends to uploading more promotion codes than what you estimate will be used. If a promotion code list expires or runs out of promotion codes, the subsequent messages will be aborted.

Frequently asked questions

Which messaging channels can I use with promotion codes?

Promotion codes are currently supported for email, mobile push, web push, Content Cards, webhook, SMS, and WhatsApp. Braze Transactional Email campaigns and in-app messages do not currently support promotion codes.

Will test sends and seed sends use up my promotion codes?

By default, test sends and seed group email sends will use promotion codes per user, per test send. However, you can reach out to your Braze account manager to update this behavior to not use promotion codes during testing.

How do promotion codes work in a multichannel campaign or Canvas step?

Promotion codes are deducted before the message is sent. If the messaging channels in the campaign or Canvas send, this may cause the promotion code to be used for reasons including Quiet Hours, rate limits, frequency capping, exit criteria, and more. However, if any of the message channels are sent, one promotion code will be used.

What happens if I have multiple Liquid snippets that reference the same promotion code list in my message?

The same promotion code will be templated for all instances of the Liquid snippet in your message.

What happens when a promotion code list is expired or empty?

If the message should have contained a promotion code from an empty or expired list, the message will be canceled.

If the message contains Liquid logic that conditionally inserts a promotion code, the message will only be canceled if it should have contained a promotion code. If the message shouldn’t have contained a promotion code, message will send normally.

HOW HELPFUL WAS THIS PAGE?
New Stuff!