Wróć do Google Docs

Połącz Knoon AI z Google Docs (Google), aby zautomatyzować przepływy pracy AI.

Find and replace multiple texts in a Google Docs document in a single request.
googleDocsReplaceTexts
BETA
Uprawnienia
  • https://www.googleapis.com/auth/drive.file
Uprawnienia opcjonalne
  • https://www.googleapis.com/auth/drive
Parametry
NazwaTypOpisWymagane
documentIdfile Select the Google Docs document to run find-and-replace on.Tak
searchTextsarray (mustache)Texts to search for in the document (e.g. ["{{oldCompanyName}}", "{{oldContactName}}"]).Tak
replaceTextsarray (mustache)Replacement texts, matched by index with searchTexts (e.g. ["{{newCompanyName}}", "{{newContactName}}"]).Tak
Zwroty
NazwaTypOpis
statusstring UPDATED or ERROR.
replacedCountnumber Total number of occurrences that were replaced across all search/replace pairs in the document.
sensitive.documentIdstring ID of the document that was updated.