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#

FieldTypeRequiredDefaultWhat it does
Allowed DirectoriesChoiceNo—Restrict this step to specific Google Drive directories. If empty, all directories are accessible.
File NameTextYes(empty)Name of the file to create (include extension, e.g. report.txt).
ContentTextNo{input}Text content to write to the file.
MIME TypeTextNotext/plainMIME type of the file. Options: text/plain, text/csv, application/json, text/html, text/markdown
Folder IDTextNo(empty)ID of the parent folder (leave empty for My Drive root).

Outputs#

OutputType
File IdAny
NameAny
Mime TypeAny
Web View LinkAny
Created TimeAny
Modified TimeAny
ParentsAny

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#

FieldTypeRequiredDefaultWhat it does
Allowed DirectoriesChoiceNo—Restrict this step to specific Google Drive directories. If empty, all directories are accessible.
Folder NameTextYes{input}Name of the folder to create.
Parent Folder IDTextNo(empty)ID of the parent folder (leave empty to create in My Drive root).

Outputs#

OutputType
Folder IdAny
NameAny
Web View LinkAny
Created TimeAny
Modified TimeAny
ParentsAny

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#

FieldTypeRequiredDefaultWhat it does
Allowed DirectoriesChoiceNo—Restrict this step to specific Google Drive directories. If empty, all directories are accessible.
File IDTextYes{input}The Google Drive file ID or URL to delete.
Permanent DeleteYes/NoNoOffIf true, permanently delete the file. Default is soft delete (move to trash).

Outputs#

OutputType
File IdAny
StatusAny

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#

FieldTypeRequiredDefaultWhat it does
Allowed DirectoriesChoiceNo—Restrict this step to specific Google Drive directories. If empty, all directories are accessible.
File IDTextYes(empty)The Google Drive file ID or URL.

Outputs#

OutputType
File IdAny
NameAny
Mime TypeAny
SizeAny
Created TimeAny
Modified TimeAny
Web View LinkAny
Thumbnail LinkAny
ParentsAny
DescriptionAny

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#

FieldTypeRequiredDefaultWhat it does
Allowed DirectoriesChoiceNo—Restrict this step to specific Google Drive directories. If empty, all directories are accessible.
Folder IDTextNo(empty)The Google Drive folder ID or URL. Leave empty for root (My Drive).
Max ResultsNumberNo100Maximum number of results to return (1-1000).

Outputs#

OutputType
FilesAny
CountAny
Folder IdAny

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#

FieldTypeRequiredDefaultWhat it does
Allowed DirectoriesChoiceNo—Restrict this step to specific Google Drive directories. If empty, all directories are accessible.
File IDTextYes(empty)The Google Drive file ID or URL.
OffsetNumberNo00-based line number to start reading from.
LimitNumberNo500Maximum number of lines to return.

Outputs#

OutputType
ContentAny
File IdAny
NameAny
Mime TypeAny
ConvertedAny
SizeAny
Total LinesAny
OffsetAny
LimitAny
MetadataAny

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#

FieldTypeRequiredDefaultWhat it does
Allowed DirectoriesChoiceNo—Restrict this step to specific Google Drive directories. If empty, all directories are accessible.
Search QueryTextYes(empty)Google Drive search query (e.g., “name contains ‘report’” or “mimeType=‘application/pdf’”).
Max ResultsNumberNo100Maximum number of results to return (1-1000).

Outputs#

OutputType
FilesAny
CountAny
QueryAny

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#

FieldTypeRequiredDefaultWhat it does
Allowed DirectoriesChoiceNo—Restrict this step to specific Google Drive directories. If empty, all directories are accessible.
File IDTextYes(empty)The Google Drive file ID or URL.
New NameTextNo(empty)New name for the file (leave empty to keep current name).
DescriptionTextNo{input}New description for the file (leave empty to keep current description).
StarredYes/NoNo—Whether to star the file.

Outputs#

OutputType
File IdAny
NameAny
Mime TypeAny
DescriptionAny
StarredAny
Modified TimeAny
Web View LinkAny

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#

FieldTypeRequiredDefaultWhat it does
Allowed DirectoriesChoiceNo—Restrict this step to specific Google Drive directories. If empty, all directories are accessible.
File NameTextYes(empty)Name of the file to upload (include extension).
File Content (base64)TextNo{input}Base64-encoded file content to upload.
MIME TypeTextNotext/plainMIME 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 IDTextNo(empty)ID of the destination folder (leave empty for My Drive root).

Outputs#

OutputType
File IdAny
NameAny
Mime TypeAny
SizeAny
Web View LinkAny
Created TimeAny
Modified TimeAny
ParentsAny

Use as an agent tool#

Tool name: driveuploadfile

Upload a file to Google Drive from base64-encoded content.