Creating rules

How do I create notifications, alerts, tickets in CRM etc.?

Rules are made up of two components in DevicePilot:

  • A Trigger condition that needs to be met
  • An Action that will be performed

Trigger

Triggers can be simple condition such as

Temperature > 5

or they can be more complex and include multiple conditions, timeouts, etc.

RuleTrigger-1

You can add multiple conditions, and combine them with AND or OR.

The options are the same as Filters and in fact, you can copy an existing filter to make your condition.

Advanced: If you need more complex logic, switching to advanced mode will allow you to write the expression yourself.

DevicePilot creates two events: one for the trigger becoming true, and one for it returning to false, and you can attach actions to each of these.

Action

Actions are a single activity that can be performed, like sending a notification or creating a ticket in a CRM. DevicePilot has a number of built-in integrations, and further integrations can be built using our configurable webhook.

All parts of the Action can be templated using on the trigger device, and you can build this template with a preview using your live data.