Skip to main content

Events: Create Conditional Events and Alerts

How to create conditional events to trigger alerts based on sensor data.

Updated over 6 months ago

1. Creating a conditional event

To begin, head to the “data” tab →"Events" and hover over the “+” button, located at the upper right corner of the screen, and click on the “create event” button (the one with a “+” icon).

Once the event modal pops up, you’ll find yourself in the first stage of configuration, where you’ll set up the logic of the triggers.

By default, a newly created event loads with a value-based trigger, but you can choose another type of trigger by clicking on the “+ add trigger” or “+ add OR group” buttons.

The available types of triggers are these:

  • Value based (e.g., if the value is greater than X).

  • Inactivity (e.g., if the variable has not been updated in X amount of time).

  • Geofence (if the device enters/exits a defined area in a map).

These triggers can be deleted or copied by clicking on the corresponding button located at the upper right corner of the trigger.

2. Creating a value-based trigger

2.1. Triggers

Step 1: Select one variable per conditional expression. Multiple variables can be added using AND (“+ add trigger”)/OR (“+ add OR group”) conditionals.

Step 2: Define the triggering condition out of these options:

  • Equal to

  • Not equal to

  • Greater than

  • Greater than or equal to

  • Less than

  • Less than or equal to

2.2. Actions

After configuring the “triggers” tab and clicking on “next”, you’ll move onto the “actions” tab. There, you’ll be able to select and configure the action that will be triggered when the event is activated.

Step 4: Click on the “+ add action” button to start this process. These are the options you can choose from:

For a detailed explanation on how each of the actions work and how to configure them, visit their respective article (linked above).

2.3. Settings

After completing the action configuration and clicking on “next”, you’ll see the “Settings” tab, with the following options:

  • Name

  • Description

  • Active windows during which the events should be executed. An event can have multiple active windows by clicking on the “+ Add window” button and configuring them correspondingly.

Notes:

  1. Events will only activate during the active windows you define in this step.

  2. A variable whose incoming values don’t go below the defined threshold will still activate the event when a new value arrives during the next active window (as depicted in the image below).

Step 8: Click on the “save” button to finish creating the event.


Did this answer your question?