Outgoing Webhook
Connect your Mattermost workspace to PagerTree.
Last updated
Connect your Mattermost workspace to PagerTree.
Last updated
Company | Estimated Time | Vendor Docs | Open Source |
---|---|---|---|
Mattermost -> PagerTree (keyword trigger) - Continue reading this page.
PagerTree -> Mattermost (post to channel) - See Mattermost Integration.
Mattermost Outgoing Webhooks triggers a webhook anytime a Mattermost message starts with configured trigger words.
An alert will be created in PagerTree when Mattermost 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 Mattermost Outgoing Webhooks integration with PagerTree. The estimated time for this integration is 5 minutes. We assume that you already have a PagerTree and Mattermost account setup.
Create the integration by clicking the Mattermost (Outgoing Webhook) logo.
Go to Menu and choose Integrations.
At the following screen choose Outgoing Webhooks.
Click the button on the top right Add Outgoing Webhook.
Setup the outgoing webhook
Content Type - Specify application/json.
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.
Click Save.
For security purposes, you can also provide PagerTree with the token Mattermost provides. If using this feature, PagerTree will not create an alert unless the token sent by Mattermost is the same token that is configured with the integration. This protects against spoofing attacks.
From the Integration Page, Click Edit.
Paste the Token that you copied from Mattermost to the Token field.
Click “Update”.
You have successfully completed the Mattermost (keyword trigger) Integration.
On the next screen Copy the Token value, as this can be used for the additional security step below.
5 minutes