Kembali ke Google Docs
Sambungkan Knoon AI dengan Google Docs (Google) untuk mengotomatisasi alur kerja AI.
Find and replace all occurrences of a given text in a Google Docs document.
googleDocsReplaceText
Beta
Izin
Izin opsional
Parameter
| Nama | Tipe | Deskripsi | Wajib |
|---|---|---|---|
| documentId | file | Select the Google Docs document to run find-and-replace on. | Ya |
| searchText | mustache | Text to search for in the document (e.g. "{{oldCompanyName}}"). | Ya |
| replaceText | mustache | Text to replace each occurrence with (e.g. "{{newCompanyName}}"). | Ya |
| matchCase | boolean | Whether the search should be case-sensitive. Default is false. | Tidak |
Pengembalian
| Nama | Tipe | Deskripsi |
|---|---|---|
| status | string | UPDATED or ERROR. |
| replacedCount | number | Total number of occurrences that were replaced in the document. |
| sensitive.documentId | string | ID of the document that was updated. |