Google Drive Download file function

The Google Drive Download file function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Drive functionality to download a file.

For a full list of available functions, please read Google Drive functions.


Description

The Google Drive Download file function downloads a file from Google Drive to a local path on the bot machine.


Setting it up

To use the Google Drive Download file function, follow these instructions:

{{popups:rpas/add:action=google-workspace-drive-download}}

Once on a process map:

  1. Navigate to the process where you would like to add the Google Drive Download file function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the Google Drive Download file option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
File IDYesText-The file ID to download
Local file pathYesText-Local file path to save the downloaded file

Output variables

This action does not produce output variables.


Errors

ErrorDescription
File not foundThe specified file ID does not exist
Permission deniedInsufficient permissions to download the file
Cannot downloadGoogle Workspace files cannot be downloaded directly (use Export instead)

Tips

  • For Google Docs, Sheets, or Slides, use Export file instead
  • Use variables like {folder::desktop::path}\filename.ext for the local path

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.