> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/build/google-sheets.md).

# 在 Duaer 里用 Google Sheets 读行

在 Duaer 里，Google Sheets 默认 Authentication 是 OAuth2，Resource 是 Sheet，Operation 是 Get Row(s)。需要 googleSheetsOAuth2Api 凭据。
## 读取表格行

1. 先建好 googleSheetsOAuth2Api 凭据（或按面板改用 Service Account）。
2. 搜索 Google Sheets，接到上一个节点后面，选上凭据。
3. Resource 保持 Sheet，Operation 保持 Get Row(s)。
4. 选 Document（电子表格）和 Sheet（工作表）。
5. 点执行此步骤。行会出现在输出条目里。

还可选 Append Row、Append or Update Row、Update Row、Clear、Create、Delete 等。

组织内表优先用 [在 Duaer 里用数据表留下结果](/zh/build/data-tables.md)；库表见 [在 Duaer 里用 Postgres 读写表](/zh/build/postgres.md)。
## Questions

### Duaer 的 Google Sheets 默认读还是写？

默认 Operation 是 Get Row(s)，先读。要追加行改成 Append Row。

## 相关

- [在 Duaer 里用 Airtable 创建记录](https://doc.duaer.com/zh/build/airtable.md)
- [在 Duaer 里用 Notion 创建页面](https://doc.duaer.com/zh/build/notion.md)
- [在 Duaer 里用 Google Drive 上传文件](https://doc.duaer.com/zh/build/google-drive.md)

