Upload File to Google Drive

Last published at: May 14th, 2024

Description:

Send (Upload file to GoogleDrive)

Inputs

  • selOAuthProvider - Select OAuth provider
  • sourcePath - Path of the source file to be uploaded
  • destinationFilePath - Path to save the file in server 

Returns

  • True – step executed successfully
  • False – step failed to execute 

Usage:

To use this step, google drive should be configured using Flowwright oAuth connections.

Example:

Let’s build and execute the googleDriveSendFileDef example.          

  • Create a new definition called “googleDriveSendFileDef
  • Select the definition and click the “design” button
  • Drag a googleDriveSendFile step from the toolbox
  • Connect the dots between the start and googleDriveSendFile step 

  • Click on the “googleDriveSendFile” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic
  • Save the workflow definition, create a workflow instance and execute. Step should upload/Send file to googledrive.