Integrations
Google Drive
9 actions for Google Drive.
Google Drive Create File#
Create a new text-based file (txt, csv, json, etc.) in Google Drive.
Plans: Trial, Pro, Premium, Enterprise · Type: DriveCreateFile
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Allowed Directories | Choice | No | — | Restrict this step to specific Google Drive directories. If empty, all directories are accessible. |
| File Name | Text | Yes | (empty) | Name of the file to create (include extension, e.g. report.txt). |
| Content | Text | No | {input} | Text content to write to the file. |
| MIME Type | Text | No | text/plain | MIME type of the file. Options: text/plain, text/csv, application/json, text/html, text/markdown |
| Folder ID | Text | No | (empty) | ID of the parent folder (leave empty for My Drive root). |
Outputs#
| Output | Type |
|---|---|
| File Id | Any |
| Name | Any |
| Mime Type | Any |
| Web View Link | Any |
| Created Time | Any |
| Modified Time | Any |
| Parents | Any |
Use as an agent tool#
Tool name: drivecreatefile
Create a new text-based file (txt, csv, json, etc.) in Google Drive.
Google Drive Create Folder#
Create a new folder in Google Drive.
Plans: Trial, Pro, Premium, Enterprise · Type: DriveCreateFolder
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Allowed Directories | Choice | No | — | Restrict this step to specific Google Drive directories. If empty, all directories are accessible. |
| Folder Name | Text | Yes | {input} | Name of the folder to create. |
| Parent Folder ID | Text | No | (empty) | ID of the parent folder (leave empty to create in My Drive root). |
Outputs#
| Output | Type |
|---|---|
| Folder Id | Any |
| Name | Any |
| Web View Link | Any |
| Created Time | Any |
| Modified Time | Any |
| Parents | Any |
Use as an agent tool#
Tool name: drivecreatefolder
Create a new folder in Google Drive.
Google Drive Delete File#
Move a file to trash (soft delete) or permanently delete it from Google Drive.
Plans: Trial, Pro, Premium, Enterprise · Type: DriveDeleteFile
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Allowed Directories | Choice | No | — | Restrict this step to specific Google Drive directories. If empty, all directories are accessible. |
| File ID | Text | Yes | {input} | The Google Drive file ID or URL to delete. |
| Permanent Delete | Yes/No | No | Off | If true, permanently delete the file. Default is soft delete (move to trash). |
Outputs#
| Output | Type |
|---|---|
| File Id | Any |
| Status | Any |
Use as an agent tool#
Tool name: drivedeletefile
Move a file to trash (soft delete) or permanently delete it from Google Drive.
Google Drive Get File Metadata#
Get metadata for a specific file in Google Drive.
Plans: Trial, Pro, Premium, Enterprise · Type: DriveGetFileMetadata
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Allowed Directories | Choice | No | — | Restrict this step to specific Google Drive directories. If empty, all directories are accessible. |
| File ID | Text | Yes | (empty) | The Google Drive file ID or URL. |
Outputs#
| Output | Type |
|---|---|
| File Id | Any |
| Name | Any |
| Mime Type | Any |
| Size | Any |
| Created Time | Any |
| Modified Time | Any |
| Web View Link | Any |
| Thumbnail Link | Any |
| Parents | Any |
| Description | Any |
Use as an agent tool#
Tool name: drivegetfilemetadata
Get metadata for a specific file in Google Drive.
Google Drive List Folder#
List contents of a folder in Google Drive.
Plans: Trial, Pro, Premium, Enterprise · Type: DriveListFolder
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Allowed Directories | Choice | No | — | Restrict this step to specific Google Drive directories. If empty, all directories are accessible. |
| Folder ID | Text | No | (empty) | The Google Drive folder ID or URL. Leave empty for root (My Drive). |
| Max Results | Number | No | 100 | Maximum number of results to return (1-1000). |
Outputs#
| Output | Type |
|---|---|
| Files | Any |
| Count | Any |
| Folder Id | Any |
Use as an agent tool#
Tool name: drivelistfolder
List contents of a folder in Google Drive.
Google Drive Read File#
Read file content from Google Drive. Automatically converts Google Workspace files.
Plans: Trial, Pro, Premium, Enterprise · Type: DriveReadFile
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Allowed Directories | Choice | No | — | Restrict this step to specific Google Drive directories. If empty, all directories are accessible. |
| File ID | Text | Yes | (empty) | The Google Drive file ID or URL. |
| Offset | Number | No | 0 | 0-based line number to start reading from. |
| Limit | Number | No | 500 | Maximum number of lines to return. |
Outputs#
| Output | Type |
|---|---|
| Content | Any |
| File Id | Any |
| Name | Any |
| Mime Type | Any |
| Converted | Any |
| Size | Any |
| Total Lines | Any |
| Offset | Any |
| Limit | Any |
| Metadata | Any |
Use as an agent tool#
Tool name: drivereadfile
Read file content from Google Drive. Automatically converts Google Workspace files.
Google Drive Search Files#
Search for files in Google Drive using a query.
Plans: Trial, Pro, Premium, Enterprise · Type: DriveSearchFiles
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Allowed Directories | Choice | No | — | Restrict this step to specific Google Drive directories. If empty, all directories are accessible. |
| Search Query | Text | Yes | (empty) | Google Drive search query (e.g., “name contains ‘report’” or “mimeType=‘application/pdf’”). |
| Max Results | Number | No | 100 | Maximum number of results to return (1-1000). |
Outputs#
| Output | Type |
|---|---|
| Files | Any |
| Count | Any |
| Query | Any |
Use as an agent tool#
Tool name: drivesearchfiles
Search for files in Google Drive using a query.
Google Drive Update Metadata#
Update metadata (name, description, starred) on a Google Drive file.
Plans: Trial, Pro, Premium, Enterprise · Type: DriveUpdateMetadata
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Allowed Directories | Choice | No | — | Restrict this step to specific Google Drive directories. If empty, all directories are accessible. |
| File ID | Text | Yes | (empty) | The Google Drive file ID or URL. |
| New Name | Text | No | (empty) | New name for the file (leave empty to keep current name). |
| Description | Text | No | {input} | New description for the file (leave empty to keep current description). |
| Starred | Yes/No | No | — | Whether to star the file. |
Outputs#
| Output | Type |
|---|---|
| File Id | Any |
| Name | Any |
| Mime Type | Any |
| Description | Any |
| Starred | Any |
| Modified Time | Any |
| Web View Link | Any |
Use as an agent tool#
Tool name: driveupdatemetadata
Update metadata (name, description, starred) on a Google Drive file.
Google Drive Upload File#
Upload a file to Google Drive from base64-encoded content.
Plans: Trial, Pro, Premium, Enterprise · Type: DriveUploadFile
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Allowed Directories | Choice | No | — | Restrict this step to specific Google Drive directories. If empty, all directories are accessible. |
| File Name | Text | Yes | (empty) | Name of the file to upload (include extension). |
| File Content (base64) | Text | No | {input} | Base64-encoded file content to upload. |
| MIME Type | Text | No | text/plain | MIME type of the file being uploaded. Options: text/plain, text/csv, application/json, application/pdf, image/png, image/jpeg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
| Folder ID | Text | No | (empty) | ID of the destination folder (leave empty for My Drive root). |
Outputs#
| Output | Type |
|---|---|
| File Id | Any |
| Name | Any |
| Mime Type | Any |
| Size | Any |
| Web View Link | Any |
| Created Time | Any |
| Modified Time | Any |
| Parents | Any |
Use as an agent tool#
Tool name: driveuploadfile
Upload a file to Google Drive from base64-encoded content.