---
title: "Setting up Discount Code Templates"
description: "Generate influencer discount codes instantly with SARAL’s Discount Code Templates — no need to create code names manually each time."
url: https://help.getsaral.com/en/articles/189-setting-up-discount-code-templates
collection: "Settings & Preferences"
updated: 2026-05-30
language: en
---

# Setting up Discount Code Templates

Generate influencer discount codes instantly with SARAL’s Discount Code Templates — no need to create code names manually each time.

### **How to Create a Discount Code Template**

1.  Go to [Settings > General](https://app.getsaral.com/dashboard/settings?tab=general).
    
2.  Scroll to the “Discount Code Templates” section.
    
3.  Click **Create New** and follow the on-screen instructions.
    

**Recommended Code Format:**

We suggest using the “FIRSTN” or “USERN” format, where the code is generated based on the customer’s first name or username. For example, if a customer’s name is Kelsey, the code would be **KELSEY15.**

### Flexible Discount Code Settings for Your Campaigns

You can choose from several options to control how the discount codes apply, beyond just one-time purchases. Select one or more of the following options as needed:

1.  **Single Use Per Customer:** Limits code usage to one time per customer.
    
2.  **New Customers Only:** Only first-time purchasers can use the code. Returning customers will be unable to use it.
    
3.  **Set a Minimum Order Value:** Requires a minimum purchase amount for the discount to apply.
    
4.  **Enable Discount on Subscriptions:** Choose whether to apply the discount on the first purchase only or on every purchase.
    
5.  **Only for Specific Products:** Turn the toggle ON to limit this discount to certain products. Once enabled, you’ll see a product search field. Start typing to search for products and select one or multiple items to include.
    

![](https://staticfiles.gleap.io/ghelparticle/CMWyhTevpoPtKtKaQtreAG1pLdAtu5GIuKu70IvLr2MZY5ubURm7Xfa88yxctPogEF2UyWoKRK2.png)

Don't forget to click “**Create**” to save your template!

### NEXT: Using Discount Code Templates

1.  Click on the influencer’s profile in the Relationships board, or visit their full profile.
    
2.  On the left, you will see “**Generate Discount Code**”
    

It’ll give you the option to generate a code based on a template. Select the template you want to use and click “**Generate**”. The code will be ready for you!

![](https://storage.crisp.chat/users/helpdesk/website/d83fdd333af8c000/screenshot-2024-02-01-at-71848_1eub7qz.png)

![](https://storage.crisp.chat/users/helpdesk/website/d83fdd333af8c000/screenshot-2024-02-01-at-71859_1j27t8f.png)

### **What if I need a custom discount code?**

Sometimes, the name isn’t right or there are two influencers with the same name.  
  
To make a custom code, click on “Generate Discount Code” and tab over to “Custom”

![](https://storage.crisp.chat/users/helpdesk/website/d83fdd333af8c000/screenshot-2024-02-01-at-72021_1vp7eou.png)

### **Editing and Deleting discount codes**

You can edit the code by clicking on the edit icon after you generate it:

![](https://storage.crisp.chat/users/helpdesk/website/d83fdd333af8c000/screenshot-2024-02-01-at-72956_15k4t25.png)

  
In case you accidentally create a code, or if you no longer need it, you can delete it from the influencer’s profile by clicking on the **delete** icon.

### **Still need help?**

Reach out anytime with our helpful Support team using the button at the bottom-right corner of your dashboard, or email us at [support@getsaral.com](mailto:support@getsaral.com).
