Skip to main content

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)

NameDescriptionData TypeRequired?Example
File linkLink to the file in Google DriveUrlYeshttps://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)

NameDescriptionData TypeRequiredExample
Google Drive downloaded fileThe downloaded Google Drive filefileYes
File nameName of the file downloaded from Google DriveText(Short)YesMySpreadsheet.xlsx

Google Workspace file type conversions

Google Workspace File TypeConverted file type
Google Docs documentMicrosoft Word (.docx)
Google Sheets spreadsheetMicrosoft Excel (.xlsx)
Google Slides presentationMicrosoft Powerpoint (.pptx)
Google DrawingPDF
Google ScriptJSON

Outcomes

NameDescription
SuccessThis status is selected if the file is successfully downloaded to the Wrkflow
No ResultThis status is selected in the event of the following scenarios:No file exists with the provided link.
Impossible to CompleteThis 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.com should be given to source folders
    • If the file is nested in multiple folders editing permission to googlewrkbots@wrk.com should be given to every folder