[ { "label": "Tag educational customers when they have an .edu email address", "trigger_type": [ "customer_created", "customer_updated" ], "object_type": "customer", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "customer.email", "settings": { "operator": "contains", "value": ".edu", "long_value": "", "condition_type": "AND" }, "weight": 999 } ], "actions": [ { "type": "customer_add_tags", "settings": { "wait": "0", "custom_wait": "", "tags": "Educational Discount" }, "weight": 999, "target_key": "customer" } ] } ], "shared_workflow_id": 1107 }, "description": "The automation is fired whenever a customer is created or updated. It checks if the customer email has a .edu top-level domain and ads an \"Education Discount\" tag." } ]