---
title: "How to Import Coupons from CSV/XLSX"
description: "How to create individual discount codes to your customers."
url: https://help.user.com/en/articles/116-how-to-import-coupons-from-csvxlsx
collection: "Data Import & Export"
updated: 2026-10-26
language: en
alternates: [fr, pl, de, it, es]
---

# How to Import Coupons from CSV/XLSX

How to create individual discount codes to your customers.

[Coupons](https://help.user.com/en/articles/184-what-is-a-coupon.md) are used quite often in different types of business. Almost every company has a moment of offering some special discount to its contacts. This is why Positive User app now includes such an option as well. You can import your coupons and then integrate them with the CRM activity, email campaigns and pop-ups.

## **Before You Start**

First of all we need to create a new promotion, which will include the bunch of the coupons/discount codes for our contacts.

1.  Go to “**Loyalty program**” → “**Coupons**” → “**New promotion**”
    

![](https://staticfiles.gleap.io/gattachments/DT6sYq3QDnNCHwvOZoyC6MgsTTSUisLtjHVT7hy8nyrZOXJXGMq03t8cpDZH9Ng1cRJ5nSuATXr.png)

2.  Define these **two values:**
    

-   **Custom ID** \- equivalent to promotion name.
    
-   **Description** \- additional information describing the promotion.
    

Values of the custom ID and description do not influence the coupon rules - they need to be defined in your shopping system.

![](https://staticfiles.gleap.io/gattachments/YKUE9VjKhvAE9byFXzrytBEwPxDMTcGiUMaaJNjkSqYD5bTkzGpMPH0ywGYXY2Ps9hhmXqwSf5J.png)

## 1\. Prepare CSV/ XLSL File

Before uploading, ensure your file is formatted correctly. If you aren't sure how your file should look, you can download a ready-to-use template directly from the app by clicking the “xlsx” or “csv” button in the “Data” → “Import” section.

To find more tips about data formatting, check our [dedicated article](https://help.user.com/en/articles/109-csvxlsx-import-formatting-rules.md).

**Required Fields**

Each coupon value should be unique.

The file needs to have a header: **“code”**, with the discount codes below.

Optionally you can add another column: **"expires\_at"**, where you put ISO 8601 datetime, with the time until when the code is valid.

> **Info:** The “code” header is an obligatory one. If you name a column differently, the coupons will not be imported.

**Column Headings**

Always include column headings in the first row of your file. Try to give your columns exactly the same names as the existing in Positive User attributes have. If the column name is identical to the attribute name, the system will match them automatically during import.

**Encoding**

What is encoding? Encoding tells the computer how to interpret the text characters in your file. The default and most highly recommended format is UTF-8. Choosing UTF-8 ensures that special characters, accents, and symbols are imported correctly without turning into random symbols.

**Separator**

What is a separator? In CSV (Comma Separated Values) files, a separator is the punctuation mark used to divide your text into distinct spreadsheet columns. Common separators are commas (,) or semicolons (;).

> **Info:** Check how your spreadsheet software exported the file and ensure you know which character divides your data.

## **2\. Upload the File**

1.  Go to “**Data” → “Importers”** and choose “**Import** **Coupons”.**
    

![](https://staticfiles.gleap.io/gattachments/vjguFNO4aILyD9gKqcj7TAlZ8D6ModxBcQ4fUic6vVKJzknBiZTCIE44ud8MhzGVwTQA9CjZmwP.png)

![](https://staticfiles.gleap.io/gattachments/ygEf1fVyqibTrXPDmt1810ChjRpb9Wbglx3eZiCVd7LxNg8XOIbEUdi6gw19cgmQ1XsTDyhbi0G.png)

OR

You can go with “**Loyalty program**” → “**Coupons**” → “**New promotion**” arrow → “**Import coupons**”

![](https://staticfiles.gleap.io/gattachments/RZUiaibrY61soiegiX7T36A6ykosjo1guGvmukiNKZFyheXIfNDcCduJlaVMD7j75e1Qkjpmqh5.png)

2.  Upload or drag&drop the file.
    
3.  Choose the encoding to be suitable to your file. (UTF-8 is a default one)
    
4.  Choose the separator used in your file.
    
5.  Choose promotion previously added to the system.
    
6.  Click “Import” to add coupons to the app.
    

![](https://staticfiles.gleap.io/gattachments/hi71oezF33WPqoftXDLFChFDGYaMapX97jUoZ7ZuzkYVpw6DRtkuko0MaZIgBlkSK8F7GUWl1ss.png)

## 3\. Import Results

You can monitor the import process and check the final results in the “Import Results” section, where you are redirected automatically.

You can visit this section any time via **“Data” → “Importers” → “Import Results”** path.

Here you will see:

-   Import status (Started/Pending/Complete/Archived)
    
-   Date created
    
-   Completed at
    
-   Type (what kind of data was imported)
    
-   Created by (team member who uploaded the file)
    
-   File name
    
-   Total rows (from your file)
    
-   Succeeded (final number of rows imported)
    
-   Failed (shows number of failures)
    

If something goes wrong during the import, click on the file name to view a detailed error report.

To view the newly imported coupons, go to “Loyalty program” → “Coupons”. You can see all your promotions there.

> **Info:** You can always import additional coupons to the existing promotion.

## **Related Articles**

-   [What Is a Coupon](https://help.user.com/en/articles/184-what-is-a-coupon.md)
    
-   How to Assign Coupons \[LINK\]
    
-   [CSV import troubleshooting](https://help.user.com/en/articles/113-csvxlsx-import-troubleshooting.md)
    
-   [How to Import Companies from CSV/XLSX](https://help.user.com/en/articles/108-how-to-import-companies-from-csvxlsx.md)
    
-   [CSV/XLSX Import Formatting Rules](https://help.user.com/en/articles/109-csvxlsx-import-formatting-rules.md)
