New Shopify Certification now available: Liquid Storefronts for Theme Developers

TAG/UNTAG Inactive Customer

LexBratt
Visitor
2 0 0
How can I remove a tag from a customer that hasn't made a purchase in the last 35 days, using Shopify Flow?
Replies 5 (5)
S_Jones_UW
Shopify Expert
42 0 9

It sounds like you have part of your workflow in place already, but our Customer Tagger app allows you to both apply tags and then schedule those tags to be removed after a specified period of time, e.g. 35 days

If a Customer places another order within that time, we will cancel the existing scheduled tag removal job and create a new tag removal job for 35 days time.

A lot of Merchants use this feature to manage Customers with monthly subscriptions.

Order and Customer Tagger apps for Shopify
Darius90
Shopify Partner
32 0 9

YES, YOU CAN! FLOW have command "wait"

Darius90_0-1658827279715.png

 

...
BryanPal
Shopify Partner
21 0 3

Unfortunately the wait action currently has a 30 days max limit on it. This means the OP wouldn't be able to use this for their particular scenario. 

 

wait.PNG

 

paul_n
Shopify Staff
Shopify Staff
611 98 156

It's generally a bad idea to sleep/wait something for a long time like this as it leads to problems if you ever need to edit it. Instead, you can use scheduling to accomplish this. There is a template that shows how (for products) that you could adapt:

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
paul_n
Shopify Staff
Shopify Staff
611 98 156

To outline the workflow steps:

  • Scheduled time trigger
  • Get customer data (query by order_date, see examples for how to use relative dates to get 35 days ago)
  • For each (customer)
    • Add or remove the customer tag
  •  
Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.