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

# Lưu dữ liệu lên google sheet với ABOT

### Bước 1: Copy file sheet từ Abot

<https://docs.google.com/spreadsheets/d/1U8PNUDZ3WABkSHgyEXCh8dn9jx-0LlNPebdyAKct8VI/edit?usp=sharing>

Sau khi copy, bạn có thể thêm bao nhiêu cột tùy thích nhưng nhớ đặt tên cột là viết liền không dấu. Ví dụ: điện thoại thì sẽ đặt là dien\_thoai.

Lý do cần copy file này vì có chứa một số script tương thích với Abot.

<img src="/files/tXVJNCtwgtyN4RFX1ht9" alt="" data-size="original">

### Bước 2: Vào file bạn vừa copy xong, chọn Tiện ích mở rộng > Apps Script&#x20;

![](/files/D9BnCaQUqJgMGebRIQ49)

Chọn hàm **setup** sau đó bấm **Chạy**

<figure><img src="/files/HvujKYp4nvdK38BJq0cb" alt=""><figcaption></figcaption></figure>

Tại giao diện code, bấm **Triển khai -> Tùy chọn triển khai mới**.

![](/files/WmEmXqgyYlJlnZw7JRIg)

Khi hộp thoại thông báo hiện ra thì bạn hãy bấm nút **Triển khai ->Ủy quyền truy cập**<br>

![](/files/eBzy1O2rTRyH5kZDKnsJ)

![](/files/HnOSLaQUpq77aUXxUyCW)

![](/files/MlXHkWzIpmrTd6iQmYLn)

![](/files/MOSYyI9sTouxfHXPR1H2)

Tại đây cũng copy link để dùng cho bước tiếp theo.

![](/files/52uYKCGnIB5KSajys5PB)

### Bước 3: Vào Abot để tạo chiến dịch.

Vào chiến dịch, tạo một chiến dịch mới. Bấm "**Xây dựng chiến dịch**".

![](/files/Og4lTM1s9zj7dnMV2xyA)

Chọn **nguồn chiến dịch** và thêm một **hành động**.

![](/files/wQIDTGMwllc8xqZWbNaa)

Chọn "**Gửi một webhook**"

![](/files/n6G7XrqI98aUBwEc09dZ)

Tại đây, **copy link ở Bước 2** vào URL.

Vào mục "**Phương thức**" chọn "**POST**" và thêm các giá trị dữ liệu.

![](/files/qCDMwB1c85I8xD2QpAi4)
