Skip to main content

Upload file to Google Drive

Uploads an existing file into Google Drive for files up to 100 MB in size.

Common use cases

  • Data Manipulation
  • Data Management

Application

  • Google Drive

Inputs (what you have)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
Destination folder LinkLink of the destination of the folder where the file will be uploaded toURLYeshttps://drive.google.com/drive/folders/1F
File nameName of the file to uploadTextYesFile1
New file nameNew name to upload the file asTextNoNewFile
Convert file to Google App ​Attempts to convert text files and Microsoft Office files into the equivalents Google Apps ​True/False ​No ​True ​

Note: The value of the input fields can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data Library. These variables in the Data Library are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
File linkLink to the file in Google DriveURLYeshttps://google/drive/yG7s

Outcomes

NAMEDESCRIPTION
SuccessThis status is selected if the file was successfully uploaded onto the specified Google Drive folder, and the provided link can be used to directly access the file
UnsuccessfulThis status is selected in the event of the following scenarios: - Fail to login to account- Application site is down- The link to Google Drive is missing or broken- There is no file in the Data Library to upload

Requirements

  • Editing permissions to googlewrkbots@wrk.com should be given to destination folders
    • If the file is nested in multiple folders editing permission to googlewrkbots@wrk.com should be given to every folder