Send Website Change Detection Notifications to a Mattermost Channel

PageCrawl.io tracks changes on websites and notifies you through the channel you prefer when a check detects a change. This article shows how to receive those notifications in a Mattermost channel, on Mattermost Cloud or on a server you host yourself.

Prerequisites

  • You need a PageCrawl.io account. If you don't already have one, go here to register an account and set up the pages you wish to track.
  • You need a Mattermost account that is allowed to create incoming webhooks. On many servers only administrators can.
  • Your Mattermost server must use https and be reachable from the internet. PageCrawl posts alerts from its own servers, so a server that only answers inside a private network or behind a VPN cannot receive them.

Create an incoming webhook in Mattermost

1. Check that incoming webhooks are enabled

Incoming webhooks are on by default. If the option in the next step is missing, ask a Mattermost administrator to open System Console > Integrations > Integration Management and switch on Enable Incoming Webhooks.

2. Add the webhook

In Mattermost, open the product menu in the top left corner and choose Integrations, then Incoming Webhooks, then Add Incoming Webhook.

3. Choose the channel

Enter a title such as "PageCrawl", pick the channel the alerts should be posted to, and choose Save.

4. Copy the webhook URL

Mattermost shows the address of the new webhook. It looks like https://mattermost.example.com/hooks/xxxxxxxxxxxxxxxxxxxxxxxxxx. Copy it.

Mattermost's own guide to incoming webhooks covers these steps in more detail.

Set the webhook URL in PageCrawl.io

Open Settings > Integrations, click Setup on the Mattermost card, paste the address into Webhook URL and save.

Every monitor with Mattermost selected under Notification Channels sends its alerts to this webhook. The same channel also receives that monitor's error alerts.

To send a single monitor's alerts to a different Mattermost channel, switch on Power User Settings in that monitor's settings and paste the other channel's webhook URL in Mattermost Webhook.

Note: the name and picture the messages are posted under are the ones set on the webhook in Mattermost. Change them there.

Choose what each alert shows

Each alert has the page name, which links to the change in PageCrawl, the AI summary and importance when your workspace has them, and what changed. Mattermost alerts include Highlighted changes by default: an image of just what changed, with removed words crossed out in red and added words in green. To change it, choose Manage on the Mattermost card in Integrations, open Attachment, pick Before and after, Page screenshot or No attachment, and save. The same list is in the dialog when you first connect Mattermost.

Monitors checked more often than every 15 minutes send alerts without attachments. What each attachment option shows explains every option.

Mattermost messages sent this way carry links instead of buttons. Each alert ends with links to open the change on pagecrawl.io, to open the monitored page, and to rate the alert as important or as noise. On paid plans you can hide any of them under Notification buttons in the same dialog, and write your own message with a custom template. Templates for Mattermost use standard Markdown, so bold text is **bold**.

Send scheduled reports to Mattermost

A scheduled summary report can be delivered to Mattermost too. Open the report, switch on Mattermost under its delivery channels, and either leave Webhook URL empty to use the workspace webhook or paste the address of another channel's webhook. Priority escalation can post to its own Mattermost channel in the same way.

Troubleshooting

The webhook URL is not accepted The address must start with https:// and contain /hooks/. An address that points at a private or internal network address, or at localhost, is refused.

I didn't receive a notification PageCrawl only sends a notification when a check detects a change. Check that Mattermost is selected under Notification Channels for the monitor.

Mattermost notifications were switched off When Mattermost reports that the webhook no longer exists or no longer accepts messages, for example after it was deleted, PageCrawl removes the address and tells you in the app. Create a new incoming webhook and paste its address again.

I receive too many notifications. What can I do? Set up notification conditions to be notified only when, for example, text disappears or a number increases.

An alert arrived without an image Monitors checked more often than every 15 minutes send alerts without attachments. Highlighted changes is also left out when Changes to show is set to AI summary only, and Before and after and Page screenshot need screenshots turned on for your team and the monitor. Why an alert can arrive without an image lists every case.

Other supported notification channels

Get Started with PageCrawl.io

Start monitoring website changes in under 60 seconds. Join thousands of users who never miss important updates. No credit card required.

Register Free