Webhooks
Webhooks is a feature that allows Portal to integrate with third-party tools to send notifications when certain events occur in the organization.
Available events:
- Active alert
- Executed microservice
- Object created
- Object modified
- Object deleted
- Operation executed
- Operation executed in a workspace
When one of these events occurs, Portal makes an HTTP call to the URL configured by the organization and sends a message with the corresponding information. The target application can use this data to perform actions such as creating a ticket in an ITSM system, sending a message via Slack or Microsoft Teams, or sending an email, among others.
This tool can only be configured by a user with the Organization Admin role.
Overview
The main screen shows the list of webhooks configured in the organization, indicating whether they are enabled or disabled. The table includes:
- Name. Name assigned to the webhook. By clicking, you can access its detail view.
- Event Type. Event that will trigger the webhook.
- Target URL. Address of the external system that receives the event and acts according to the information provided in the message.
- Status. Indicates whether the webhook is Enabled or Disabled.

Create a webhook integration
To create a new webhook, follow these steps:
-
In Portal, go to
Configuration->Webhook Integrations. -
Click on
New. -
Fill out and configure each section of the form:
Overview

- Name. Name assigned to the webhook.
- Event Type. Event that will trigger the webhook.
- Target URL. Address of the external system that receives the event and acts according to the information provided in the message.
Items

The content of this table depends on the selected event type.
-
Active alert
-
Shows the list of active alerts in the organization to select which ones will send the webhook.
-
Send webhook for all alerts- Activates the webhook for all alerts.
-
-
Executed microservice
-
Shows the list of enabled microservices to select which ones will send the webhook.
-
Send webhook for all microservices- Activates the webhook for all microservices. -
In both cases, the
Viewbutton allows you to access the resource detail view.
-
-
Object created, Object modified, or Object deleted
-
Shows a list to select the object that will send the webhook after the corresponding action.
-
Send webhook for all objects- Activates the webhook for all objects.
-
-
Operation executed
-
Shows a list to select the operation that will send the webhook when executed.
-
Send webhook for all operations- Activates the webhook for all operations.
-
-
Operation executed in a workspace
-
Shows a list to select the operation that will send a webhook for each device on which it has been executed.
-
Send webhooks for all operations executed in each workspace- Activates the webhook for all operations by device.
note-
Operations can be executed on one or more devices.
-
The Operation executed event allows sending a webhook globally.
-
The Operation executed in a workspace event allows sending a webhook for each of the devices on which the operation has been executed.
Example:
If the
Restartoperation is executed on three devices simultaneously, the following will be generated:- A webhook notification of type Operation executed.
- Three webhook notifications of type Operation executed in a workspace.
-
Message Configuration

This section defines the message that will be sent when the event occurs. The configuration uses JSON format and determines the structure and content of the message transmitted to the external system.
Variables are automatically replaced by real values when the event occurs.
-
Click on
Save.
An organization should not have two webhooks with the same configuration because it could generate duplicate sends.
Available variables for the message
All event types
| Variables | Caption |
|---|---|
| #event_type | Event Type |
| #organization_id | Organization Id |
| #organization_name | Organization/Tenant name |
| #timestamp | Event date and time (ISO 8601) |
Active alert
| Variables | Caption |
|---|---|
| #alert_name | Alert name |
| #alert_information | Additional alert information |
| #alert_start | Alert start date and time (ISO 8601) |
| #alert_element | Element that triggered the alert |
| #workspace_id | Device ID |
| #workspace_name | Device Name |
| #workspace_last_user | Last user who used the device |
| #workspace_reporting_group_id | Reporting group Id |
| #workspace_reporting_group_name | Name of the reporting group |
Example template
{
"message": {
"event_type": "#event_type",
"organization_id": "#organization_id",
"organization_name": "#organization_name",
"workspace_id": "#workspace_id",
"workspace_name": "#workspace_name",
"workspace_last_user": "#workspace_last_user",
"reporting_group_id": "#workspace_reporting_group_id",
"reporting_group_name": "#workspace_reporting_group_name",
"alert_name": "#alert_name",
"alert_information": "#alert_information",
"alert_start": "#alert_start",
"alert_element": "#alert_element",
"timestamp": "#timestamp"
}
}
Executed microservice
| Variables | Caption |
|---|---|
| #operation_id | Executed operation Id |
| #microservice_id | Microservice ID |
| #microservice_name | Microservice name |
| #operation_startdate | Operation start date and time (ISO 8601) |
| #operation_enddate | Operation end date and time (ISO 8601) |
| #operation_result | Operation result (Completed, Error, Timeout, or Cancelled) |
| #workspace_id | Device ID |
| #workspace_name | Device Name |
| #workspace_last_user | Last user who used the device |
| #workspace_reporting_group_id | Reporting group Id |
| #workspace_reporting_group_name | Name of the reporting group |
Example template
{
"message": {
"event_type" : "#event_type",
"organization_id" : "#organization_id",
"organization_name" : "#organization_name",
"timestamp" : "#timestamp",
"workspace_id" : "#workspace_id",
"workspace_name" : "#workspace_name",
"workspace_last_user" : "#workspace_last_user",
"reporting_group_id" : "#workspace_reporting_group_id",
"reporting_group_name" : "#workspace_reporting_group_name",
"operation_id": "#operation_id",
"microservice_id": "#microservice_id",
"microservice_name": "#microservice_name",
"operation_startdate": "#operation_startdate",
"operation_enddate": "#operation_enddate",
"operation_result": "#operation_result"
}
}