Google Workspace: Upload a file to Google Drive

Upload a file to Google Drive.

Help Centre › Functions & Formulas

Upload a file to Google Drive.

Add it to a process

In the process designer, open the Add step tab. Find Upload a file to Google Drive under Google Workspace › Drive, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
KeyNoName for the file in Google Drive (defaults to the local file name)
PathYesLocal file path of the file to upload
Folder idNoGoogle Drive ID of the destination folder
VariableNoName of the variable where the result will be stored

See all Google Workspace steps.

Errors

ErrorDescription
File not foundThe local file path does not exist
Permission deniedInsufficient permissions to upload
Storage fullGoogle Drive storage quota exceeded

Tips

  • Use variables like {folder::desktop::path}\filename.ext for the local path
  • The returned file ID can be used with other Google Drive functions
  • Google Drive allows multiple files with the same name in the same folder

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.