# Sử dụng Hành động Google Form

Hành động Google Form trên Appon là tính năng giúp bạn đẩy các thông tin dữ liệu về Google sheet 1 cách đơn giản.

Mình có ví dụ như sau: Bạn tạo App tại Appon và App này có mục đích là lấy lại thông tin những khách hàng quan tâm đến sản phẩm của bạn, và khi khách hàng để lại thông tin tại Form thì thông tin của khách hàng sẽ chuyển ngay đến Google Sheet.

Để làm được ví dụ trên thì các bạn cần thực hiện theo các bước như sau:\
1\. Tạo form ở Google Form truy cập <https://docs.google.com/forms>:

* Form gồm : Họ tên, số điện thoại, địa chỉ.
* Lưu ý : Google Form phải để ở chế độ công khai và dạng trả lời ngắn
* Ấn ViewForm và copy link ViewForm

![Khởi tạo form và ấn chọn Viewform](/files/o6Ar8M8OXdntpSYPMfbn)

![Sao chép link Viewform](/files/OQstyPiEtv1h3F0JIYGI)

2\. Đăng nhập vào Appon và thiết kế Form

* Tạo **Dữ liệu(Model)** để lưu trữ thông tin khách hàng điền
* Kéo **Block Input** và chọn **Model** lưu dữ liệu vừa tạo
* Kéo **Block Button** >> chọn "Hành đông" >> thêm hành động "Google Form" và dán link ViewForm copy ở bước 1 sau đó ấn "Get Form"

![Tạo bảng dữ liệu lưu trữ thông tin](/files/xnIUq3V0xL6ZLldECCFq)

![Sử dụng Input và gán dữ liệu cho các Block Input](/files/qNysY2124wEqSn71hd0t)

![dán link Viewform và ấn Get form](/files/tcMAREpJw6dYaBR992Oy)

![chọn Data Model tương ứng](/files/r2IMQBs0OujLCh65AqGA)

3\. Publish ứng dụng và Kiểm tra dữ liệu nhập Form về Google Sheet.

![Nhập thông tin và ấn nút Đăng ký](/files/uJBOAcLJdv8o5u7WQq9G)

![Kiểm tra data trên Google sheet của bạn](/files/r5nGtbMDPGXemikA3vfd)

Chúc các bạn thành công !


---

# 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://tailieu.appon.vn/huong-dan-nang-cao/su-dung-hanh-dong-google-form.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.
