I am trying to create a Shopify Flow that identifies users who have already taken a free trial offer on previous subscriptions. I think the easiest way to do this will be to use tags, as these orders are already tagged with “Subscription First Order”, as well as pricing, as these orders will always be “£0”.
I’m pretty sure I am correctly checking on the order being placed meeting the conditions, but I don’t know how to then have Flow check all that customers previous orders to see if they have already had a free trial. Is checking against a customers previous orders possible within Flow? I think what I have currently in the second “check if” is simply checking the new order again:
So, put simply, I want a flow that identifies customers who have already had a 14-day free trial and have placed an order that has received it again. Our subscriptions are managed by Recharge, if that is helpful.
Any input or ideas for a way of doing this would be very gratefully received.
It’s hard to tell what you are doing from the diagram there. Probably the most sustainable option would be actually tag the customer up as soon as the first trial offer is taken. To backfill that, you could building something to run on orders like:
Order created
Then, If order has tag “subscription first order” (for future orders, you might need to add a wait step if this is fulled in after the order is created)
Then, add customer tag “subscription first order”.
Turn on and Run this manually on all past orders (Go to orders, choose all on a page, select “Run Flow automation”).
You could also use the new “Get Order Data” action (it’s rolling out to 100% very soon). In that, you search past orders for if that customer had orders a tag of “subscription first order” (limiting it to 1 result). You check if the count is >=1 …if so, add the customer tag and whatever other logic you want. One you have access to this new feature, you’ll see some templates for this that do a very similar use case (minor tweaking required)
If you can wait a few days (like mid next week), I would wait for the Get Order Data feature. We are very close to launching it to 100%, but as you know sometimes we hit a snag that delays things.
I’m trying to use this logic to backdate a flow that will tag customers based on their first order and whether it was a subscription or one-time order. Any ideas of how to do this would be really helpful.