Notification templates
The alert is what you actually read. Alertcat lets you shape its title and body with tokens, so every message tells you what changed and where to click.
How templates work
Alertcat sends notifications through Apprise, which supports more than 80 channels. For every channel the title and body come from a template that uses Jinja2-style tokens in double braces. You can set a default for your account and override it per tag or per watch.
The built-in default is a title with the watch URL and a body that says the URL had a change, followed by the diff.
Useful tokens
| Token | Meaning |
|---|---|
| {{watch_url}} | The URL being watched |
| {{watch_title}} | The title you gave the watch, or the page title |
| {{watch_tag}} | The tag of the watch |
| {{diff}} | The changes, with added and removed lines marked |
| {{diff_added}} | Only the added lines |
| {{diff_removed}} | Only the removed lines |
| {{diff_full}} | The full text with changes marked |
| {{diff_url}} | Link to the diff in the dashboard |
| {{preview_url}} | Link to the latest snapshot |
| {{edit_url}} | Link to the watch settings |
| {{current_snapshot}} | The latest text of the page |
| {{triggered_text}} | Text that matched a trigger rule |
Example template
Title: {{watch_title}} changed
Body:
{{watch_url}}
New:
{{diff_added}}
Removed:
{{diff_removed}}
Diff: {{diff_url}}Customise a notification
- Open the notification settings for your account, a tag or a single watch.
- Add your notification URL, for example a Slack, Discord or email address in Apprise format.
- Edit the title and body using the tokens above.
- Choose the format, such as plain text, Markdown or HTML, to match the channel.
- Use the test button to send a sample, and adjust until it reads well.
Tips
- Keep titles short. Phones show only the first line or two.
- Put the link to the diff first in chat messages, so it is one tap away.
- For webhooks, a JSON body lets another tool read the fields. See webhooks.
- For HTML email the diff is escaped for safety, so markup in the page cannot break your message.
Frequently asked questions
Can I use different messages for different channels?
Set templates at the account, tag or watch level, and give each its own notification target.
Can I include an AI summary?
Yes, if you bring your own LLM key. See AI change summaries.
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.