Tools
Google Drive
Create, upload, and list files
Integrate Google Drive into the workflow. Can create, upload, and list files.
Upload a file to Google Drive
| Parameter | Type | Required | Description |
|---|
fileName | string | Yes | The name of the file to upload |
file | file | No | Binary file to upload (UserFile object) |
content | string | No | Text content to upload (use this OR file, not both) |
folderSelector | string | No | Select the folder to upload the file to |
| Parameter | Type | Description |
|---|
file | json | Uploaded file metadata including ID, name, and links |
Create a new folder in Google Drive
| Parameter | Type | Required | Description |
|---|
fileName | string | Yes | Name of the folder to create |
folderSelector | string | No | Select the parent folder to create the folder in |
| Parameter | Type | Description |
|---|
file | json | Created folder metadata including ID, name, and parent information |
Download a file from Google Drive (exports Google Workspace files automatically)
| Parameter | Type | Required | Description |
|---|
fileId | string | Yes | The ID of the file to download |
fileName | string | No | Optional filename override |
| Parameter | Type | Description |
|---|
file | file | Downloaded file stored in execution files |
List files and folders in Google Drive
| Parameter | Type | Required | Description |
|---|
folderSelector | string | No | Select the folder to list files from |
query | string | No | Search term to filter files by name (e.g. "budget" finds files with "budget" in the name). Do NOT use Google Drive query syntax here - just provide a plain search term. |
pageSize | number | No | The maximum number of files to return (default: 100) |
| Parameter | Type | Description |
|---|
files | json | Array of file metadata objects from the specified folder |
- Category:
tools
- Type:
google_drive