Kembali ke Google Docs

Sambungkan Knoon AI dengan Google Docs (Google) untuk mengotomatisasi alur kerja AI.

Find and replace multiple texts in a Google Docs document in a single request.
googleDocsReplaceTexts
Beta
Izin
  • https://www.googleapis.com/auth/drive.file
Izin opsional
  • https://www.googleapis.com/auth/drive
Parameter
NamaTipeDeskripsiWajib
documentIdfile Select the Google Docs document to run find-and-replace on.Ya
searchTextsarray (mustache)Texts to search for in the document (e.g. ["{{oldCompanyName}}", "{{oldContactName}}"]).Ya
replaceTextsarray (mustache)Replacement texts, matched by index with searchTexts (e.g. ["{{newCompanyName}}", "{{newContactName}}"]).Ya
Pengembalian
NamaTipeDeskripsi
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.