Download file from Google Drive
Downloads a file from Google Drive. Google Workspace documents will be converted to their Microsoft Office counterparts. For example, if you download a Google Sheet spreadsheet you will receive an Excel .xlsx file as an output.
Application
- Google Drive
Inputs (what you have)
| Name | Description | Data Type | Required? | Example |
|---|---|---|---|---|
| File link | Link to the file in Google Drive | Url | Yes | https://docs.google.com/spreadsheets/d/1eQ |
Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.
Outputs (what you get)
| Name | Description | Data Type | Required | Example |
|---|---|---|---|---|
| Google Drive downloaded file | The downloaded Google Drive file | file | Yes | |
| File name | Name of the file downloaded from Google Drive | Text(Short) | Yes | MySpreadsheet.xlsx |
Google Workspace file type conversions
| Google Workspace File Type | Converted file type |
|---|---|
| Google Docs document | Microsoft Word (.docx) |
| Google Sheets spreadsheet | Microsoft Excel (.xlsx) |
| Google Slides presentation | Microsoft Powerpoint (.pptx) |
| Google Drawing | |
| Google Script | JSON |
Outcomes
| Name | Description |
|---|---|
| Success | This status is selected if the file is successfully downloaded to the Wrkflow |
| No Result | This status is selected in the event of the following scenarios:No file exists with the provided link. |
| Impossible to Complete | This status is selected in the event of the following scenarios:The external system is not accessibleThe Google Drive link provided is not validThe credentials do not have access to the Google Drive link provided |
Requirements
- Editing permissions to
googlewrkbots@wrk.comshould be given to source folders-
If the file is nested in multiple folders editing permission to
googlewrkbots@wrk.comshould be given to every folder
-