# 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: 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.firefly.ai/integrations/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.
