Назад к 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. |