# Chỉnh sửa thông tin

**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.
>
> Trước tiên bạn muốn updateRow thì bạn cần findRow trước. Vì thế, ở đây mình sẽ dùng findRow để tìm được hàng cần update thông tin trước, sau đó sẽ updateRow nhé.

![](/files/-MMt7-la0yQ1UQzR_SIg)

**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/-MMt8hyMaCmIju4qB0Lj)

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

![](/files/-MMt8U3aPk-RJOGMcNpG)

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

![](/files/-MMs_SYIMneo4Uzz9jeH)

Sau khi ấn reload data thì số điện thoại ở hàng có biến name là "NTH" đã được update!

![](/files/-MMt952B4bzHB1iGV8YH)


---

# 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/chinh-sua-thong-tin.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.
