Automate Creating and Deleting Draft Orders based upon Tag

Automate Creating and Deleting Draft Orders based upon Tag

marketing_guy
Tourist
7 0 2

I am looking for a way to automate the creation and sending of a Draft Order based upon a TAG added. Also, a way to delete all open Draft Orders for a customer based upon a TAG. I haven't seen any way to do this in Flow.

 

Add TAG

Draft Order would be created with products associated with that Tag and emailed to customer.

 

Add Tag

All open Draft Orders for this customer would be deleted.

 

Any advice or help would be appreciated.

Replies 3 (3)

paul_n
Shopify Staff
1166 143 275

Can you elaborate on what "Send a draft order" means?

 

If you want to delete draft orders with a tag, you could do:

 

  • Scheduled time trigger (every day)
  • Get draft order data (tag:YOURTAG)
  • For each draft order
    • Remove draft order tags (with YOURTAG )

 

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.

MrStyles
Not applicable
1 0 1

Did you ever find a solution for this? I need to do the same thing.

marketing_guy
Tourist
7 0 2

yes, set up a Pabbly automation triggered by adding tag in crm, had to set up google spreadsheet of all tags with corresponding product info for draft order. Automation tells Shopify to create a draft order with tagged products from spreadsheet.