Back to Google Docs
Google / Google Docs
Find & Replace Text
Find and replace all occurrences of a given text in a Google Docs document.
googleDocsReplaceText
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 |
| searchText | mustache | Text to search for in the document (e.g. "{{oldCompanyName}}"). | Yes |
| replaceText | mustache | Text to replace each occurrence with (e.g. "{{newCompanyName}}"). | Yes |
| matchCase | boolean | Whether the search should be case-sensitive. Default is false. | No |
Returns
| Name | Type | Description |
|---|---|---|
| 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. |
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.