Skip to main content

Hi,

I’d like to set up a trigger in Shopify to check if a particular affiliate code has already been used by a specific person. Do you know of a scalable solution for this, so I don’t have to manually track which code is associated with each affiliate?

Thank you!

 

Hi @AlexTCC

Thanks for being a part of our community! You should be able to use customer tags to track whether a customer has used a code. From Shopify’s documentation I also found that: 

  • Shopify Flow is available to Shopify Plus merchants and can help automate processes like checking whether a discount code has been used and tagging customers. You can set up a workflow that:
    1. Detects when an order is placed with a particular affiliate code.
    2. Checks if the customer has a tag indicating they have already used that code.
    3. Takes an action (e.g., send an email, notify an admin, or block further code use).

I hope this helps!

~Chloe


Reply