[ { "label": "Email a customer when they are tagged", "trigger_type": [ "customer_updated" ], "object_type": "customer", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "customer.tags", "settings": { "operator": "contains", "value": "[CLICK TO EDIT]" }, "weight": 999 }, { "field": "customer.metafields", "settings": { "multiple": "any", "namespace": "arigato", "key": "emailed_tag_one", "operator": "not_equals", "value": "true" }, "weight": 999 } ], "actions": [ { "type": "email", "settings": { "wait": "0", "custom_wait": "", "to": "{{ customer.email }}", "subject": "[EDIT]", "body": "

\r\n[EDIT]\r\n<\/p>" }, "weight": 999, "target_key": null }, { "type": "customer_set_metafield_value", "settings": { "wait": "0", "custom_wait": "", "namespace": "arigato", "key": "emailed_tag_one", "value_type": "string", "value": "true" }, "weight": 999, "target_key": null } ] } ], "shared_workflow_id": 4 }, "description": "Trigger a special email when your customer gets a tag. Perfect for sending the same message over and over or\u00a0for offering discounts when things don't go just right." } ]