Automate Creating and Deleting Draft Orders based upon Tag

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.

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 )

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

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.