Zurück zu Google Docs

Verbinde Knoon AI mit Google Docs (Google), um KI-Workflows zu automatisieren.

Find and replace all occurrences of a given text in a Google Docs document.
googleDocsReplaceText
Beta
Berechtigungen
  • https://www.googleapis.com/auth/drive.file
Optionale Berechtigungen
  • https://www.googleapis.com/auth/drive
Parameter
NameTypBeschreibungErforderlich
documentIdfile Select the Google Docs document to run find-and-replace on.Ja
searchTextmustache Text to search for in the document (e.g. "{{oldCompanyName}}").Ja
replaceTextmustache Text to replace each occurrence with (e.g. "{{newCompanyName}}").Ja
matchCaseboolean Whether the search should be case-sensitive. Default is false.Nein
Rückgaben
NameTypBeschreibung
statusstring UPDATED or ERROR.
replacedCountnumber Total number of occurrences that were replaced in the document.
sensitive.documentIdstring ID of the document that was updated.