Google Drive

Create, upload, and list files

Configuration

Create Folder

Operation
Create Folder
Google Drive Account*
Select Google Drive account
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
ParameterTypeRequiredDescription
fileNamestringYesName of the folder to create
folderIdstringNoID of the parent folder
Output
ParameterTypeDescription
filejsonCreated folder metadata including ID, name, and parent information

Create File

Operation
Create File
Google Drive Account*
Select Google Drive account
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)
Create File (google_drive_upload)

Upload a file to Google Drive

Input
ParameterTypeRequiredDescription
fileNamestringYesThe name of the file to upload
filefileNoBinary file to upload (UserFile object)
contentstringNoText content to upload (use this OR file, not both)
folderIdstringNoThe ID of the folder to upload the file to
Output
ParameterTypeDescription
filejsonUploaded file metadata including ID, name, and links

Upload File

Operation
Upload File
Google Drive Account*
Select Google Drive account
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
ParameterTypeRequiredDescription
fileNamestringYesThe name of the file to upload
filefileNoBinary file to upload (UserFile object)
contentstringNoText content to upload (use this OR file, not both)
folderIdstringNoThe ID of the folder to upload the file to
Output
ParameterTypeDescription
filejsonUploaded file metadata including ID, name, and links

List Files

Operation
List Files
Google Drive Account*
Select Google Drive account
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
ParameterTypeRequiredDescription
folderIdstringNoThe ID of the folder to list files from
querystringNoA query to filter the files
pageSizenumberNoThe number of files to return
Output
ParameterTypeDescription
filesjsonArray of file metadata objects from the specified folder

Usage Instructions

Integrate Google Drive into the workflow. Can create, upload, and list files.

Notes

  • Category: tools
  • Type: google_drive