# 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)


---

# 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.abot.vn/tich-hop/luu-du-lieu-len-google-sheet-voi-abot.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.
