我正在使用 Integromat,并且想重命名 Google 电子表格中的单个工作表。我怎样才能做到这一点?
Integromat 为 Google 表格提供了许多类似/相关的选项:
- 创建电子表格
- 添加工作表
但两者都不允许我更新现有工作表的名称。
我正在使用 Integromat,并且想重命名 Google 电子表格中的单个工作表。我怎样才能做到这一点?
Integromat 为 Google 表格提供了许多类似/相关的选项:
但两者都不允许我更新现有工作表的名称。
Integromat 还有一个选项Make an API Call for Google Sheets。
Google Sheets API有一个用于更新电子表格属性的HTTP 请求方法,包括用于更新由工作表 ID 指定的单个工作表的属性的UpdateSheetPropertiesRequest 。使用这个和SheetProperties 对象,我们可以通过 Integromat 更新单个工作表的名称,如下所示:
在 Integromat 中:
{
"requests": [{
"updateSheetProperties": {
"properties": {
"sheetId": "id-of-the-individual-sheet-to-be-updated",
"title": "your new sheet name"
},
"fields": "title"
}
}]
}