# Thêm thông tin vào bảng

**Bước 1:** Giống như phần tìm thông tin trong Table. Bạn tạo 1 block có các elements gồm:

* User input: Dùng để lấy thông tin khách hàng ( bạn cũng có thể dùng form thông tin)
* Json API: Dùng để truyền thông tin khách hàng từ bot lên Table

![](/files/-MMsUFAo0NYu1eFlo3bP)

**Bước 2:** Lấy thông tin khách hàng

Bạn đặt một số câu hỏi để lấy thông tin của khách hàng. VD: tên, số điện thoại, ...

![](/files/-MMsUtbLOM27i89JjwQ5)

**Bước 3:** Cấu hình Json

> 1\. Bạn chọn giao thức POST
>
> 2\. Post API url bạn copy từ bên Connect Table
>
> 3\. Chọn Json
>
> 4\. Bạn copy đoạn mã Json ở bên Table.
>
> * Chuyển hành động của bot từ findRow sang newRow ( để thêm hàng vào bảng)
> * Phần dưới là những Field sẽ được thêm vào trong hàng đó. VD: name và phoneno,...

![](/files/-MMsVhA_kyN-ADMAVrvu)

**Bước 4:** Test Table&#x20;

Bạn tạo 1 ref link hoặc ấn vào icon messenger để bot gửi tin nhắn cho bạn nhé

![](/files/-MMsYkEIMMmW-SIXBb2F)

Bot sẽ nhắn tin cho bạn để lấy thông tin sau đó bạn cung cấp thông tin nhé

![](/files/-MMsZ_Ls7k4MdYs7qfvH)

Bạn vào Table và chọn reload data để cập nhật thông tin table nhé

![](/files/-MMs_SYIMneo4Uzz9jeH)


---

# 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.botplus.io/table/ket-noi-voi-nen-tang-chatbot/cac-tinh-nang-khac/them-thong-tin-vao-bang.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.
