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
Drive signs in with a Google account you connect to Flomation — there is no API key or secret to paste. Connect the account once and every Drive node picks it up automatically. Two optional fields let you steer it:
| Field | Type | Details | |
|---|---|---|---|
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
${credentials.GOOGLE_DRIVE}), not an environment secret. Leave both fields blank and the node just uses your connected account.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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) |
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, blob or file reference) | string | ||
| MIME Type | string | text/plain | |
| Destination Folder ID | string |
Returns: tool_result, file_id, file, web_link, success, error
12Notes & Limitations
Behaviours and constraints worth knowing before you build with these nodes.
- When you share a file with a specific user or group, the action always sends that recipient a notification email, and there is no option to suppress it.
- List Drive Files and Search Drive each return a single page of at most 100 results per run — a Max Results above 100 is capped and no further pages are fetched — so tighten the request with a folder, name, or type filter instead of relying on a large limit.
- If the Google Account field is left blank while several accounts are connected, the action uses the first connected account rather than prompting, so name the account explicitly whenever the target account matters.
- The Content Contains filter in Search matches against Google's full-text index, which updates only after a short delay, so a file whose contents were just uploaded or edited may not appear in content searches right away.
- The Export Format setting affects only Google-native files such as Docs, Sheets, and Slides — which export as plain text when no format is chosen — while ordinary files like PDFs and images always download in their original format and ignore the setting.
- By default both listing and searching span My Drive, items shared with you, and shared drives, so results can include files you do not own; use the Search Scope options to restrict a search, or a Folder ID to limit a listing.