Creating a flow for customers who bought a specific product for the first time

Solved

Creating a flow for customers who bought a specific product for the first time

OUABCLogan
New Member
4 0 0

I'm looking to set up a flow that targets customers who buy a specific product for the first time. I have it triggered when the order is paid and then the condition to check if the product title is a certain title, but I'd also like to have an AND condition that that specific product was never purchased by the customer before. I can't find the condition in the list to set this up though. Any help would be appreciated for what this sort of setting would be called.

 

Thank you!

Accepted Solution (1)

tim
Shopify Partner
4526 541 1652

This is an accepted solution.

Very similar to the first thread in Similar threads below: "Flow Automation: Max 1 time for a customer"

 

Here is my suggestion in that thread:

https://community.shopify.com/c/shopify-flow-app/flow-automation-max-1-time-for-a-customer/m-p/26565... 

 

If you're only starting to sell this product, then the best option is to add a metafield/tag to a customer when they buy this product and then check if it's set.

Otherwise you'd need to combine conditions with "Loop" action to retrieve all orders for the customer and the loop over all items for each order to see if this is the one.

 

Looping like this would be much more resource-consuming. But probably the only option if you've been selling this product for a while because checking customer metafield will give many false positives.

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

View solution in original post

Replies 3 (3)

tim
Shopify Partner
4526 541 1652

This is an accepted solution.

Very similar to the first thread in Similar threads below: "Flow Automation: Max 1 time for a customer"

 

Here is my suggestion in that thread:

https://community.shopify.com/c/shopify-flow-app/flow-automation-max-1-time-for-a-customer/m-p/26565... 

 

If you're only starting to sell this product, then the best option is to add a metafield/tag to a customer when they buy this product and then check if it's set.

Otherwise you'd need to combine conditions with "Loop" action to retrieve all orders for the customer and the loop over all items for each order to see if this is the one.

 

Looping like this would be much more resource-consuming. But probably the only option if you've been selling this product for a while because checking customer metafield will give many false positives.

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
OUABCLogan
New Member
4 0 0

I think I'm a bit confused about what "looping" an action looks like. We've been selling this specific product for years (it's a subscription) so we're trying to target new customers who are just subscribing to this specific product with us for the first time. 

 

Separate but maybe an alternate solution - is there a way to limit this flow to only contacting each customer one time? If it emails people after this first renewal processes and then doesn't send this same email again, that would also be acceptable since the whole point is just trying to offer people something once.

tim
Shopify Partner
4526 541 1652

Looping is kind like trigger:"When order created"=> then: Action=>Flow-=>"For each loop(iterate)"=>list: Order.customer.orders

Screenshot 2024-10-31 at 7.05.44 PM.png

 

 

Yes, that's the idea -- if you want to do something once, then you do it and add a tag or a metafield to this customer. But before, you you check whether tag/MF is set and skip this action. Kinda like:

Screenshot 2024-10-31 at 7.16.32 PM.png

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com