Connect your Slack workspace to PagerTree.
- Slack -> PagerTree (keyword trigger) - Continue reading this page.
Slack Outgoing Webhooks triggers a webhook anytime a slack message starts with configured trigger words.
- 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 5 minutes. We assume that you already have a PagerTree and Slack account setup.
- 2.On the App page, click “Add Configuration”Click "Add Configuration".
- 3.On the New configuration page, click “Add Outgoing Webhooks Integration”Click "Add Outgoing Webhooks Integration".
- 4.Scroll down the page to the Integration Settings
- 1.Channel - Select an appropriate channel this will apply to, or any for all channels.
- 2.Trigger Words - Select the words that trigger the webhook (e.g. outage, sev-1, down).
- 3.URL(s) - Paste the PagerTree Endpoint URL you copied.
- 4.Descriptive Label - Easy to remember label on what this outgoing webhook does.Slack Outgoing Webhook PagerTree Configuration
- 5.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.
- 1.From the App Page, Copy the TokenCopy the token.
- 1.From the Integration Page, Click Edit.
- 2.Paste the Token that you copied from Slack to the Token field.
- 3.Click “Update”.
You have successfully completed the Slack (keyword trigger) Integration.