Back to Google Drive
Google / Google Drive
Update Text File
Update the contents of an existing text file in Google Drive. Maximum supported file size is 100MB.
googleDriveUpdateText
Permissions
Optional permissions
There are no items to display.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| fileId | file | Select the Google Drive file to update. The file must be text-based and must not exceed 100MB. | Yes |
| mimeType | mustache | Optional. MIME type to assign to the file in Drive (e.g. "application/json", "text/plain", "text/markdown"). Defaults to "text/plain" if omitted. | No |
| append | boolean | If true, append the content to the end of the file. If false, overwrite the file contents. | No |
| content | mustache | Plain text content to write to the file. This can include JSON, logs, or any UTF-8 text. The encoded file size must not exceed 100MB. | Yes |
Returns
| Name | Type | Description |
|---|---|---|
| status | string | UPDATED or ERROR. |
| sensitive.fileId | string | Google Drive file ID of the updated file. |
| sensitive.name | string | Name of the updated file in Google Drive. |
| sensitive.mimeType | string | MIME type of the updated file as stored in Drive. |
| sensitive.size | string | Size of the updated file in bytes as a string, or null if unavailable. |
| confidential.webViewLink | string | Link to open the file in Google Drive (if available). |
| confidential.webContentLink | string | Direct download link for the file content (if available). |
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.