[ { "label": "Set product to draft when created", "trigger_type": [ "product_created" ], "object_type": "product", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "1": { "field": "product.status", "settings": { "operator": "any", "value": { "active": "active", "archived": 0, "draft": 0 }, "condition_type": "AND" }, "weight": 999 } }, "actions": { "1": { "type": "product_set_fields", "settings": { "token_object_type": "product", "fields": { "status": { "value": "draft" } }, "wait": "0", "cw_timezone": "America\/New_York", "custom_wait": "" }, "weight": 999, "target_key": "product" } } } }, "shared_workflow_id": 53220 }, "description": "This automation can help to change the status of products to draft when they are created in your store. This can be useful if your store sync's new products from an external database." } ]