Quay lại Google Docs

Kết nối Knoon AI với Google Docs (Google) để tự động hóa các quy trình làm việc AI.

Find and replace multiple texts in a Google Docs document in a single request.
googleDocsReplaceTexts
BẢN THỬ NGHIỆM
Quyền hạn
  • https://www.googleapis.com/auth/drive.file
Quyền hạn tùy chọn
  • https://www.googleapis.com/auth/drive
Tham số
TênLoạiMô tảBắt buộc
documentIdfile Select the Google Docs document to run find-and-replace on.
searchTextsarray (mustache)Texts to search for in the document (e.g. ["{{oldCompanyName}}", "{{oldContactName}}"]).
replaceTextsarray (mustache)Replacement texts, matched by index with searchTexts (e.g. ["{{newCompanyName}}", "{{newContactName}}"]).
Trả về
TênLoạiMô tả
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.