The Publish product action makes the product that triggers the workflow available on your online store.
The Publish product action has a hidden field added to it by the trigger. This field, Product ID, identifies the order to cancel. The product ID is set by default and can't be changed.
The Publish product action can be used in workflows that start with the following triggers:
- Inventory quantity changed
- Product added to store
- Product status updated
In this example workflow, products are published when the inventory of that item is greater than ten.
To learn more, review the productPublish mutation.