Thanks for your response. I’m not crazy about this approach though; I want to enact this automation for orders that meets this criteria ONCE only. In my mind the easiest way to do this is to use a trigger that will only occur once (ie order achieves paid status). If I’m understanding correctly, with the scheduled time approach (ie set to run every 24hrs or similar), every order that meets the criteria would get flagged each time it runs and thus get multiple emails generated - this is not what I want. Also, the proposed code you suggested doesn’t filter the orders I want. I want only the orders that are unfulfilled where the fulfillment status is not “ready for pickup”. Your code would give me orders that are unfulfilled with delivery method set to pickup - that’s not the same thing.
I have two spin-off question - which property is linked to the fulfillment status as displayed in the shopify admin? (see image below). Pretty sure it’s NOT fulfillments_item.displayStatus, though that property contains “ready_for_pickup” among other options. I say this as I just experimented with another version of this code, it was looking for fulfillments_item.displayStatus for an order that was unfulfilled in the shopify admin, yet it returned an ‘empty’ result.
