[ { "label": "Unpublish product from Web & POS when out of stock", "trigger_type": [ "product_updated" ], "object_type": "product", "app_id": "triggers", "tags": [], "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "1": { "field": "product.inventory_quantity", "settings": { "operator": "lte", "value": "0", "token_browser": "{{ Browse Tokens }}", "token_object_type": "product", "condition_type": "AND" }, "weight": 999 } }, "actions": { "2": { "type": "shopify_api_request", "settings": { "wait": "0", "custom_wait": "", "label": "", "method": "PUT", "path": "products\/{{product.id}}", "data": "{\r\n \"product\": {\r\n \"id\": {{ product.id }},\r\n \"published_at\": \"\",\r\n \"published_scope\": \"web\"\r\n }\r\n}", "response_handle": "", "response_object_type": "", "parent_data": "", "workflow_actions": [], "token_object_type": "product" }, "weight": 1009, "target_key": "product" } } } }, "shared_workflow_id": 29620 } } ]