Is it possible to detect when a fulfillment's shipment_status becomes delayed

I’m trying to create a flow that creates an Asana task whenever a shipment is delayed. I can see in the fulfillment JSON that there is a shipment_status node that has the value “delayed” and this is the data I want to use to determine whether to make the Asana ticket.

The Sidekick AI suggested I could get this using the Fulfillment Event Created trigger. However I can’t see that field in the GUI as a selectable variable.

I ran a search on this forum but no results were returned for shipment_status.

Any ideas how I can achieve my goal?

I’ve looked on the fulfillment event object but fulfillmentEvent.status has a fixed set of values you can check for, and delayed is not one of them

Looking further into this, delayed is a REST API only value, GraphQL does not seem to support it, does anyone know why?

Where in the REST API do you see it?

@paul_n it looks like it will be available in 2025-01 for GraphQL:

Yeah. FYI Flow is on 2024-04. We plan to upgrade to at least 2024-10 in Q1 (a project is underway to more rapidly adoption API versions)

1 Like

Thanks Paul, does that mean there is no current way to do what I want that you can think of?

Correct, not through Shopify functionality. If you went through more effort, you could potentially connect directly to the source of the status (fulfillment providers or delivery companies) and then feed that data into the shop (using Flow or metafields). But that’s certainly much higher effort than using a status field

Hey @paul_n, has the current GraphQL API version for flow been updated? I checked to see if the “Delayed” status from 2025-01 was available in the FulfillmentEventStatus in a flow and it was not. Is there a target date for being on 2025-01?

We are working on 2024-10 and that is getting close. We expect 2025-01 to be relatively easy and may come quickly after that. I don’t have timing yet but we are working hard on this, while trying to assure that merchant workflows aren’t broken by changes from adopting each version.