返回 Google Docs
将 Knoon AI 与 Google Docs (Google) 连接以自动化 AI 工作流。
Find and replace all occurrences of a given text in a Google Docs document.
googleDocsReplaceText
测试版
权限
可选权限
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| documentId | file | Select the Google Docs document to run find-and-replace on. | 是的 |
| searchText | mustache | Text to search for in the document (e.g. "{{oldCompanyName}}"). | 是的 |
| replaceText | mustache | Text to replace each occurrence with (e.g. "{{newCompanyName}}"). | 是的 |
| matchCase | boolean | Whether the search should be case-sensitive. Default is false. | 没有 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| status | string | UPDATED or ERROR. |
| replacedCount | number | Total number of occurrences that were replaced in the document. |
| sensitive.documentId | string | ID of the document that was updated. |