Download File

google_drive.download_file
ActionFiles & storageconnection required

Calls Drive files.get?alt=media, capped by MANTLE_BINARY_MAX_BYTES.

Download a Drive file's content as a file blob (base64 envelope).

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Drive
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
token_uri
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
file_id
The Drive file id.
stringYes———

Output

One shape.

result

FieldTypeExample
ok
boolean—
file_id
string—
file_content
The file, base64-encoded.
string—
content_encoding
stringbase64
filename
stringapp-main.zip
content_type
stringapplication/zip
size
Raw size in bytes (before base64).
number—
{
  "content_encoding": "base64",
  "content_type": "application/zip",
  "file_content": "",
  "file_id": "",
  "filename": "app-main.zip",
  "ok": false,
  "size": 0
}

See Download File run in a workflow.

In a technical demo we add the Google Drive connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.