Sending dynamic discount codes in emails or workflows using AiTrillion allows you to deliver unique, personalized offers to each customer automatically. Dynamic discount codes help prevent code misuse while increasing engagement and conversions through targeted promotions. This article explains how to send dynamic discount codes in email campaigns and automation workflows using AiTrillion effectively.
Step 2: Click on Create button in the top right corner.

Enter a descriptive name for your coupon (e.g., "Welcome10").
Only letters and numbers are allowed.
Maximum: 32 characters.
Only letters and numbers are allowed
A custom prefix can be added to each generated coupon code (e.g., "WELCOME").
The system will add 6 random alphanumeric characters after your prefix to create unique codes. If left blank, the full code will be 8 random characters.
Note: The characters I, 0, O, and 1 are excluded to avoid confusion.
Fixed Amount: e.g., $10 off.
Percentage off
Free shipping
Enter the value of the discount in the “Details” field.
Optional: Check - "This discount requires a minimum purchase" if you want to enforce a minimum spend threshold.
Choose what the coupon applies to:
Entire order – Applies the discount to the full order total.
Select products – The discount will work for specific products.
Select collections – The discount will work for specific collections.
Determine when the coupon becomes active:
Step 5: If you are using a Bulk discount code generator - Go back to the Discounts code screen. Click here to visit the discount code page. Click on the three dots and then on Add Codes to add the total number of codes.

Step 6: Add the number and click on the Submit button.
It will take time (1-2 minutes) to generate the discount codes. You can check the number of generated discount code by refreshing the page.
Step 3: In the new tab, go back to Email marketing >> Discount codes >> Copy the coupon name.
Note: Make sure to generate a large number of discount codes to prevent any disruption in the workflow. If the number of available codes runs out, the workflow will stop sending emails to customers.Step 5: Now you can send this email to the customers using the campaign or workflow.