Upload File to Google Drive

Uploads a file to Google Drive (including Shared Drives), with automatic MIME type detection, folder selection, and optional overwrite of existing files.

Inputs

NameTypeDescription
Credentials JSONCredentialsGoogle Service Account credentials (JSON). Optional if the Flow uses OAuth.
File URLStringPublic or presigned URL to download and upload via streaming.
File NameStringFile name including extension, e.g. image.png or report.pdf.
Folder IDStringDestination folder ID (required).

Outputs

NameTypeDescription
SuccessBooleanWhether the operation succeeded
File IDStringID of the file created in Google Drive.
File URLStringWeb view URL of the uploaded file.
File NameStringName of the uploaded file.

References