Automation: Custom Event Properties

When using Custom Events for automated messages, you can now set specific properties and assign a range of values that must be met in order to trigger the message. Basically, your automation options are now infinitely more customizable. We're very excited about this enhancement and we know you will be too.

Here's an example from our Custom Event Selectors API documentation:

Example: - this selector will match if a device emits a custom event that matches any of these criteria:

  • "director" is "Wes Anderson" (string matching)

  • "rating_percent" is at least 68 (numeric matching)

  • "actors" array contains "Bill Murray" (array contains)

  • "is_on_netflix" is true (boolean matching)

{
    "or": [
        {
            "key": "director",
            "value": {
                "equals": "Wes Anderson"
            },
            "scope": "properties"
        },
        {
            "key": "rating_percent",
            "value": {
                "greater_than": 68,
                "less_than": 99
            },
            "scope": "properties"
        },
        {
            "key": "actors",
            "value": {
                "array_contains": "Bill Murray"
            },
            "scope": "properties"
        },
        {
            "key": "is_on_netflix",
            "value": {
                "equals": true
            },
            "scope": "properties"
        }
    ]
}

Our customers' tastes in movies are as demanding as their targeting strategies are sophisticated. Thanks for requesting this feature. You know who you are. Enjoy!