Skip to main content
Contributor I
September 17, 2024
Solved

Check if Affiliate got activated.

  • September 17, 2024
  • 1 reply
  • 40 views

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!

 

    This topic has been closed for replies.
    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:
      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

    1 reply

    chloe.strange
    Community Manager
    Community Manager
    September 23, 2024

    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