Inventory quantity changed

The Inventory quantity changed trigger starts a workflow when inventory is changed for a specific product. The source of the inventory change can be an order, a manual change to inventory, or an app that changes inventory quantities.

Actions

The following actions can be used in workflows that start with the Inventory quantity changed trigger.

Examples

Example of a workflow that publishes a product when the inventory changes from less than or equal zero to more than zero

In this example workflow, a product is published when the inventory quantity for a product changes from less than or equal to zero to more than zero.

Testing the Inventory quantity changed trigger

To test a workflow that starts with this trigger, change a product's inventory.

API details

The Inventory quantity changed trigger allows actions to be taken with the Product Graphql API object.

Ready to start selling with Shopify?

Try it free