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!
Best answer by chloe.strange
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:
Detects when an order is placed with a particular affiliate code.
Checks if the customer has a tag indicating they have already used that code.
Takes an action (e.g., send an email, notify an admin, or block further code use).
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:
Detects when an order is placed with a particular affiliate code.
Checks if the customer has a tag indicating they have already used that code.
Takes an action (e.g., send an email, notify an admin, or block further code use).
I hope this helps!
~Chloe
Search saves time. Contributing compounds value.
The ROI of your reply? One helpful answer can support dozens of teams, build your credibility, sharpen your own expertise over time, foster connectivity, and create good karma – because what goes around comes around. The community is what YOU make it.