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.
The following actions can be used in workflows that start with the Inventory quantity changed trigger.
- Add product tags
- Add product to collections
- Add shop Metafield
- Add product Metafield
- Add product variant Metafield
- 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 email
- Send HTTP request
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.
The Inventory quantity changed trigger allows actions to be taken with the Product Graphql API object.