Hi @CleoH,
Thank you for sharing your question with the Klaviyo Community.
Yes, this is entirely possible!
After you create the popup form, you’ll want to create the coupon code. Klaviyo can auto-generate unique coupons in emails for Shopify, Magento 1, and Magento 2 stores. We have comprehensive guides on managing unique coupon codes for these three integrations here. However, if you’re using a different integration or a custom integration, you will have to upload your own unique coupon codes which are typically generated within your own ecommerce platform.
Once you have the coupon created, you’ll want to set-up a list-triggered flow. triggered off of the same list that your popup form submits to. Typically, the popup form submits to the Newsletter list which then triggers a welcome flow.
Finally, you’ll need to insert the unique coupon code syntax into the flow email using the following dynamic placeholder variable:
{% coupon_code 'NAME_OF_YOUR_COUPON' %}
where you replace NAME_OF_YOUR_COUPON with the coupon name (must be an exact match of the name -- capitalization matters). For example, if the name of your coupon is Welcome10, the syntax would look like the following in your flow email:

When emails are sent out, this variable will be dynamically replaced with a unique, single-use discount code for each recipient in place of {% coupon_code 'NAME_OF_YOUR_COUPON' %}
I recommend reviewing the coupon code guide pertaining to your integration for more details (for example using coupon codes for SMS):
In sum, the workflow looks like the following:
- User will submit the sign-up form which adds them to the list (if the list is double opt-in, the user will have to confirm their subscription before being added to the list)
- User added to the list, triggers the flow
- User receives the first flow email containing this unique, dynamic, single-use coupon code with the discount
Thanks and have a wonderful day.