Help Center Help Articles Professional Support Community RMA & Warranty Downloads

Send UniFi Protect Alerts to Slack with Webhooks

UniFi Alarm Manager is your central hub for managing alarms across your environment. With API integrations, you can connect to Slack to ensure crucial events are promptly communicated. This guide will walk you through setting up license-free webhooks in UniFi Protect, so you never miss an important alert.

For details on using webhooks with other web services, read our article here.

Prerequisites

Ensure you have the following before starting:

  • UniFi Protect cameras and/or sensors.
  • A Slack account set up to accept webhooks (see below).

Creating a Slack Webhook in UniFi Protect

  1. Open UniFi Protect and go to the Alarm Manager section.
  2. Select an existing Alarm or create a new one to open the Edit Alarms panel.
  3. In the Edit Alarms panel, you can:
    • Set the alarm name.
    • Edit the trigger settings, including device selection (cameras & sensors) and setting an optional schedule.
  4. Scroll to the Action settings.
  5. Add an action and select Webhook from the dropdown menu.
  6. Choose Slack Post.
  7. Enter the Webhook URL (see below).
  8. Choose the message format:
    • Default Message: Posts text such as "Alarm name has been triggered on Console name."
    • Custom Message: Sends a custom text message to Slack.
  9. Click Save.

Obtaining Slack Webhook URLs

To integrate Slack with UniFi Protect, you'll need a Slack webhook URL.

Follow these instructions in the Slack documentation to get your webhook URL: Slack Webhook Setup.

Was this article helpful?
2 out of 5 found this helpful