Google Drive Upload

Upload a file to a specific folder in Google Drive

Google Drive Upload

AI-generated

Summary

Uploads each input item’s binary file to Google Drive using OAuth2, placing it in the selected folder. Uses the supplied file name or the binary file’s original name, and returns the Drive API response for each item.

Inputs

  • Authentication — OAuth2 authentication; this is the only declared option and defaults to OAuth2. A Google Drive OAuth2 credential is required.
  • Input Data Field Name (required) — Name of the incoming binary property to upload; defaults to data.
  • File Name — Optional name for the uploaded file. If empty, uses the binary file’s original name, falling back to file if none is available.
  • Folder ID — Destination folder ID; defaults to root for the Drive root folder.
  • Simplify Output — Defaults to true. Requests only id, name, webViewLink, and webContentLink from Drive; when false, requests all response fields.

Output shape

One output item per input item, each containing the Google Drive API response in json.

Successful outputs include an empty binary object. If Continue On Fail is enabled, a failed item instead contains an error message in json; otherwise the operation throws the error.

Links

Discussion