Inventory quantity changed
The Inventory quantity changed trigger starts a workflow when an order is placed that deducts available inventory from a specific product.
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.