Inventory quantity changed
The Inventory quantity changed trigger starts a workflow when inventory is changed for a specific product variant. The source of the inventory change can be an order, a manual change to inventory, or an app that changes inventory quantities.
On this page
The following data is provided to workflows that start with the Inventory quantity changed trigger.
|The product which had its inventory quantity changed.|
|The product variant which had its inventory quantity changed.|
|The previous inventory quantity for the product variant.|
Testing the Inventory quantity changed trigger
To test a workflow that starts with this trigger, change a product's inventory.
The Flow template library has many examples that make use of the Inventory quantity changed trigger. These examples show how to make use of inventory for products, variants, and per location.
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
The Inventory quantity changed trigger allows actions to be taken with the Product Graphql API object.