# Google Sheets

<div align="left"><img src="https://help.bluecore.vn/assets/imgs/img-connector/image22.gif" alt=""> <figure><img src="/files/tZR1IO1QEboukjKX3A32" alt=""><figcaption></figcaption></figure></div>

Đồng bộ dữ liệu từ Google Sheets được chia sẻ công khai đến Bluecore. Dữ liệu sẽ được cập nhật vào lúc 0h mỗi ngày.

{% hint style="info" %}
Nếu không muốn chia sẻ công khai tài liệu Google Sheet, bạn có thể chỉ chia sẻ cho tài khoản của Bluecore: <mark style="color:yellow;">`adminportal@bluecore-dcp.iam.gserviceaccount.com`</mark>
{% endhint %}

#### **Hướng dẫn kết nối Google Sheet**

Bước 1: Chọn biểu tương ***“Add connection”*** ở bên phải logo Google Sheet để kết nối với Google Sheet của bạn

Xuất hiện bảng ***“Connect Public Google Sheets”***

<div align="left"><img src="https://help.bluecore.vn/assets/imgs/img-connector/image23.png" alt="i"> <figure><img src="/files/sK6gbcee5fC23QrwU7ab" alt=""><figcaption></figcaption></figure></div>

Bước 2: **Dán link Google Sheet** được chia sẻ **công khai** vào ô ***“Public Google Sheets url”*** và chờ xuất hiện dấu tick xanh bên cạnh.

Bước 3: Chọn sheet cần đồng bộ, bạn có thể đặt tên bảng chứa dữ liệu của sheet tại trường "Table name"

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

Bước 4: Chọn **Connect** để hoàn tất việc kết nối với Google Sheet của bạn

Bước 5: Kết nối thành công vào Bluecore. Đợi một vài phút để tải dữ liệu từ Google Sheet của bạn được đồng bộ về Bluecore

<div><img src="https://help.bluecore.vn/assets/imgs/img-connector/image26.png" alt=""> <figure><img src="/files/k2f6EK392ybEqGosvDbl" alt=""><figcaption></figcaption></figure></div>

#### **Quản lý danh sách kết nối**

Để đồng bộ lại cấu trúc cột và dữ liệu:

<div><img src="https://help.bluecore.vn/assets/imgs/img-connector/GoogleSheet_Step1.png" alt=" "> <figure><img src="/files/03qAp9N8kpjWnhpBG1s9" alt=""><figcaption></figcaption></figure></div>

<div><img src="https://help.bluecore.vn/assets/imgs/img-connector/GoogleSheet_Step3.png" alt=""> <figure><img src="/files/Mp7Q9BQormeCPktRE1Z1" alt=""><figcaption></figcaption></figure></div>

Để hủy kích hoạt một sheet nếu không còn sử dụng hoặc không cần đồng bộ dữ liệu mới:

<figure><img src="/files/9P8iJ9yDRQGCfVPtsA8o" alt=""><figcaption></figcaption></figure>

**Lưu ý:**

* Dữ liệu sẽ được cập nhật vào lúc 0h mỗi ngày
* n Active Connections: n là số tài khoản được kết nối với Bluecore


---

# 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://help.bluecore.vn/english/connectors/datastorage/publicgooglesheets.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.
