[ { "label": "Bulk update to add products to a collection based on a metafield", "trigger_type": [ "product_bulk_op" ], "object_type": "product", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "1": { "field": "product.metafields", "settings": { "multiple": "any", "metafield_selection_type": "custom", "namespace": "update me", "key": "update me", "value_type": "single_line_text_field", "operator": "equals", "value": "update me", "token_object_type": "product", "condition_type": "AND" }, "weight": 999 } }, "actions": { "1": { "type": "product_add_to_collections", "settings": { "token_object_type": "product", "collection_ids": { "87653777526": 0, "67384934518": 0, "169063186550": 0, "137510944886": 0 }, "wait": "0", "cw_timezone": "America\/New_York", "custom_wait": "" }, "weight": 999, "target_key": "product" } } } }, "shared_workflow_id": 43753 }, "description": "This workflow runs in a bulk update. Run this one time update to add products to a collection based on the value of a metafield. " } ]