I tried to set up a flow with the template “Send email summary witih all unfulfileld orders older than 2 days”, but I’m trying to exclude archived orders as well as cancelled orders, and I cannot get anything to work. Any help with the code on this would be great. Here is what I currently have for the Get Order Data query:
created_at:<=‘{{ scheduledAt | date_minus: “2 days” }}’ AND fulfillment_status:unfulfilled AND NOT status:cancelled
We have orders where the customer either requested us to remove an item or we refunded it before fulfilling it, so these items are showing as unfullfilled, so we’ve archived them, but they still show up on this flow.