Back to Google Docs
Google / Google Docs
Find & Replace Multiple Texts
Find and replace multiple texts in a Google Docs document in a single request.
googleDocsReplaceTexts
Permissions
Optional permissions
There are no items to display.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| documentId | file | Select the Google Docs document to run find-and-replace on. | Yes |
| searchTexts | array (mustache) | Texts to search for in the document (e.g. ["{{oldCompanyName}}", "{{oldContactName}}"]). | Yes |
| replaceTexts | array (mustache) | Replacement texts, matched by index with searchTexts (e.g. ["{{newCompanyName}}", "{{newContactName}}"]). | Yes |
Returns
| Name | Type | Description |
|---|---|---|
| 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. |
Install In Tools
See how to install an app in your tool
Follow the quick walkthrough below to add marketplace apps into your tool flow.
Step 01
Open your tool setup
Start from the tool workspace where you want to add a new app.
Step 02
Go to tools and create button
Open the Tools page, then click the Create button to start adding a new app.
Step 03
Choose Internal or External work
Choose Internal or External work, then select an app action.
Step 04
Select app to install to Knoon
Pick the app you want to install to Knoon and complete the setup flow.
Step 05
Success!
The app has been installed successfully and is ready to use in your workflow.
Power your business with Knoon's Agentic AI today.
Join businesses already resolving thousands of customer inquiries and sales leads with Knoon.