Configure sensor notifications by creating webhook recipients, specifying authentication details, adding optional headers, and customizing the JSON body template. Assign the webhook to the appropriate sensor alerts so notifications are sent to email, Slack, Teams, or ITSM systems.
Video Transcript
Sensor notifications allow specific users to be notified when sensors activate. These notifications can be emailed, or they can be displayed on platforms such as Slack, Teams, or ITSM by using webhooks if supported.
To set up a webhook recipient:
Go to the Sensor Notifications page in Configure and then the Recipients tab.
Click the plus icon to add a new recipient, select System as the recipient type, enter a name, and choose Webhook as the connection.
Paste the URL supplied by the third party you are connecting to; for example, you can go to a Slack channel, set up a webhook, and Slack provides the URL.
Choose a request method, either PUT or POST.
Select an authentication protocol based on the third‑party platform you are using. Basic Auth requires a username and password. Signed Secret requires you to enter a passcode or automatically generate one.
If you choose to specify authentication via a header, you can use the header section to define this information. Headers can also be used to send additional information within the webhook. Set up a header with a name and a value. If you select Sensitive, it will mask the information; if you uncheck it, the information will be viewable.
The body section contains a default template that shares the basic information of the sensor notification. You can modify this template to add or delete information and variables. It needs to be in a valid JSON format. Check the documentation for other templates.
Click Add Recipient, then select which notifications the webhook recipient should receive.