Slack alerts for website changes
Post a message to a Slack channel whenever a watched page changes. You need a Slack incoming webhook and one Apprise URL.
What you get in Slack
Alertcat sends a message to the channel your webhook is bound to. By default the message has the watch URL and the diff of what changed. You can shorten it to just added lines, or add the watch title and a link to the full diff.
A common setup is one channel per team: a #pricing channel for competitor price pages and a #legal channel for terms and policy pages. Attach each channel's URL to a group of watches and every new watch in that group alerts the right people.
Apprise URL format
# Using the three parts of an incoming webhook URL
# https://hooks.slack.com/services/T0000000/B0000000/XXXXXXXXXXXX
slack://T0000000/B0000000/XXXXXXXXXXXX/
# Using a bot token and a channel name
slack://xoxb-BOT-TOKEN/#alerts
# The full webhook URL is also accepted
https://hooks.slack.com/services/T0000000/B0000000/XXXXXXXXXXXXSet up Slack in Alertcat
- In Slack, create an app for your workspace and turn on Incoming Webhooks, or use an existing app.
- Add a new webhook to the channel you want and copy its URL.
- In Alertcat, open your watch (or a group, or the global settings), go to the Notifications tab and paste the URL into the notification URLs box. Use the test button to send a sample message before you save.
- Paste the webhook as an Apprise URL using one of the formats above, then send a test message.
- Edit the title and body template if you want a shorter message.
Example message
Pricing page changed - https://example.com/pricing
- Pro plan: $29 / month
+ Pro plan: $34 / monthTips
The title and body come from your notification template. The default body contains the watch URL and the diff. Edit it with the tokens listed on notification templates.
- Use a bot token with `#channel` when you want one app to post to many channels.
- Keep the webhook secret. Anyone with the URL can post to your channel.
- Use a group notification URL to cover many watches without editing each one.
Frequently asked questions
Which Slack URL should I use?
The webhook form (three parts) is the simplest. A bot token works too and lets one app post to several channels.
Can I mention people?
You can put Slack mention text in the body template, for example a channel mention, because the template is plain text.
Why did the test message fail?
Usually a typo in one of the three webhook parts or a revoked webhook. Create a new webhook and try again.
Can I get only added lines?
Yes. Use the added-lines token in your body template. See notification templates for the list.
Related
Watch the pages that matter
Alertcat is in early access. Tell us what you want to watch and we will set up your team.