Skip to main content
All CollectionsUser Guides
Integrate ilert with Ubidots
Integrate ilert with Ubidots

Send alerts from Ubidots to ilert to ensure critical issues are escalated to responsible specialists as quickly as possible.

Sergio M avatar
Written by Sergio M
Updated over a week ago

ilert is a platform for alerting, on-call management and incident communication that helps companies increase their digital uptime by covering the entire incident response life cycle.

Learn how to send alerts from Ubidots to ilert to ensure critical issues are escalated to responsible specialists as quickly as possible.

Requirements

1. Create an Ubidots alert source in ilert

  1. Go to Alert sourcesAlert sources and click "Create new alert source".

  2. Search for Ubidots in the search field, click the Ubidots tile, and then on "Next".

  3. Give your alert source a name, optionally assign teams, and click "Next".

  4. Select an escalation policy by creating a new one or assigning an existing one.

  5. Select your Alert grouping preference and click "Continue setup". You may click "Do not group alerts" for now and change it later.

  6. The next page shows additional settings, such as customer alert templates or notification priority. Click "Finish setup" for now.

  7. On the final page, an API key and/or webhook URL will be generated. Copy it, you will need it later.

2. Create an event in Ubidots

  1. On the navigation menu, click on "data""events".

  2. Now click on the "+" button to create a new event.

  3. Select a variable and configure a trigger as you like. Click on "next" to proceed to the next step.

  4. Now click on the "+ add action" button.

  5. Select "trigger webhook" from the list as your event's action.

  6. Enter the URL of the integration previously created in ilert into the URL field.

  7. Copy and paste the following payload:

    {
    "eventType" : "alert",
    "deviceId" : "",
    "deviceName" : "",
    "lastValue": "",
    "lastValueTimestamp" : "",
    "triggerValue" : "",
    "triggerTimestamp" : "",
    "variableId" : "",
    "variableName": ""
    }
  8. Now fill the payload with the help of the tag button.

  9. To send resolved events, click on the "back to normal" tab.

  10. Enable the "back to normal action" button and paste the following payload:

    {
    "eventType" : "resolved",
    "deviceId" : "",
    "deviceName" : "",
    "lastValue": "",
    "lastValueTimestamp" : "",
    "triggerValue" : "",
    "triggerTimestamp" : "",
    "variableId" : "",
    "variableName": ""
    }
  11. Fill out the payload with the tag button.

  12. Save the action and finish creating the event.

Note: Alerts in ilert will be resolved automatically with this setup. As soon as a "back to normal action" is configured and a variable in Ubidots is back to a normal state, the associated alert is automatically resolved in ilert.

Did this answer your question?