Promo Code from Data Base

Upload the promo code database, specify the variable in the message, and the system will automatically insert them.

šŸ“˜

This type is suitable for both single and broadcast campaigns.

Create and import a file with promo codes

The first step is to create a file with promo codes. Essentially, it’s a regular CSV file where you build a database of promo codes.

To see the file example, go to your profile → Settings → Promo codes → File example.

Promo codes page with the File example tab highlighted showing a sample CSV table with code, expirationDate, discount, and type columns

It should include the following parameters:

  • code - promo code;
  • expirationDate - promo code expiration date in one of the formats: yyyy-MM-dd, yyyy-MM-dd'T'HH:mm:ss, yyyy-MM-dd'T'HH:mm, yyyy.MM.dd;
  • discount - discount;
  • type - promo code type (letters and numbers).
šŸ“˜

Important

If you need to use only promo codes without other parameters, upload a file only with a code column.

If you upload only promo codes, tick the corresponding checkbox.

Promo codes Upload file tab with the file drop area and Add only promo codes checkbox highlighted

A file entitled General will be uploaded into the system. All promo codes uploaded in this way will be displayed in this file.

Active promo codes tab listing type1, type2, type3, and the general file, with the general row highlighted

After downloading the file with Type, Discount and Expired parameters, you will see Active, Sent and Upload history tabs.

  • On the Active tab, you can track the number of current and expired promo codes at the selected date:
Active promo codes tab highlighted showing the total active and expired counts for a promo code type
  • On the Sent tab, you can select a specific period and see the number of sent promotional codes of various types.
šŸ“˜

Note

Data on sent promotional codes are collected from 18:20 2023-02-17.

Sent promo codes tab highlighted showing sent code counts by type over a selected date range
  • To delete the promo codes list, go to the Upload history tab, click ... → Delete:
Upload history tab highlighted with a list of uploaded files and the Delete option open in a context menu
šŸ“˜

Note

There's no self-serve way to export the list of currently loaded promo codes from these tabs. If you need a CSV of the loaded codes, contact support to request one.

Create an email

For promo codes only

Insert the variable %PC_GENERAL% where you want your promo code in the email. At the moment of the campaign launch, the system will automatically replace it with the first valid promo code in the list.

šŸ“˜

Note

By default, dynamic content copied into the message context is stored for 60 days. For mandatory (service) messages, this term was extended to 1 year in June 2025. For %PC_GENERAL% in a bulk campaign, the reference point is 60 days.

Email preview showing the %PC_GENERAL% variable in a dashed placeholder box under Grab your code

For promo codes with additional parameters

Insert the variable %PC_TYPE_EXPARATIONDATE_DISCOUNT%, where you want your promo code in the email. It may look as follows: %PC_NewYear_1_7% where NewYear is a promo code type, 1 is the minimum number of days the promo code is valid, and 7 is the disсount.

šŸ“˜

Note

We recommend setting the minimum promo code validity period to 1 day. Promo codes will continue to be sent as long as more than 1 day remains before the promo codes in the file expire.

🚧

Important

The second position in the variable is a filter, not a campaign setting. For example, 30 in %PC_type1_30_5% does not set the campaign duration — it excludes promo codes with fewer than 30 days of validity left.

The variable also works with a single promo code type. To insert codes of another type, use a separate variable with that type in the first position.

Email preview showing the %PC_NewYear_1_7% variable in a dashed placeholder box under Grab your code


Did this page help you?