Product status updated
The Product status updated trigger starts a workflow when a user in your organization or a third-party app changes the status of a product.
Actions
The following actions can be used in workflows that start with the Product status updated trigger.
- Add product tags
- Add product to collections
- Create redirect URL
- Delete redirect URLs
- Publish product
- Remove product from collections
- Remove product metafield
- Remove product tags
- Unpublish product
- Update product metafield
Example
In this example workflow, a product is made available on the online store sales channel when its status changes from archived to active.
Testing the Product status updated trigger
To test a workflow that starts with this trigger, change a product's status.
API details
The Product status updated trigger allows actions to be taken with the ProductPublication Graphql API object.