返回 Google Docs
將 Knoon AI 與 Google Docs (Google) 連接以自動化 AI 工作流程。
Find and replace multiple texts in a Google Docs document in a single request.
googleDocsReplaceTexts
測試版
權限
可選權限
參數
| 名稱 | 類型 | 說明 | 必填 |
|---|---|---|---|
| documentId | file | Select the Google Docs document to run find-and-replace on. | 是的 |
| searchTexts | array (mustache) | Texts to search for in the document (e.g. ["{{oldCompanyName}}", "{{oldContactName}}"]). | 是的 |
| replaceTexts | array (mustache) | Replacement texts, matched by index with searchTexts (e.g. ["{{newCompanyName}}", "{{newContactName}}"]). | 是的 |
退貨
| 名稱 | 類型 | 說明 |
|---|---|---|
| status | string | UPDATED or ERROR. |
| replacedCount | number | Total number of occurrences that were replaced across all search/replace pairs in the document. |
| sensitive.documentId | string | ID of the document that was updated. |