返回 Google Docs

将 Knoon AI 与 Google Docs (Google) 连接以自动化 AI 工作流。

Find and replace multiple texts in a Google Docs document in a single request.
googleDocsReplaceTexts
测试版
权限
  • https://www.googleapis.com/auth/drive.file
可选权限
  • https://www.googleapis.com/auth/drive
参数
名称类型描述必填
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}}"]).是的
回报
名称类型描述
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.