Google Chat
Goal: DownBad alerts post to a Google Chat space.
You need a paid DownBad plan and a Google Workspace account that’s allowed to add webhooks. Personal Gmail accounts can’t add Chat webhooks.
- Open the space’s webhooks. In Google Chat, open the space, then choose Apps & integrations → Webhooks.
- Add a webhook. Name it (DownBad works), save, and copy its URL. It
looks like
https://chat.googleapis.com/v1/spaces/AAAA.../messages?key=...&token=.... Thekeyandtokenvalues are the credential, so keep the whole URL private. - Add it in DownBad. Go to Settings › Alerts, press Add webhook and paste the URL. DownBad recognizes it as Google Chat.
- Choose incident threads. Optional:
- On: an outage, its reminders and its recovery share one thread, so each incident reads as one conversation.
- Off: every alert is a new message.
- Press Test now, then save and add the channel to the notification profiles that should use it.
Expected result
Section titled “Expected result”A card arrives headed DownBad WebHook Channel Integrated and marked as an integration test. Real alerts show the monitor, its status, the reason and a link to the incident.
Troubleshooting
Section titled “Troubleshooting”You can’t find Webhooks, or can’t add one. Your Google Workspace admin may have turned off incoming webhooks for your organization. Ask them to allow incoming webhooks for Chat.
“This URL is not a Google Chat webhook address.”
The URL needs its key= and token= values. Copy the whole URL again, not
just the part before the ?.
The delivery fails with HTTP 400, 401 or 403. The token was regenerated or the webhook was removed. Add a new webhook in the space and paste its URL.
The delivery fails with HTTP 404. The space was deleted, or the webhook was. Add a webhook in an existing space.
Deliveries are delayed or fail with HTTP 429. Google Chat limits how often a space can receive messages. DownBad waits and tries again. If it happens often, turn on incident threads, or give noisy monitors their own space.
Alerts stopped and the bell says the webhook was switched off. Ten alerts in a row failed. Fix the cause above, then press Test now to switch the channel back on.