- Docs
- Alerts
- Integrations
- Send alerts to Google Chat
Send alerts to Google Chat
Get downtime alerts in a Google Chat space. Create a webhook in the space, paste its URL into StatusCheck, and send a test card.
Connect a Google Chat space to get a card there when a monitor goes down, when it recovers, and when you post a status update. Everyone in the space can follow an outage without a StatusCheck seat.
You create a webhook URL in Google Chat, a private web address that lets StatusCheck post into one space, and paste it into StatusCheck. Google Chat is available on every plan. A workspace has one Google Chat connection, which posts to one space.
Create a webhook URL in Google Chat
Section titled “Create a webhook URL in Google Chat”These steps use Google Chat in a web browser, at chat.google.com or inside Gmail.
-
In Google Chat, open the space.
-
Select the space name at the top of the conversation. A menu opens.
-
Choose Apps & integrations.
-
Select Add webhooks.
-
Enter a name such as StatusCheck, and leave the avatar field empty.
-
Select Save.
-
Copy the new webhook’s whole URL. Look for a copy button next to the webhook, or a menu next to it with a copy option.
The URL is long and contains a key and a token. Keep it private: anyone with it can post to the space.
If your Google Chat looks different:
- The option reads Manage webhooks. The space already has webhooks. Open Manage webhooks and add another.
- You cannot find Apps & integrations or the webhooks option. Use Google Chat in a web browser rather than the phone app.
- The option is still missing. Your account cannot create webhooks. Ask your Google Workspace admin to allow them, or to create the webhook for you.
Paste the URL into StatusCheck
Section titled “Paste the URL into StatusCheck”-
In StatusCheck, open Integrations in the sidebar and choose Google Chat.
-
Paste the URL into Google Chat webhook URL. It starts with
https://chat.googleapis.com/. -
Select Connect. The status reads Connected.
-
Select Send test alert. A test card appears in the Google Chat space within a few seconds. If it does not, see Troubleshooting.
StatusCheck encrypts the URL and does not show it again. To post to a different space, select Disconnect and connect again with that space’s webhook URL.
Choose which events the space receives
Section titled “Choose which events the space receives”A new connection receives all three events. To change that, open the integration’s page in StatusCheck, clear the events you do not want under Events, and select Save events.
| Event | When it is sent |
|---|---|
| Monitor down | A failure has been confirmed from a second location and an incident has opened. Reminders follow if the monitor’s Resend while down is set. |
| Monitor recovered | The recovery has been confirmed. Includes the outage duration. |
| Status updates | Someone posts an update to a status page, including the one that resolves it. |
Send a monitor’s alerts to the space
Section titled “Send a monitor’s alerts to the space”Connecting Google Chat does not change any monitor. A monitor’s alerts go only to the channels you select on it.
-
In StatusCheck, open Monitors in the sidebar and select the monitor.
-
Open the Notifications tab.
-
Under Channels, select the Google Chat connection.
-
Select Save changes. The monitor’s next down alert goes to the space.
Status updates go to the connection whenever Status updates is selected, whatever monitors it is attached to.
What the Google Chat card contains
Section titled “What the Google Chat card contains”- A header that names the monitor and what happened.
- One line each for the location that detected the failure, the status code (the number your server answered with, such as
503) and failure reason, when it started, and for a recovery when it ended and how long it lasted. - The monitor’s URL, if Show URL in notifications is on for that monitor.
- A View incident button that opens the incident in StatusCheck.
Times are in UTC.
Troubleshooting
Section titled “Troubleshooting”There is no webhooks option in the space menu. Your Google Workspace admin has turned off incoming webhooks, or you are using a personal Google account. Ask your admin to allow them.
The test alert fails right after connecting. The copy probably cut the URL short. Copy it again with the copy button in Google Chat, then disconnect and connect with the full URL.
Messages stopped arriving. Someone may have deleted the webhook from the space. The connection’s status changes to Failing and the error appears under Last event in the Details card. Create a new webhook, disconnect, and connect again.
Related
Section titled “Related”- How alerts work explains delays, reminders and muting.
- Respond to an incident covers acknowledging and resolving.
- Post a status update explains the updates this space can receive.
- Slack, Microsoft Teams, Discord and Telegram connect the same way. Webhooks reach any other tool.