返回 Google Docs

將 Knoon AI 與 Google Docs (Google) 連接以自動化 AI 工作流程。

Find and replace all occurrences of a given text in a Google Docs document.
googleDocsReplaceText
測試版
權限
  • 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.是的
searchTextmustache Text to search for in the document (e.g. "{{oldCompanyName}}").是的
replaceTextmustache Text to replace each occurrence with (e.g. "{{newCompanyName}}").是的
matchCaseboolean Whether the search should be case-sensitive. Default is false.
退貨
名稱類型說明
statusstring UPDATED or ERROR.
replacedCountnumber Total number of occurrences that were replaced in the document.
sensitive.documentIdstring ID of the document that was updated.