[ { "label": "Set a static billing address when an order is tagged with a special term", "trigger_type": "draft_order_created_updated", "settings": { "condition_groups": [ { "conditions": [ { "field": "draft_order.tags_array", "settings": { "multiple": "any", "operator": "contains", "value": "Fancy Company" }, "weight": 1 }, { "field": "draft_order.billing_address.company", "settings": { "operator": "not_contains", "value": "Fancy Company" }, "weight": 999 } ], "actions": [ { "type": "draft_order_set_fields", "settings": { "wait": "0", "custom_wait": "", "fields": { "billing_address": { "first_name": { "value": "Someone At" }, "last_name": { "value": "The Company" }, "address1": { "value": "123 Any Street" }, "address2": { "value": "" }, "city": { "value": "Company City" }, "company": { "value": "Fancy Company" }, "phone": { "value": "" }, "country_code": { "value": "" }, "province_code": { "value": "" }, "zip": { "value": "" } } } }, "weight": 999, "target_key": "draft_order" } ] } ], "shared_workflow_id": 567 } } ]