[ { "label": "Set the default weight when a product is created", "trigger_type": [ "product_created" ], "object_type": "product", "app_id": "triggers", "tags": [], "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [], "actions": { "1": { "type": "trigger_child_workflow", "settings": { "target_path": "product.variants", "exported_workflow": { "label": "Variant subworkflow", "trigger_type": [ "manual" ], "object_type": "product_variant", "app_id": "triggers", "tags": [], "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [], "actions": { "1": { "type": "product_variant_set_fields", "settings": { "wait": "0", "custom_wait": "", "fields": { "weight": { "value": "100" }, "weight_unit": { "value": "g" } }, "token_object_type": "product_variant" }, "weight": 999, "target_key": "product_variant" } } } } } } }, "weight": 999, "target_key": "product" } } } }, "shared_workflow_id": 36704 } } ]