Atrás a Google Docs
Conectar Knoon AI con Google Docs (Google) para automatizar flujos de trabajo de AI.
Find and replace multiple texts in a Google Docs document in a single request.
googleDocsReplaceTexts
Beta
Permisos
Permisos opcionales
Parámetros
| Nombre | Tipo | Descripción | Requerido |
|---|---|---|---|
| documentId | file | Select the Google Docs document to run find-and-replace on. | Sí |
| searchTexts | array (mustache) | Texts to search for in the document (e.g. ["{{oldCompanyName}}", "{{oldContactName}}"]). | Sí |
| replaceTexts | array (mustache) | Replacement texts, matched by index with searchTexts (e.g. ["{{newCompanyName}}", "{{newContactName}}"]). | Sí |
Devoluciones
| Nombre | Tipo | Descripción |
|---|---|---|
| status | string | UPDATED or ERROR. |
| replacedCount | number | Total number of occurrences that were replaced across all search/replace pairs in the document. |
| sensitive.documentId | string | ID of the document that was updated. |