Tillbaka till Google Docs

Anslut Knoon AI med Google Docs (Google) för att automatisera AI-flöden.

Find and replace multiple texts in a Google Docs document in a single request.
googleDocsReplaceTexts
BETA
Behörigheter
  • https://www.googleapis.com/auth/drive.file
Valfria behörigheter
  • https://www.googleapis.com/auth/drive
Parametrar
NamnTypBeskrivningObligatoriskt
documentIdfile Select the Google Docs document to run find-and-replace on.Ja
searchTextsarray (mustache)Texts to search for in the document (e.g. ["{{oldCompanyName}}", "{{oldContactName}}"]).Ja
replaceTextsarray (mustache)Replacement texts, matched by index with searchTexts (e.g. ["{{newCompanyName}}", "{{newContactName}}"]).Ja
Returer
NamnTypBeskrivning
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.