Post to Channel
| Company | Estimated Time | Vendor Docs | Open Source |
|---|---|---|---|
| Mattermost Inc. | 5 minutes | view | v3.rb |
Important Information
- PagerTree -> Mattermost (post to channel) - Continue reading this page.
- Mattermost -> PagerTree (keyword trigger) - See Mattermost Outgoing Webhooks.
How It Works
Messages are sent to Mattermost channels, making sure the right channels are notified of alerts.
- When an alert in PagerTree is opened/acknowledged/resolved/dropped, PagerTree will post a message to a channel of your choice.
Integration Walkthrough
In this integration tutorial we will show you how to send alerts from PagerTree into Mattermost channel. The estimated time for this integration is 5 minutes. We assume that you already have a PagerTree and Mattermost account setup.
In Mattermost
-
In the top left, click the hamburger menu icon, then select Integrations.
 (1)-a0bede7c31bf84e75230a8b71fbc204f.png)
Navigate to integrations.
-
On the integrations page, click the Incoming Webhooks.
 (1) (3)-de4a228447a39eda2bae8a24752b978f.png)
Click on the incoming webhooks integration.
-
On the Incoming Webhooks page, click the Add Incoming Webhook button.
 (1) (1)-fc2ab49bf84f6e498b5e9d4b2e5b7970.png)
Click the add incoming webhook button.
-
In the Add Form:
-
Title - PagerTree
-
Channel - Select the channel you want PagerTree to post messages to
-
Username - pagertree
-
Profile Picture - https://pagertree.com/assets/img/logo/pagertree-icon-256-256.png
-
Click Save.
 (4)-e60c90809074ce812059ea28e1dca286.png)
Mattermost PagerTree Configuration.
-
-
Click Copy Icon Button.
 (1)-4b5fb506f9c0d47a2d100d78181fa809.png)
Copy the Webhook URL.
-
Click Done.
In PagerTree
- Create the integration by clicking the Mattermost logo.
- In the New integration form:
- Name - Input a friendly name
- URL - Paste the Mattermost URL you copied earlier.
- Events - Select the events you would like to get notified of.
- Click Create.
You have successfully completed the Mattermost (post to channel) Integration.
Outgoing Rules
You can suppress outgoing messages by using the integration outgoing rules (ex: You only want a certain teams messages to a channel). Please see Outgoing Webhook - Outgoing Rules for full documentation on the functionality.