# Google Chat Webhooks

{% hint style="warning" %}
If possible we suggest to use [ilert’s Google Chat app](https://docs.ilert.com/chatops/google-chat/google-chat-app) for the setup, this guide and integration is only suggested in case you do not want to grant any permissions to ilert
{% endhint %}

## In Google Chat

1. Go to “Apps and integrations” of the space where you want to receive alerts.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FWshIGikrObrQAusS5VgP%2FScreenshot%202026-01-28%20at%2014.17.31.png?alt=media&#x26;token=4709e7c7-1edc-4316-9839-d6525a78c8fd" alt="" width="375"><figcaption></figcaption></figure>

2. Click “Add webhooks”.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FX5ZH5yp2RmZRJ9eYYTBT%2Fapps-and-webhooks.png?alt=media&#x26;token=19669e7a-7a26-4af1-88c5-157f2c06635d" alt="" width="563"><figcaption></figcaption></figure>

3. Enter a name and an optional avatar URL. Use <https://cdn.ilert.com/favicon.ico> for the ilert icon. Click “Save”.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FvtHG8qFYjoKR2ldgsmni%2Fgoogle-chat-add-new-webhook.png?alt=media&#x26;token=2ebe399c-3a85-4da8-9a7f-e5ea54b33d66" alt="" width="375"><figcaption></figcaption></figure>

4. Copy the link of the created webhook.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FK8GMzhJo9A2Yi1PcLY1U%2Fgoogle-chat-copy-webhook-url.png?alt=media&#x26;token=df567511-8e72-4a13-b6f1-35dc123e8137" alt="" width="563"><figcaption></figcaption></figure>

## In ilert

1. Go to [Alert Actions](https://app.ilert.com/account-search?overwrite-browser-uri=%2Fconnector%2Flist-all) in ilert. Click “Create new alert action”.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fjgd68ahPaALAgufiqL7T%2Falert-actions-create-new-button.png?alt=media&#x26;token=a4987dd1-f8b3-4ec1-b0eb-718c11bfaed9" alt="" width="563"><figcaption></figcaption></figure>

2. Choose Google Chat from the list. Select the “Use webhook” box.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fk5kRTPihgGPHWM31exfd%2Fcreate-alert-action-google-chat-webhook.png?alt=media&#x26;token=b91bde01-8f86-42f5-8c89-c2d69287cad6" alt="" width="563"><figcaption></figcaption></figure>

3. Click “Next” and select an alert source whose alert’s updates you want to publish to Google Chat spaces and desired event types. Click “Next”.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fm9BfvBFtdwGfKAgRAkWy%2Falert-action-trigger-page.png?alt=media&#x26;token=c4fae06a-5a2f-4e28-baec-c00251fb82d1" alt="" width="563"><figcaption></figcaption></figure>

4. Set up conditional execution or skip that for now.
5. Paste the webhook link that is copied earlier.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FuAPacaEu7x2ZuksSVu0w%2Falert-action-google-chat-webhook-options.png?alt=media&#x26;token=937756e2-3954-417b-9229-a94d10573022" alt="" width="563"><figcaption></figcaption></figure>

6. Click “Save” and you can review and adjust the settings. Click “Save” again to get the detail view of the newly created alert action.
