# Google Chat

### How to create a webhook in Google Chat

Webhooks allow any external apps to share content in Google Chat spaces. To add a webhook to a Google Chat space follow the instructions below:

1. Go to the space where you want to add the webhook (or create a new space);
2. Click on the space title to expand the menu, and then click **Apps & Integrations;**
3. Click +**Add webhooks**;
4. In the Avatar URL field, enter: `https://app.inspector.dev/images/logo-square-black-background.png`
5. Click **Save**.

You can read more about webhooks on the official Google Chat documentation: <https://developers.google.com/chat/how-tos/webhooks#create_a_webhook>

### Install the Google Chat channel

1. Navigate to **Notifications Channels;**
2. Click **Configure** in the Google Chat channel to open the configuration screen;
3. Paste the incoming webhook url generated in the steps above;
4. Activate the type of notifications you want to forward to this channel;
5. Click Enable Channel, and confirm your choice.

<figure><img src="https://2873457055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ51SrLj6qvIRejC1XD%2Fuploads%2F5KgHNcfdghuHI9K8vacp%2Fgoogle-chat-channel.png?alt=media&#x26;token=b4a2906b-b8e2-4080-a437-c8bbb6462d7e" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Remember to click "**Save**" after any change to make the channel settings effective.
{% endhint %}

If you want to disable the channel click "**Disconnect**" and confirm your choise.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inspector.dev/concepts/notifications/google-chat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
