Drive
Google integration · 10 node(s).
00Overview
Google Drive file storage and management
Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.
01Connecting Drive
Add your credentials as a Flomation environment secret, then pick them in each node. The connection fields are:
${secrets.your_secret}.02Copy
Copy Drive File
google/drive/copy · Action
Copy a file in Google Drive
| Field | Type | Details | |
|---|---|---|---|
| File ID | string | Required | |
| New Name | string | ||
| Destination Folder ID | string | ||
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, new_file_id, file, success, error
03Create
Create Drive Folder
google/drive/create_folder · Action
Create a new folder in Google Drive
| Field | Type | Details | |
|---|---|---|---|
| Folder Name | string | Required | |
| Parent Folder ID | string | root | |
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, folder_id, web_link, success, error
04Delete
Delete Drive File
google/drive/delete · Action
Delete or trash a file in Google Drive
| Field | Type | Details | |
|---|---|---|---|
| File ID | string | Required | |
| Permanently Delete | boolean | ||
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, success, error
05Download
Download Drive File
google/drive/download · Action
Download or export a file from Google Drive
| Field | Type | Details | |
|---|---|---|---|
| File ID | string | Required | |
| Export Format (for Google files) | string | choices: Plain Text, PDF, CSV (Sheets), DOCX (Docs), XLSX (Sheets), HTML | |
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, content, content_base64, mime_type, success, error
06Get
Get Drive File
google/drive/get_file · Action
Get metadata for a Google Drive file
| Field | Type | Details | |
|---|---|---|---|
| File ID | string | Required | |
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, file, name, mime_type, size, web_link, success, error
07List
List Drive Files
google/drive/list_files · Action
List files and folders in Google Drive
| Field | Type | Details | |
|---|---|---|---|
| Folder ID | string | root | |
| Drive Query Filter | string | name contains 'report' | |
| Max Results | integer | 20 | |
| Include Trashed | boolean | ||
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, files, count, success, error
08Move
Move Drive File
google/drive/move · Action
Move a file to a different folder in Google Drive
| Field | Type | Details | |
|---|---|---|---|
| File ID | string | Required | |
| Destination Folder ID | string | Required | |
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, file, success, error
09Search
Search Drive
google/drive/search · Action
Search for files in Google Drive
| Field | Type | Details | |
|---|---|---|---|
| File Name (contains) | string | report | |
| File Type | string | choices: Any, Document, Spreadsheet, Presentation, Folder, PDF | |
| Content Contains | string | keyword | |
| Search Scope | string | choices: Everything I can access (default), My Drive only, Shared with me only, Shared drives only | |
| Max Results | integer | 20 | |
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, files, count, success, error
10Share
Share Drive File
google/drive/share · Action
Share a Google Drive file with a user or make it public
| Field | Type | Details | |
|---|---|---|---|
| File ID | string | Required | |
| Email Address | string | ||
| Role | string | choices: Viewer, Commenter, Editor, Owner | |
| Permission Type | string | choices: User, Group, Domain, Anyone (public) | |
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, permission, success, error
11Upload
Upload to Drive
google/drive/upload · Action
Upload a file to Google Drive
| Field | Type | Details | |
|---|---|---|---|
| File Name | string | Required | report.txt |
| Text Content | text | ||
| Binary Content (base64) | string | ||
| MIME Type | string | text/plain | |
| Destination Folder ID | string | ||
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, file_id, file, web_link, success, error
12Notes & Limitations
Behaviours and constraints worth knowing before you build with these nodes.
- Every action targets a file by its
File IDrather than its name or folder path, so run a Search or List step first to resolve the ID before copying, moving, sharing or deleting. - Deleting a file moves it to the Trash and stays recoverable by default; only enable Permanently Delete when you intend an irreversible removal.
- Google-native files such as Docs, Sheets and Slides cannot be downloaded in their raw form and must be exported to a chosen Export Format, whereas ordinary uploaded files ignore that field and download as-is.
- Sharing with the
anyonepermission type makes the file reachable by everyone who has the link, so reserve it for content that is safe to expose publicly. - Newly uploaded or edited files can take a short while to be indexed, so they may not appear immediately in content-based Search results.
- Copy duplicates individual files only; folders and their contents are not copied recursively.