---
agent:
  instructions: "Search Greenbar's public pages and docs by keyword. A result has every word you give. Results are returned in Markdown."
  endpoint: "https://usegreenbar.com/.well-known/search?q={query}"
  method: "GET"
---

# Google Chat alerts

> Post alerts to a Google Chat space with a webhook.

## Add a Google Chat channel

*Available on Paid plans*

Google Chat posts the alert into a space. In the space, open Apps & integrations, add a webhook and copy its URL. After saving, only the end of the URL is shown.

1. In the Google Chat space, add a webhook and copy its URL.
2. Open Alerts. Under Add channel, set Type to Google Chat.
3. Paste the URL into Google Chat webhook URL.
4. Choose Add channel.

![The Add channel form with Type set to Google Chat and Google Chat webhook URL set to a chat.googleapis.com space webhook. The SMS (Coming soon) question is under Type, and Add channel is at the bottom.](https://usegreenbar.com/docs/screenshots/alerts-add-googlechat-light.png?v=affb79a3f2cc)

*A Google Chat space webhook.*

The server accepts only `https://chat.googleapis.com/v1/spaces/…/messages`, with no custom port and no name and password, and the URL has to include a key and a token. The message you see names the start of that URL and not the key and token. Choose Replace URL and New Google Chat webhook URL to change it. Send test is described on How alerts work.

### When it fails

**What you see if a Google Chat URL cannot be saved**

| What you see | Why | What to change |
| --- | --- | --- |
| `Enter the webhook URL` | The value is not a URL. | Paste the webhook URL. |
| `Google Chat webhook URL must start with https://chat.googleapis.com/v1/spaces/` | The host, the path, or the key and token are not a space webhook. | Copy the URL from Apps & integrations again. |
