> For the complete documentation index, see [llms.txt](https://docs.firefly.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.firefly.ai/integrations/notifications/google-chat.md).

# Google Chat

Firefly integrates with Google Chat to provide rich notifications for various events and alerts. This integration enables teams to receive real-time updates about infrastructure changes, policy violations, drift detection, and other important events directly in their Google Chat spaces.

## Prerequisites

* A Google Workspace account with administrative access.
* Appropriate permissions to create webhooks.
* A Google Chat space where you want to receive Firefly notifications.

## Setup Procedure

1. Go to [Google Chat](https://mail.google.com/mail/u/0/#chat/home).
2. Click **New Chat > Create a space**.
3. Click your space name > **Apps & Integrations > Add webhooks**.
4. Add a descriptive name for your webhook and click **Save**.
5. Copy the generated Webhook URL.
6. In Firefly, click **Settings > Integrations**.
7. Click **Add New > Google Chat**.
8. Enter a descriptive name in the **Nickname** field.
9. Paste the webhook URL.
10. Click **Next**.
11. Click **Done**.

## Features Enabled

* **Real-time Notifications**: Receive immediate alerts for important events.
* **Rich Message Formatting**: Detailed, formatted messages with direct links to Firefly.
* **Customizable Alerts**: Configure which events trigger notifications.
* **Space-specific Routing**: Send different types of alerts to different spaces.
* **Interactive Messages**: Click through to Firefly directly from Google Chat notifications.

> **Note:** In the integration settings page, use the notifcation test button to test the integration.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.firefly.ai/integrations/notifications/google-chat.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
