Product variant back in stock
The Product variant back in stock trigger starts a workflow when the inventory for a product variant increases from 0 or less to 1 or more. 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
Data provided
The following data is provided to workflows that start with the Product variant back in stock trigger.
Data | Description |
---|---|
productVariant | The product variant which had its inventory quantity changed. |
Testing the Product variant back in stock trigger
To test a workflow that starts with this trigger, change a variants's inventory from 0 to 1 or more.
Examples
The Flow template library has examples that make use of the Product variant back in stock trigger. These examples show how to make use of inventory for products, variants, and per location.
Actions
Any action that requires a variant or a product can be used with the Product variant back in stock trigger. These include:
- 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
API details
The Product variant back in stock trigger allows actions to be taken with the Product Variant Graphql API object.