[ { "label": "Change order fulfillment location based on tags", "trigger_type": [ "order_created" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "1": { "field": "order.tags_array", "settings": { "multiple": "any", "operator": "equals", "value": "Quick Pickup", "long_value": "my-tag", "token_object_type": "order", "condition_type": "AND" }, "weight": 999 } }, "actions": { "1": { "type": "trigger_child_workflow", "settings": { "target_path": "order.fulfillment_orders", "exported_workflow": { "label": "Fulfillment Order subworkflow", "trigger_type": [ "manual" ], "object_type": "fulfillment_order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "1": { "field": "fulfillment_order.status", "settings": { "operator": "any", "value": { "open": "open" } }, "weight": 999 } }, "actions": { "1": { "type": "fulfillment_order_move", "settings": { "wait": "0", "custom_wait": "", "location_id": "12239798372" }, "weight": 999, "target_key": "fulfillment_order" } } } } } } }, "weight": 999, "target_key": "order" } } } }, "shared_workflow_id": 43296 }, "description": "This automation will switch the order's assigned location to pre-defined locations based on tags. Using this workflow you can move orders from their original assigned location before a fulfillment is created." } ]