[ { "label": "Set product metafields for items in an order when an order is created", "trigger_type": [ "order_created" ], "object_type": "order", "app_id": "triggers", "tags": [], "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [], "actions": { "1": { "type": "trigger_child_workflow", "settings": { "target_path": "order.line_items.product", "exported_workflow": { "label": "Product subworkflow", "trigger_type": [ "manual" ], "object_type": "product", "app_id": "triggers", "tags": [], "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [], "actions": { "1": { "type": "product_set_metafield_value", "settings": { "wait": "0", "custom_wait": "", "namespace": "global", "key": "origin_iso", "value_type": "string", "value": "my-value", "token_object_type": "product" }, "weight": 999, "target_key": "product" }, "2": { "type": "product_set_metafield_value", "settings": { "wait": "0", "custom_wait": "", "namespace": "global", "key": "hstarif_number", "value_type": "string", "value": "my-value", "token_object_type": "product" }, "weight": 1009, "target_key": "product" } } } } } } }, "weight": 999, "target_key": "order" } } } }, "shared_workflow_id": 36792 } } ]