Skip to main content

Creating multiple discount codes in bulk

Create multiple unique codes for the same discount

Written by Bryan Schoenmaker

In this article, you'll learn how to create a large number of unique discount codes under one discount code in one go. This is useful if, for example, you want to give every customer their own personal code through your email marketing, instead of one code that anyone can use.

ℹ️ This feature is part of Plug&Pay Ultimate. Are you on Plug&Pay Lite or Premium? Upgrade to Plug&Pay Ultimate to use this feature.


When do you use bulk codes?

A single discount code works well when you're sharing one promotion with your entire audience. If you want to hand out codes personally, for example to a specific customer segment, to entrants of a giveaway or to customers you want to reward exclusively, you'll want everyone to get their own unique code. This way you keep track of each code, prevent a code from being shared widely, and can see for each code whether it has been used.


Generating bulk codes

Go to your discount code and scroll to the Code section. Select the Multiple codes tab. Don't have a discount code yet? Create one first.

Enter how many unique codes you want to create in the input field and click Generate.

ℹ️ You can generate up to 2,500 codes at a time. Need more codes? Simply repeat the action a few times.

❗Please note: Generating large numbers of codes happens in the background and may take a little while.

The codes are generated and compiled into a CSV file. Download the file by clicking the icon. You can generate another batch of codes by entering a number again and clicking Generate.

💡 Tip: use the downloaded list of codes directly as a file in your email marketing tool, so that each recipient automatically receives their own code.


Importing the file into ActiveCampaign

To share the generated discount codes with your customers, it's best to import the file into your email marketing system, such as ActiveCampaign.

Follow the steps below:

  1. Download the CSV file in your Plug&Pay account.

  2. In ActiveCampaign, export the contacts who should receive the codes.

  3. In the exported file, keep only the email column and add a new column called 'Discount code'.

  4. Paste your unique codes into that column (one code per row).

  5. Go to Contacts → Import → Import from file, select your CSV and map the code column to a custom field (create a new field if needed).

  6. Under Import options, choose "Update existing contacts while importing" and import.

You can then use a personalisation tag for the field in your email. The tag automatically fills in the unique code linked to a contact.

ℹ️ Other email systems may require different steps. Please refer to your email marketing system's documentation.


Frequently asked questions (FAQ)

Can I decide what the codes look like?

No, bulk-generated codes are created automatically and at random, so that every code is unique. If you want one specific, recognisable code, use the Single code option.

What happens to my existing single code when I add bulk codes?

Nothing. The single code and your bulk codes exist side by side under the same discount code. Customers can use any valid code, whether it's the single code or one of the bulk codes.

Can I delete part of a batch?

No, you delete codes per batch (the entire card). If you no longer want to use some of the codes, delete the relevant card and, if needed, generate a new, smaller batch.

What is the maximum number of codes I can create?

You can generate up to 2,500 codes at a time. In total, you can generate 10,000 unique codes in bulk.

Is the limit I set for maximum uses applied to each individual code, or the entire discount?

The limit of uses set under Restrictions, is applied to the entire discount. If you've set a limit of 20 uses and generated 25 codes, not all codes can be used. Change the limit to the number of individual codes you have.

Did this answer your question?