Remove product from collection
TheRemove product from collectionaction removes the product that triggers the workflow from acollection.
Fields
TheRemove product from collectionaction contains the following fields.
Field | 德scription |
---|---|
Collections | The collections from which the product is removed. ClickSelect collectionsto select the collections to remove the product from. |
Triggers
TheRemove product from collectionaction has a hidden field added to it by the trigger. This field,产品ID, identifies the product to remove from a collection. The product ID is set by default and can't be changed.
TheRemove product from collectionaction can be used in workflows that start with the following triggers:
Example
![Example of a workflow that removes a product from a collection when a product is archived](http://www.theturtleeffect.com/cdn/shopifycloud/help/assets/manual/apps/flow/flowv2/remove-product-from-collections-a648d98707565ca184f27603dbaea89ba73a852cc3cc33fef076e9130cd62855.png)
In this example workflow, a product is removed from a collection when the product status changes from active to archived.
API details
To learn more, review thecollectionRemoveProductsmutation.