[Request] Shopify Order Updated Trigger

maxrfinch
Shopify Partner
34 1 41

Just discovered there's no trigger for an updated order on Shopify Flow. I'm looking to use this to automate tasks after a customer's order is updated.

Replies 10 (10)

bryanro
Excursionist
24 0 31

Trigger needed are:

Updated order

Updated Draft order

Updated Customer

Updated Product

jonmossman
Visitor
2 0 0

Has this trigger been added to Shopify Flow yet?

bryanro
Excursionist
24 0 31

No. I have to use an App for these automations. Arigato Automation works well.

paul_n
Shopify Staff
925 127 222

You can use the scheduled time trigger + a "Get data" action to make your own update event. 

 

Something like:

  • Scheduled time trigger: Every hour
  • Get order data (with a query matches which orders you care about)
  • For each (order)
    • Whatever action you want to take
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.
bryanro
Excursionist
24 0 31

I read another thread about this workaround. How would that work in a scenario where I want to trigger an automation for ANY customer that is modified, specifically, any of the following information is changed:

tags

tax-exempt status

email address

custom fields

 

I don't want to risk missing a trigger because my query isn't correct, so it's easier to trigger based on ANY update to the customer (or order for that matter).

bryanro
Excursionist
24 0 31

I can't seem to find the other thread on this topic. Was it removed?

paul_n
Shopify Staff
925 127 222

idk, I haven't seen another thread

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
925 127 222

Anything that causes an update event should be caught if you use "updated_at" in your query. You won't know what changed, though, unless you store the prior value somewhere. 

 

If you want "tags changed", you can use "Customer tags added" or "customer tags removed".

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.
bryanro
Excursionist
24 0 31

Does that mean I could query for all customers (or orders) that have been updated and run them through the automation individually?

 

This is what I need, because I will use Conditions to validate the changes that I am looking for before I start the trigger. 

 

Or do I have to query against a specific field?

paul_n
Shopify Staff
925 127 222

You need to query with updated_at at the very least. It's generally better use the query filters to get the smallest number of results as possible as there is a limit of 100 at a time. 

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.