1. Support
  2. Integrations
  3. Drive
Google 10 nodes

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:

FieldTypeDetails
Google Account (email)string
Google OAuth Credentialcredential${credentials.GOOGLE_DRIVE}
Good to know

Connect the Google account to your Flomation user once — the same grant covers every Google node, so you do not repeat it per flow. The optional Google OAuth Credential field never shows a token: it references a managed credential (e.g. ${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

FieldTypeDetails
File IDstringRequired
New Namestring
Destination Folder IDstring

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

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

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

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

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

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

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

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)

Returns: tool_result, permission, success, error

11Upload

Upload to Drive

google/drive/upload · Action

Upload a file to Google Drive

FieldTypeDetails
File Name (optional — defaults to the uploaded file's own name)stringreport.txt
Text Contenttext
Binary content (base64, blob or file reference)string
MIME Typestringtext/plain
Destination Folder IDstring

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.