Назад к Google Docs

Подключите Knoon AI к Google Docs (Google), чтобы автоматизировать AI рабочие процессы.

Find and replace all occurrences of a given text in a Google Docs document.
googleDocsReplaceText
Бета
Разрешения
  • https://www.googleapis.com/auth/drive.file
Опциональные разрешения
  • https://www.googleapis.com/auth/drive
Параметры
ИмяТипОписаниеОбязательно
documentIdfile Select the Google Docs document to run find-and-replace on.Да
searchTextmustache Text to search for in the document (e.g. "{{oldCompanyName}}").Да
replaceTextmustache Text to replace each occurrence with (e.g. "{{newCompanyName}}").Да
matchCaseboolean Whether the search should be case-sensitive. Default is false.Нет
Возвраты
ИмяТипОписание
statusstring UPDATED or ERROR.
replacedCountnumber Total number of occurrences that were replaced in the document.
sensitive.documentIdstring ID of the document that was updated.