# Tích hợp Google Chat

## Tạo Webhook URL trên Google Chat

* Truy cập [Google Chat](https://chat.google.com) trên trình duyệt.
* Tại giao diện của Google Chat, ta tạo một space mới hoặc sử dụng một space đã có để thiết lập nhận thông báo.

![](/files/x68WEC5UgYrwDyRFew7d)

![Chọn Create để tiếp tục](/files/kkUsk2mNn5lwow3KFNZO)

* Nhấp chuột phải vào space vừa tạo (hoặc space sẵn có), chọn **Manage Webhooks** => Đặt tên cho Webhook và nhấn **Save** => Sau đó sao chép **Webhooks URL** xuất hiện ở cửa sổ cuối cùng.

![Chọn Manage webhooks để tạo một Incoming webhook cho nhóm Chat của bạn](/files/iNEzgzDADcqrawt5OQiX)

![Bấm Save để lưu Incoming Webhook. Google Chat sẽ tạo ra một đường dẫn Webhook URL cho phép Casso sử dụng để thực hiện tích hợp](/files/mbYgrqbuU2w7ADQ1r18k)

![Chọn icon Copy để copy đường dẫn webhook](/files/mLtOzFUKc4DLgWMNrklE)

## Thiết lập tích hợp Google Chat trên Casso

* Truy cập vào **Casso** => **Kết nối** => **Tích hợp** => Thêm tích hợp Ứng dụng **Google Chat** hoặc **Casso** => **Kết nối** => **Kho ứng dụng** => Chọn ứng dụng **Google Chat**.

![](/files/1kFpcxC07TiL17bbHEzT)

* Điền và chọn các thông tin phù hợp vào cửa sổ tích hợp Google Chat, trong đó dán Webhook URL vừa sao chép ở bên trên vào ô **Webhook URL Google Chat** => **Gọi thử**.

![](/files/7VoVYqEGwYwAEhtLkmVA)

* Nếu Gọi thử <mark style="color:green;">thành công, thông báo tin nhắn giao dịch xuất hiện tại space Google Chat đã cài đặt</mark> => bấm Lưu.

Vậy là bạn đã thêm ứng dụng Google Chat thành công, bây giờ bạn chỉ cần chuyển khoản và xem kết quả.


---

# 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.casso.vn/tich-hop/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.
