InventoryLevels.committed help

Topic summary

A user seeks to access InventoryLevel.committed in Shopify Flow to compare it with InventoryLevel.incoming for inventory management purposes. Currently, Flow natively exposes the incoming quantity but not the committed quantity.

Two solutions are proposed:

  1. Native Shopify approach: Use the “Send Admin API Request” action to query the data via GraphQL, then process the comparison using the “Run code” action with JavaScript.

  2. Third-party solution: Install the Flow Companion app, which supports the 2025-07 GraphQL API version. This app provides an “Execute GraphQL request” action that can retrieve both incoming and committed inventory levels. The response includes detailed inventory data (quantities, SKU, location) that can be parsed with the “Run code” action for further workflow steps.

Both methods require granting appropriate API permissions (read_inventory, read_locations). The third-party option includes example GraphQL queries and configuration screenshots. Professional implementation services are also available if needed.

Summarized with AI on October 26. AI used: claude-sonnet-4-5-20250929.

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