Skip to main content
Base Node Google Drive Upload node inspector modal

Parameters

File Name
string
default:"untitled"
required
Base name of the file to create in Google Drive. Extension will be appended automatically based on Format.
Format
txt | pdf | json | csv
default:"txt"
required
File format used to set the upload MIME type (text/plain, application/pdf, application/json, or text/csv).
File Content
bytes
default:"b''"
required
Fallback file bytes to upload when no input arrives on the input port.

Credentials

Google OAuth Credential
Google OAuth Credential
required
Select a Google OAuth Credential with Google Drive upload access.

Inputs

Input
bytes
Optional file bytes to upload. When present, this input overrides the File Content parameter.

Outputs

Output
json
A JSON object describing the uploaded Google Drive file.
FieldDescription
file_idGoogle Drive file ID.
file_nameFinal file name reported by Google Drive.
mime_typeMIME type used for the upload.
web_view_urlBrowser URL to view the file when returned by Google Drive.
web_content_urlDirect content/download URL when returned by Google Drive.