Notifications
We’ve added notifications to help you better track the status of your processes and robots.
Notifications are based on two trigger types:
- Robot events
- Job events
A notification can either:
- send an email
- trigger a webhook
Before using notifications, you must first create them in Settings → Notifications.
During creation, you define: the notification type (Email or Webhook) and the event type you want to track (Robot or Job).
For email notifications, you can include dynamic data about the robot or job in the email body.
When typing {{, a list of all available variables will appear, allowing you to easily insert them into the message.
When the notification is related to a robot, the following variables are available:RobotId, RobotName, PreviousStatus, NewStatus, LastHeartbeat, TenantId, TenantName, DepartmentName, DepartmentId, ErrorMessage
When the notification is related to a job, the following variables are available: JobId, JobName, PreviousStatus, NewStatus, StartTime, FinishTime, ExpectedStartTime, TenantId, TenantName, RobotId, RobotName, ProcessName, ProcessId, DepartmentName, DepartmentId, ScheduleId, CanceledDescription
Webhook
For webhook notifications, you must provide the URL and HTTP method, as well as the authentication method (token or username/password), if required. You can also add custom headers by specifying a key and value. The request body must be a valid JSON.
If your webhook expects a field name that differs from the variable name, you can map it by selecting the appropriate variable from the dropdown list.
Alternatively, you can leave the section clear, in which case the value will be sent exactly as entered (hardcoded).
Assigning Robot Notifications
Robot notifications are configured on a per-robot basis. To configure a notification, open the Robot management and navigate to the Notify icon. From there, select the notification type (Email or Webhook), choose the notification you created, and then select the robot event you want to track.
When the Notify icon is highlighted in blue, it indicates that a notification is already configured for that robot.
Assigning Job Notifications
To add a notification for a job, use the Notify icon within the existing schedule to create or edit the notification. Notifications for jobs are configured at the schedule level. When the Notify icon is highlighted in blue, it indicates that a notification is already configured for that Schedule.
When creating a new schedule, the option to add a notification is available as Step 4 in the scheduler setup. This step is optional and allows you to define how and when you want to be notified about job events.