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:

i
Pick an Environment on your flow (Flow Settings → Environment) so the secret resolves. Secret fields never show the value — they reference ${secrets.your_secret}.

02Copy

Copy Drive File

google/drive/copy · Action

Copy a file in Google Drive

FieldTypeDetails
File IDstringRequired
New Namestring
Destination Folder IDstring
Google Account (email)string
Google OAuth Credentialcredential${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

FieldTypeDetails
Folder NamestringRequired
Parent Folder IDstringroot
Google Account (email)string
Google OAuth Credentialcredential${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

FieldTypeDetails
File IDstringRequired
Permanently Deleteboolean
Google Account (email)string
Google OAuth Credentialcredential${credentials.GOOGLE_DRIVE}

Returns: tool_result, success, error

05Download

Download Drive File

google/drive/download · Action

Download or export a file from Google Drive

FieldTypeDetails
File IDstringRequired
Export Format (for Google files)stringchoices: Plain Text, PDF, CSV (Sheets), DOCX (Docs), XLSX (Sheets), HTML
Google Account (email)string
Google OAuth Credentialcredential${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

FieldTypeDetails
File IDstringRequired
Google Account (email)string
Google OAuth Credentialcredential${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

FieldTypeDetails
Folder IDstringroot
Drive Query Filterstringname contains 'report'
Max Resultsinteger20
Include Trashedboolean
Google Account (email)string
Google OAuth Credentialcredential${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

FieldTypeDetails
File IDstringRequired
Destination Folder IDstringRequired
Google Account (email)string
Google OAuth Credentialcredential${credentials.GOOGLE_DRIVE}

Returns: tool_result, file, success, error

google/drive/search · Action

Search for files in Google Drive

FieldTypeDetails
File Name (contains)stringreport
File Typestringchoices: Any, Document, Spreadsheet, Presentation, Folder, PDF
Content Containsstringkeyword
Search Scopestringchoices: Everything I can access (default), My Drive only, Shared with me only, Shared drives only
Max Resultsinteger20
Google Account (email)string
Google OAuth Credentialcredential${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

FieldTypeDetails
File IDstringRequired
Email Addressstring
Rolestringchoices: Viewer, Commenter, Editor, Owner
Permission Typestringchoices: User, Group, Domain, Anyone (public)
Google Account (email)string
Google OAuth Credentialcredential${credentials.GOOGLE_DRIVE}

Returns: tool_result, permission, success, error

11Upload

Upload to Drive

google/drive/upload · Action

Upload a file to Google Drive

FieldTypeDetails
File NamestringRequiredreport.txt
Text Contenttext
Binary Content (base64)string
MIME Typestringtext/plain
Destination Folder IDstring
Google Account (email)string
Google OAuth Credentialcredential${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.