Slack Outgoing Webhooks Integration Guide
|Logo||Company||Estimated Time||Functionality||Vendor Docs|
|Slack Technologies, Inc.||3 minutes||One-Way||view|
Slack brings team communication and collaboration into one place so users can get more work done.
- Slack to PagerTree (keyword trigger) - Continue reading this page
- PagerTree to Slack (post to channel) - See Slack Incoming Webhooks
- Slack Notifications - See Slack Notifications
Slack Outgoing Webhooks triggers a webhook anytime a slack message starts with configured trigger words. PagerTree will create an alert based on these webhooks, determining the right people to notify based on on-call schedules. PagerTree notifies them via email, sms, voice, and/or push notifications until the alert is acknowledged or closed.
The Slack Outgoing Webhooks integration is one-way, meaning:
- An alert will be created in PagerTree when Slack sends an Outgoing Webhook to PagerTree.
- PagerTree will try to extract an urgency from the message text. Valid values are
low|medium|high|critical. If the urgency is not found in the message text it will default to the integration urgency.
In this integration tutorial we will show you how to connect your Slack Outgoing Webhooks integration with PagerTree. The estimated time for this integration is 3 minutes. We assume that you already have a PagerTree and Slack account setup.
- From the action button, click the “Create Integration” button.
- In the “Create Integration” box, fill out the following:
- Name of the Integration.
- Select the Type to Slack Outgoing Webhooks
- Select an appropriate Urgency for when this integration is triggered
- Select the Team this alert will be assigned to
- Click Save
- Copy the Endpoint URL
- Go to Slack Outgoing Webhooks App Page
- On the App page, click “Add Configuration”
- On the New configuration page, click “Add Outgoing Webhooks Integration”
- Scroll down the page to the Integration Settings
- Channel - Select an appropriate channel this will apply to, or any for all channels.
- Trigger Words - Select the words that trigger the webhook (e.g. outage, sev-1, down).
- URL(s) - Paste the PagerTree Endpoint URL you copied.
- Descriptive Label - Easy to remember label on what this outgoing webhook does.
- Click “Save Settings”
For security purposes, you can also provide PagerTree with the token Slack provides. If using this feature, PagerTree will not create an alert unless the token sent by Slack is the same token that is configured with the integration. This protects against spoofing attacks.
- From the App Page, Copy the Token
- From the Integration Page, Click Edit
- Paste the Token that you copied from Slack to the Token field.
- Click “Save”
You have successfully completed the Slack Outgoing Webhooks Integration. Now PagerTree will create an alert any time a message starts with trigger words and are on the specified channels. If you have any questions please contact firstname.lastname@example.org