# Voucher set editor

Within a campaign, you may need to send each recipient a unique code—for example, for a promotion or a ticket number for an event. These codes are most likely to be temporary, specific to the campaign and not part of the FastStats build.

You can upload a list of codes in PeopleStage and use them within the Content step to ensure that they are output as part of the campaign delivery file.

Administrator permissions are necessary to import a file containing the required codes using the Voucher Set Editor found in **File** \> **Administration**:

1. Select **File** \> **Administration** \> **Voucher Set Editor**

   [![Voucher Set Editor](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_000.png>)](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_000.png>)

   In the Voucher Set Editor window that opens:
2. Allocate a set name in the **Add Voucher Set** box.

   [![Voucher Set Editor Add Voucher Set](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_001.png>)](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_001.png>)
3. Click **Add**—the Voucher Set will appear in the window.

   [![Voucher Set Editor Voucher Added](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_002.png>)](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_002.png>)
4. Click **Import Codes**.

   If the codes are to be imported from a file, the file needs to be a CSV file containing all required codes. You can choose whether the file contains headers or not.

   [![Voucher Set Editor Import Codes](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_003.png>)](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_003.png>)
5. Click **Browse** to navigate to and locate the saved CSV file.
6. Select **Open**.

   Once located, a preview of the file contents will appear in the Editor.

   [![Voucher Set Editor Codes Preview](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_004.png>)](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_004.png>)
7. Click **Import Codes**.

   The Voucher Set will update in the Editor to show how many codes it has recognised from the file:

   [![Voucher Set Number of Codes](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_005.png>)](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_005.png>)
8. Click [![Close editor button](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_006.png>)](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_006.png>) in the top-right corner of the Editor to close it. The Voucher Set is saved within the Editor.

## Adding a voucher set to a campaign

To add a Voucher Set to your campaign:

1. Navigate to the Content Step within the campaign
2. If the Voucher Set is newly created, click [![Refresh Library button](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_007.png>)](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_007.png>) to refresh the PeopleStage Library.

   Any available Voucher Sets can be accessed in the **Predefined** section of the **Values** folder:

   [![Voucher Set in Library Values](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_008.png>)](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_008.png>)
3. Drag and drop the required Voucher Set onto the Content step as a new Content Field.

The **ANY** selection, which is automatically applied, means that everyone in the Message will be allocated a code defined in the Voucher Set.

[![Voucher Set in Content Step](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_009.png>)](<https://help.apteco.com/assets/images/peoplestage/getting-started/user-interface/menu-items/voucher-set-editor/156_VoucherSet_Q418_009.png>)

Complete the campaign set up. When you publish the campaign into the Live environment, each individual is assigned a code from the selected Voucher; the code is output as part of the delivery file in accordance with the channel specified on the Delivery step.

> [!NOTE]
>
> You can use the Voucher Set in conjunction with Percentage Audiences—for example, 50% of the audience are assigned a Voucher Code and 50% are not.

> [!NOTE]
>
> If the import file contains duplicate voucher codes, PeopleStage will not de-duplicate the file, so it is possible for more than one person in the campaign to receive the same offer code.
