Alert Templates
Overview
The templates are available in the create/edit notification rule modal both for activation and deactivation conditions! By customizing these alert templates, you can easily tailor notifications to include the most relevant device, action, or other alert data. These templates help ensure you receive the exact information you need.
These templates can be edited only for Email, Slack, and Webhook channels. For SMS and WhatsApp, the templates are standard and cannot be modified.
Enable the Advanced toggle in the create/edit notification rule modal to access the following templates:
Default alert activation template:
Default alert deactivation template:
These templates can be edited to include any relevant details you want in the received notification. Below is an example of the JSON structure that is available in {alert}
:
- state in the JSON corresponds to the device_shadow data.
- action refers to the last action that was triggered on the device.
For example, if you want the VIN number and range values from the device, you can use the following in the template: