Check if a customer have made a new order after the flow is started.

Check if a customer have made a new order after the flow is started.

nmasters
Excursionist
21 1 3

 

Hi,

 

I really hope someone here knows how to set up Automatic Email/Flow for this situation.

 

We would like to send users an email when they purchase a specific product, and we've managed to do that. However, we want to send them a follow-up email after XX days if they haven't placed a new order since their first one. The reason behind this is that, at that point, we typically expect users to make additional purchases, and we hope this can help them remember our brand more effectively.

 

We've attempted the following logic:

Order / Customer / Last Order / Processed At

is greater than

order.customer.updatedAt

 

But it seems to only add a date to the Run Log.

 

If any of you have experience with setting up such a flow, we would greatly appreciate your guidance on how to achieve this.


Thanks
Jacob

Replies 5 (5)

osamafarooqi71
Shopify Partner
259 22 44

Hello @nmasters , You can achive this type of feature via custom coding easily. Simply, you'll need to track the last order date of the customer and you can even add the logic if the customer has purchased the specific product from the store. Then, simple logic after XX days, send a follow-up email to the customer. If the budget is a hurdle, then I recommend exploring some apps, maybe you find one that already has this feature built-in. 

 

Please feel free to ping me back if you need further assistance in this regard.

 

Regards,

Osama Farooqi

Shopify Theme Developer | Contact me | Hire expert
- Was my reply helpful? Click Like 🙂 to let me know | Buy Me Coffee
- Was your question answered? Mark this as Accepted Solution
nmasters
Excursionist
21 1 3

Hi Osama,

Thank you for the feedback. However, for now, we would like to explore the possibility of achieving this through Flow. At this point, we prefer not to add another app.

Once again, thanks for your input.

Thanks,
Jacob

NadiaAnthony
Shopify Partner
75 11 16

You may want to try the "Post-Purchase Thank You" automation template as a starting point. It's "Order Created" > "Wait X Days" ... etc. Navigate to Marketing > Automations > "Post-Purchase Thank You". Hope this helps!

I help brands bridge the gap between complicated code and clear communication.
nmasters
Excursionist
21 1 3

Hi Nadia,

 

Thanks for the feedback. However, this doesn't check whether the customer has actually placed an order after the flow started. The reason we'd like to implement this is to ensure that we send the correct email/information to the customer, rather than a generic one.

 

Nonetheless, I appreciate your input. 😊

 

Thanks, Jacob

alejandropet
Visitor
2 0 12

After the wait time add a condition that checks if the last order is the same as the one that triggers the flow.


If order.createdAt
Equal to order.customer.lastOrder.createdAt
then... do whatever

 

Change the "Equal" or "not equal to" depending on what you want.