Quay lại Google Docs
Kết nối Knoon AI với Google Docs (Google) để tự động hóa các quy trình làm việc AI.
Find and replace all occurrences of a given text in a Google Docs document.
googleDocsReplaceText
BẢN THỬ NGHIỆM
Quyền hạn
Quyền hạn tùy chọn
Tham số
| Tên | Loại | Mô tả | Bắt buộc |
|---|---|---|---|
| documentId | file | Select the Google Docs document to run find-and-replace on. | Có |
| searchText | mustache | Text to search for in the document (e.g. "{{oldCompanyName}}"). | Có |
| replaceText | mustache | Text to replace each occurrence with (e.g. "{{newCompanyName}}"). | Có |
| matchCase | boolean | Whether the search should be case-sensitive. Default is false. | Không |
Trả về
| Tên | Loại | Mô tả |
|---|---|---|
| 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. |