Google Chat alerts for website changes
Post change alerts into a Google Chat space. Add an incoming webhook to the space and translate its URL into an Apprise URL.
How the webhook maps to the URL
A Chat webhook looks like a long https URL with a space ID, a key and a token. The Apprise URL uses the same three values in a different shape, so converting is a copy and paste job.
Webhooks are available in spaces where your Workspace admin allows them. Messages arrive as the webhook name you chose.
Apprise URL format
# Webhook URL from Google Chat:
# https://chat.googleapis.com/v1/spaces/SPACE_ID/messages?key=KEY&token=TOKEN
gchat://SPACE_ID/KEY/TOKENSet up Google Chat in Alertcat
- Open the Chat space, choose Apps and integrations, then Webhooks, and add one.
- Copy the webhook URL.
- Take SPACE_ID, KEY and TOKEN from it and build `gchat://SPACE_ID/KEY/TOKEN`.
- Add that URL to a watch, group or the global notifications and send a test.
- Save.
Example message
Careers page changed - https://example.com/careers
+ Senior Support Engineer (Remote)Tips
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 group notification URL so every watch tagged 'jobs' posts to the same space.
- If webhooks are missing from the menu, your Workspace admin may have turned them off.
Frequently asked questions
Does this work in direct messages?
Webhooks post into spaces. For a private alert, create a space with only yourself.
Why is the URL rejected?
Check that the key and token were copied in full and in the right order.
Can I use threads?
The default message starts a new message each time. Keep templates short so the space stays readable.
Does it need a Google Workspace account?
Webhooks are a Chat feature in spaces. Availability depends on your account type and admin settings.
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.