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?
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).