[ { "label": "Change product template suffix", "trigger_type": [ "product_custom" ], "object_type": "product", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [], "actions": { "2": { "type": "shopify_api_request", "settings": { "token_object_type": "product", "label": "change template", "method": "PUT", "path": "products\/{{ product.id }}", "data": "{\r\n \"product\": {\r\n \"id\": {{ product.id }},\r\n \"template_suffix\": \"templatename\"\r\n }\r\n}", "response_handle": "", "response_object_type": "", "parent_data": "", "workflow_actions": [], "wait": "0", "cw_timezone": "America\/Phoenix", "custom_wait": "", "run_once": 0 }, "weight": 1009, "target_key": "product" } } } }, "shared_workflow_id": 19905 }, "description": "This automation is fired on-demand; it loops through the products updating the product template to a pre-defined one. Ths workflow is beneficial when applying new templates to existing products. " } ]