Google Drive
Create, upload, and list files
Configuration
Create Folder
Operation
Create Folder
Google Drive Account*
Select Google Drive account
Or Enter File ID Manually
ID of the file to get content from
Folder Name*
Name for the new folder
Select Parent Folder
Select a parent folder
Parent Folder ID
Enter parent folder ID (leave empty for root folder)
Create Folder (
google_drive_create_folder)Create a new folder in Google Drive
Input
| 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 |
folderId | string | No | ID of the parent folder (internal use) |
Output
Refer to the block outputs for this operation.
Create File
Operation
Create File
Google Drive Account*
Select Google Drive account
Or Enter File ID Manually
ID of the file to get content from
File Name*
Name of the file (e.g., document.txt)
Text Content*
Text content for the file
MIME Type
Select file type
Select Parent Folder
Select a parent folder
Parent Folder ID
Enter parent folder ID (leave empty for root folder)
Output
| Parameter | Type | Description |
|---|---|---|
file | json | File data |
files | json | Files list |
Upload File
Operation
Upload File
Google Drive Account*
Select Google Drive account
Or Enter File ID Manually
ID of the file to get content from
File Name*
Name of the file (e.g., document.txt)
Upload File
Upload a file to Google Drive
File Reference
Reference file from previous block (e.g., {{block_name.file}})
Select Parent Folder
Select a parent folder
Parent Folder ID
Enter parent folder ID (leave empty for root folder)
Upload File (
google_drive_upload)Upload a file to Google Drive
Input
| 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) |
mimeType | string | No | The MIME type of the file to upload (auto-detected from file if not provided) |
folderSelector | string | No | Select the folder to upload the file to |
folderId | string | No | The ID of the folder to upload the file to (internal use) |
Output
Refer to the block outputs for this operation.
List Files
Operation
List Files
Google Drive Account*
Select Google Drive account
Or Enter File ID Manually
ID of the file to get content from
Select Folder
Select a folder to list files from
Folder ID
Enter folder ID (leave empty for root folder)
Search Query
Search for specific files (e.g., name contains "report")
Results Per Page
Number of results (default: 100, max: 1000)
List Files (
google_drive_list)List files and folders in Google Drive
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
folderSelector | string | No | Select the folder to list files from |
folderId | string | No | The ID of the folder to list files from (internal use) |
query | string | No | A query to filter the files |
pageSize | number | No | The number of files to return |
pageToken | string | No | The page token to use for pagination |
Output
Refer to the block outputs for this operation.
Usage Instructions
Integrate Google Drive into the workflow. Can create, upload, and list files.
Notes
- Category:
tools - Type:
google_drive