# Google Chat

## Google Chat Notifications in BuildingPro Suites

The **Google Chat** notification provider in BuildingPro Suites enables the configuration and management of notifications that are delivered directly in a Google Chat room or group. This is particularly helpful for forwarding alarms and other important information to teams in real time.

***

## Configuration

<figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FrH6DPLdAQZwXRfLKpotU%2Fimage.png?alt=media&#x26;token=abcd73b0-3b8c-4e16-be46-3326012b71ae" alt=""><figcaption></figcaption></figure>

1. **Note:** Enter a note or description that is relevant for the configuration. This could be the name of the Google Chat room, for example.
2. **Customer email:** Enter the customer's email address that is used for the Google Chat notifications.
3. **Private key:** Enter the private key that is required for authentication with Google Chat. This key must be in JSON format and provided by your Google Workspace administrator.
4. **Save:** Click on **"Save"** to apply the configuration.

***

## Combining Alarms

Alarms can also be grouped here as with other notification providers.

{% content-ref url="../group-escalations" %}
[group-escalations](https://docs.buildings.ability.abb/collection/platform/platform-core/alert-and-escalation/escalations/group-escalations)
{% endcontent-ref %}

***

## Google Chat Templates

<figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2Fg4hyFtulUor8tzQKhzRB%2Fimage.png?alt=media&#x26;token=63a95b00-08e2-4f6a-86ba-2bc93a4eb5a4" alt=""><figcaption></figcaption></figure>

BuildingPro Suites offers the possibility to customize individual templates for Google Chat notifications. These templates define what the text style, structure, and content of the notification look like.

{% content-ref url="../../../../../academy/twig-templating-in-eliona" %}
[twig-templating-in-eliona](https://docs.buildings.ability.abb/collection/academy/twig-templating-in-eliona)
{% endcontent-ref %}

1. **Customize template:** Navigate to your Google Chat template and click on <img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FtylLX3MmKCfgavnabx4j%2Fimage.png?alt=media&#x26;token=e45a6564-6e57-4d2d-8238-19fb2287e759" alt="" data-size="line">.
2. **Override standard:**
   * Activate the **"Override standard"** option to make individual changes to the template.
   * As soon as this option is active, you can edit the notification text.
3. **Edit format & style:** The Google Chat text can be customized to make the desired message clear and easy to understand. **Example for an alarm text:**

   ```csharp
   BuildingPro Suites Alarm: {{asset.name}} ({{asset.gai}}) - {{alarm.msg}}
   {% if alarm.gone_ts is null %}https://{{domain_name}}/alarms?alarm_id={{alarm.alarm_id}}
   {% else %}https://{{domain_name}}/alarms/history{% endif %}
   ```
4. **Save:** Click on **"Save"** to apply the changes. All future notifications will then use the customized template.
