Inventory quantity changed
This page was printed on Mar 26, 2023. For the current version, visit https://help.shopify.com/en/manual/shopify-flow/reference/triggers/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.
- Add product tags
- Add product to collections
- Create redirect URL
- Delete redirect URLs
- Hide product
- Publish product
- Remove product from collections
- Remove product metafield
- Remove product tags
- Remove product variant metafield
- Remove shop metafield
- Send HTTP request
- Send internal email
- Update product metafield
- Update product variant metafield
- Update shop metafield
- Wait
Examples
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.