[ { "label": "Cancel and restock orders from certain IP addresses", "trigger_type": [ "order_created" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "order.client_details.browser_ip", "settings": { "operator": "contains_one", "value": "1.1.1.1", "long_value": "1.1.1.1", "condition_type": "AND" }, "weight": 999 } ], "actions": [ { "type": "order_cancel", "settings": { "wait": "0", "custom_wait": "", "reason": "fraud", "restock": 1, "notify_customer": 0 }, "weight": 999, "target_key": "order" } ] } ], "shared_workflow_id": 649 }, "description": "This automation is fired when an order is created; it checks if an order was raised from a pre-defined blacklist IP address. If the condition passes, the workflow cancels and restocks the order. " } ]