I’m trying to setup a Flow that will check if a customer has used a particular discount code before it sends out an email containing that code.
Does anyone know how to configure this?
I’m trying to setup a Flow that will check if a customer has used a particular discount code before it sends out an email containing that code.
Does anyone know how to configure this?
Of course, you can pull a list of orders for the customer and check every order for discount codes applied, similar to:
More effective way is to set up 2 flows – one will run on every order and if customer has used a discount code it will tag the customer with a special tag (or add a metafield). This flow can be set up to save all of the discount codes used in one flow, so no need to update it if decide to promote another discount…
Then, in the second flow you’d be able to check for the tag/MF and either send an e-mail or not.