Takaisin Google Docs -kohtaan
Yhdistä Knoon AI kohteen Google Docs (Google) kanssa automatisoidaksesi AI-työnkulut.
Find and replace all occurrences of a given text in a Google Docs document.
googleDocsReplaceText
BETA
Oikeudet
Valinnaiset oikeudet
Parametrit
| Nimi | Tyyppi | Kuvaus | Pakollinen |
|---|---|---|---|
| documentId | file | Select the Google Docs document to run find-and-replace on. | Kyllä |
| searchText | mustache | Text to search for in the document (e.g. "{{oldCompanyName}}"). | Kyllä |
| replaceText | mustache | Text to replace each occurrence with (e.g. "{{newCompanyName}}"). | Kyllä |
| matchCase | boolean | Whether the search should be case-sensitive. Default is false. | Ei |
Palautukset
| Nimi | Tyyppi | Kuvaus |
|---|---|---|
| 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. |