> For the complete documentation index, see [llms.txt](https://docs.casso.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.casso.vn/tich-hop/airtable.md).

# Tích hợp Airtable

Trước khi bắt đầu:

* Có tài khoản trên [<mark style="color:green;">my.casso.vn</mark>](https://my.casso.vn)<mark style="color:green;">.</mark>
* Có tài khoản trên [airtable.com](https://airtable.com).

1\. Truy cập Casso, đăng nhập tài khoản trên [<mark style="color:green;">my.casso.vn</mark>](https://my.casso.vn)<mark style="color:green;">.</mark>

2\. Trong menu **Kết nối** => **Kho ứng dụng** => chọn ứng dụng **Airtable**.

![](/files/h1BEdWR83V4uymyPwwtz)

3\. Chọn **tích hợp Airtable.**

![](/files/Vr7uXH26BhjegeX0x32u)

4\. Chọn **tài khoản ngân hàng** bạn muốn tích hợp với **Airtable**.

5\. Ở mục 2, dùng template mẫu [<mark style="color:green;">**Quản lý thu chi (Casso)**</mark>](https://autotable.vn/templates/quan-ly/2947ff2200) => Giao diện template Quản lý thu chi trên Airtable sẽ hiện lên => Chọn **Copy base.**

6\. Chọn workspace bạn muốn lưu trữ base mới vào => chọn <mark style="color:blue;">**Add base**</mark><mark style="color:blue;">.</mark>

![](/files/vj2j3vvXyVF7FoCo8tnI)

![Copy Base thành công](/files/b2KaFBT6xLzD0sMgkO2V)

7\. Tạo **Automations** trên Airtable để nhận webhook.

* Chọn **AUTOMATIONS** trên thanh công cụ => **Create a custom webhook.**
* Chọn **Add Trigger** => **When webhook received.**
* **Sao chép đường dẫn webhook.**

![](/files/tEMymjxelfRkhqpyab4p)

8\. Quay lại cửa sổ tích hợp Airtable trên Casso => điền thông thông tin đường dẫn webhook mới sao chép vào trường <mark style="color:green;">**Airtable Webhook URL**</mark> trên Casso => <mark style="color:green;">**Gọi thử**</mark>.<br>

![](/files/U5yiDst9rjYCwRooiCSn)

9\. Nếu kết quả trả về là **Success** => Quay lại giao diện trên Airtable => <mark style="color:blue;">**Add action**</mark> => **Create record.**

![](/files/Q1UrwzbcnSal03CciWBu)

* Ở phần cấu hình action chọn Table là <mark style="color:green;">**incoming and spending.**</mark>

![](/files/m0ZifQTiCpLbxJgJgcRh)

* Sau đó thiết lập trường **Mã GD** dữ liệu từ Casso và cột trên Airtable.

![](/files/KvOntChY9QnSDsTjuoDp)![](/files/d8tWRrPgw4SC4CWQzJPu)![](/files/edSbBh2I7Bc5m5OQ75fH)![](/files/XkYppuovypfpNE5qG3zz)![](/files/NhorFmEiJqpERKTtlAYQ)![](/files/pmjUvBaOxy8ueXihDh6S)

* Sau đó thiết lập các trường còn lại, thao tác tương tự khi thiết lập trường **Mã GD.**\
  \- <mark style="color:green;">Mã GD</mark>: **webhook** => **body** => **id**\
  \- <mark style="color:green;">Mã tham chiếu</mark>: **webhook** => **body** => **refid**\
  \- <mark style="color:green;">Mô tả</mark>: **webhook** => **body** => **description** => **original**\
  \- <mark style="color:green;">Giá trị</mark>: **webhook** => **body** => **amoun**\
  \- <mark style="color:green;">Ngày diễn ra</mark>: **webhook** => **body** => **datetime** => **valueDatetime**\
  \- <mark style="color:green;">Số tài khoản</mark>: **webhook** => **body** => **acountNumber**\
  \- <mark style="color:green;">Số dư</mark>: **webhook** => **body** => **balance**\
  \- <mark style="color:green;">Tài khoản ảo</mark>: **webhook** => **body** => **virtualAccount** => **virtualAcount**\
  \- <mark style="color:green;">Tên tài khoản ảo</mark>: **webhook** => **body** => **virtualAccount** => **virtualAccountName**\
  \- <mark style="color:green;">Tài khoản đối ứng</mark>: **webhook** => **body** => **corresponsiveAccount** => **corresponsiveAccount**\
  \- <mark style="color:green;">Tên tài khoản đối ứng</mark>: **webhook** => **body** => **corresponsiveAccount** => **corresponsiveName**\
  \- <mark style="color:green;">Tên ngân hàng đối ứng</mark>: **webhook** => **body** => **corresponsiveAccount** => **corresponsiveBankName** <br>

> Ký tự => tương ứng với <mark style="color:blue;">continue</mark> trong **Airtable.**

10\. Cấu hình số dư (balance)

* Chọn **Automations** trên thanh công cụ => **Create record,**
* Chọn **Choose fields** => **Số dư**

<figure><img src="/files/5Q3iHlxIf2rkrIza521y" alt=""><figcaption></figcaption></figure>

* Chọn biểu tượng cài đặt =>  **"Dynamic"**

<figure><img src="/files/DckX7xbK4eJaSILSeuhx" alt="" width="375"><figcaption></figcaption></figure>

* Chọn biểu tượng thêm => **"balance"**

<figure><img src="/files/S5lEMUMGSt02tHaSAUb1" alt="" width="375"><figcaption></figcaption></figure>

11\. Kiểm tra **action** => Chọn **Generate a preview.**

![](/files/Pc2M67kraguLFbweVhAm)

12\. Preview thành công => **Bật On** để kích hoạt **Automation.**

![](/files/uSFrkhIukhOjSI2MzDdu)

13\. Quay lại giao diện của Casso => chọn <mark style="color:green;">**Lưu.**</mark>

![](/files/YaX4ssiJqIEa6P55Xncb)

Vậy là bạn đã tích hợp Casso vào Airtable thành công, bây giờ bạn chỉ cần chuyển khoản và xem kết quả.

GLHF!
