Connect Google Drive to search, upload, and manage files from your workflows.
Authentication: OAuth 2.0. Connect your Google account on the integrations page. Uses the same Google connection as other Google services.
Actions
Search Files
Searches for files in Google Drive.
| Input | Required | Description |
|---|---|---|
| Query | Yes | Search query (supports Drive query syntax, e.g. name contains 'report') |
| Output | Type | Description |
|---|---|---|
files | array | Matching file objects with id, name, mimeType, webViewLink |
Get File
Retrieves metadata for a specific file.
| Input | Required | Description |
|---|---|---|
| File ID | Yes | Google Drive file ID |
| Output | Type | Description |
|---|---|---|
file | object | File metadata including id, name, mimeType, size, createdTime, modifiedTime |
Upload File
Uploads a file to Google Drive.
| Input | Required | Description |
|---|---|---|
| File | Yes | The file to upload |
| File Name | Yes | Name to give the file in Drive |
| Parent Folder ID | No | ID of the folder to upload into (defaults to root) |
| MIME Type | No | File type (inferred from file if not specified) |
| Output | Type | Description |
|---|---|---|
fileId | string | ID of the uploaded file |
webViewLink | string | URL to view the file |
Copy File
Creates a copy of an existing file.
| Input | Required | Description |
|---|---|---|
| File ID | Yes | File to copy |
| Name | No | Name for the copy |
| Parent Folder ID | No | Target folder |
| Output | Type | Description |
|---|---|---|
fileId | string | ID of the new copy |
Create Folder
Creates a new folder in Google Drive.
| Input | Required | Description |
|---|---|---|
| Name | Yes | Folder name |
| Parent Folder ID | No | Parent folder (defaults to root) |
| Output | Type | Description |
|---|---|---|
folderId | string | ID of the created folder |
Get Folder
Retrieves a folder by ID.
| Input | Required | Description |
|---|---|---|
| Folder ID | Yes | Folder ID |
| Output | Type | Description |
|---|---|---|
folder | object | Folder info |
List Files in Folder
Lists files within a specific folder.
| Input | Required | Description |
|---|---|---|
| Folder ID | Yes | ID of the folder to list |
| Output | Type | Description |
|---|---|---|
files | array | File objects in the folder |
Get File Metadata
Returns detailed metadata for a file (same as Get File but emphasizes metadata fields).
| Input | Required | Description |
|---|---|---|
| File ID | Yes | File ID |
| Output | Type | Description |
|---|---|---|
metadata | object | Detailed file metadata |
Get Recent Files
Returns recently modified files.
| Output | Type | Description |
|---|---|---|
files | array | Recently modified file objects |
Get Current User
Returns information about the authenticated Google account.
| Output | Type | Description |
|---|---|---|
user | object | User info with email, displayName |
Was this page helpful?