InventoryLevels.committed help

I can bring up InventoryLevel.incoming currently in Flow.

I am looking for a way to compare that to InventoryLevel.committed

Or anything similar that would compare the incoming number to the amount of that product committed to orders.

Any suggestions?

If some logic doesn’t have a dedicated action from a specific system, or a expose a specific property, then query that with an admin-api action then use a runcode action and do the comparison with javascript.

https://help.shopify.com/en/manual/shopify-flow/reference/actions/send-admin-api-request
https://help.shopify.com/en/manual/shopify-flow/reference/actions/run-code

If you need services to have it built for you then click my profile pic for contact options or to PM me (it wont reload the page). or request that I PM you for services.

If you don’t mind using third-party apps, you can retrieve the committed inventory level using the Execute GraphQL request action provided by the Flow Companion app. This is possible because the app uses the 2025-07 version of the GraphQL API.

Here’s an example workflow that queries and outputs both incoming and committed inventory level:

The Execute GraphQL request action is configured as follows:

The resulting output looks like this:

{
  "inventoryLevel": {
    "id": "gid://shopify/InventoryLevel/134172016988?inventory_item_id=51381296628060",
    "quantities": [
      {
        "name": "incoming",
        "quantity": 10
      },
      {
        "name": "committed",
        "quantity": 20
      }
    ],
    "item": {
      "id": "gid://shopify/InventoryItem/51381296628060",
      "sku": ""
    },
    "location": {
      "id": "gid://shopify/Location/97738785116",
      "name": "Shop location"
    }
  }
}

You can parse this result using the Run code action and use the extracted data in the following steps of the workflow.

You can also contact Flow Companion support team to help you set up your specific workflow.

1 Like