Skip to main content
Upload file to Google Drive
Wrk Product avatar
Written by Wrk Product
Updated over a week ago

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)

NAME

DESCRIPTION

TYPE

REQUIRED

EXAMPLE

Destination folder Link

Link of the destination of the folder where the file will be uploaded to

URL

Yes

https://drive.google.com/drive/folders/1F

File name

Name of the file to upload

Text

Yes

File1

New file name

New name to upload the file as

Text

No

NewFile

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)

NAME

DESCRIPTION

TYPE

REQUIRED

EXAMPLE

File link

Link to the file in Google Drive

URL

Yes

https://google/drive/yG7s


Outcomes

NAME

DESCRIPTION

Success

This 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

Unsuccessful

This 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

Did this answer your question?