Slack Incoming WebHooks Integration Guide

Slack Incoming Webhooks Integration

Slack brings team communication and collaboration into one place so users can get more work done.

Important Information

How Slack users benefit from PagerTree

Messages are sent to Slack Incoming Webhooks that post to channels, making sure the right channels are notified of alerts.

Functionality of Integration

The Slack Incoming Webhooks integration is one-way, meaning:

  • When an alert in PagerTree is opened/acknowledged/resolved/dropped, PagerTree will post a message to a channel of your choice.

Tutorial Overview

In this integration tutorial we will show you how to send alerts from PagerTree into Slack. The estimated time for this integration is 3 minutes. We assume that you already have a PagerTree and Slack account setup.

In Slack

  1. Go to Slack Incoming Webhooks App Page
  2. On the App page, click “Add to Slack” button. Click Add to Slack
  3. On the new app page:
    1. Select the channel you want PagerTree to post to.
    2. Click Add Incoming Webhooks Integration Click Add Incoming Webhooks Integration
  4. Scroll down to the Integration Settings Section.
    1. Customize Name - PagerTree
    2. Customize Icon - download this image and upload it.
    3. Click the Copy URL link next to the Webhook URL.
    4. Click Save Settings Button. Click the webhook

In PagerTree

  1. From the action button, click the “Create Integration” button. Click Create Integration Button
  2. In the “Create Integration” box, fill out the following:
    1. Name of the Integration. (ex: “Slack Channel - #Devops”)
    2. Select the Type to Slack (Post to Channel). Click Create
  3. Click Save.
  4. In the Integration Options section:
    1. Double click the Webhook URL option. Double click incoming webhook url option
    2. Paste the URL you copied earlier. Paste the generated url you copied
    3. Click Save.
  5. Enable Events that should trigger messages to your channel. Enable events to trigger messages

You have successfully completed the Slack Incoming Webhooks Integration. Now when an alert event is created in PagerTree and it matches your preferences, PagerTree will send a message to Slack Incoming Webhooks. If you have any questions please contact support@pagertree.com