Help Centre › Functions & 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:
- Navigate to the process where you would like to add the Google Drive Download file function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the Google Drive Download file option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File ID | Yes | Text | - | The file ID to download |
| Local file path | Yes | Text | - | Local file path to save the downloaded file |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| File not found | The specified file ID does not exist |
| Permission denied | Insufficient permissions to download the file |
| Cannot download | Google 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