Skip to main content
Contributor IV
March 14, 2024
Solved

Can you create unique codes for individual subscribers?

  • March 14, 2024
  • 12 replies
  • 1072 views

Hi there, is there any way you can generate unique codes for individual subscribers? For example, unique birthday codes that run in the flow? 

    This topic has been closed for replies.
    Best answer by bluesnapper

    Hi @Browns 

    Yes. The dynamic coupon codes are a pool Klaviyo draws from when sending an email. With the Shopify integration, Klaviyo ensures new ones are generated as needed once you’ve created the coupon.

    As an example, you create a dynamic code called ‘birthday’ so in your flow email you include the tag:

    {% coupon_code 'birthday' %}

    When the email is sent, Klaviyo inserts a unique discount code for that recipient into the email. For every email you send with that tag, the recipient will always receive the same unique code.

    Whether a contact receives that birthday email with the code, that’s down to your flow conditions.

    Does that answer your question?

    Regards

    Andy

    12 replies

    BrownsAuthor
    Contributor IV
    April 2, 2024

    Hi again @bluesnapper

    This has now deleted all my auto generated codes and even with setting them back up with an expiration date I can’t now generate any codes at all? 

    Thank you, 

    Ebony

    bluesnapper
    Partner
    Champion & Partner
    April 2, 2024

    Hi @Browns 

    For use in flows, the codes are automatically generated in batches of 100 for live flows as required so you never run out of them. So, even if 0 codes are shown as available, as soon as a flow is triggered that includes the coupon code tag, Klaviyo will create 100 codes and insert a unique one in each email recipient’s email. More info here: https://help.klaviyo.com/hc/en-us/articles/115006155388

    Regards

    Andy 

    https://bluesnapper.com - Klaviyo Champion '24 & Partner