activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity Activities

Last updated Dec 17, 2024

Upload File

UiPath.GSuite.Activities.UploadFile

Description

Uploads the specified file to Google Drive.

Scopes

This activity requires the following scopes:

  • https://www.googleapis.com/auth/drive

OR

  • https://www.googleapis.com/auth/drive.appdata

Project compatibility

Windows - Legacy | Windows

Configuration

In the Body of the Activity
  • Local file - The local path of the file that you want to upload. This property supports String variables and string formatted values.
  • Destination folder - The Drive folder where you want to upload the file. This property supports String variables and string formatted values. When entering your value, use the exact Folder ID, or the output property variable from a previous Find Files And Folders or Create Folder activity.
  • Overwrite existing - If selected, any file with the same name as the source file that already exists in the destination location is replaced when the automation is executed.
  • Convert to Google Workspace file type - Indicates whether to convert the uploaded file into a Google Workspace file type, such as a Google document or spreadsheet. By default, this option is not selected.
  • New file ID - The file ID resulting from the upload.
Properties Panel

Common

  • ContinueOnError - If set, the remaining activities are executed if the current activity fails. This field supports Boolean values.
  • DisplayName - The display name of the activity. This property supports String variables and string formatted values.

Input

  • LocalFilePath - See Local file in the body of the activity.
  • ParentID - See Destination folder in the body of the activity.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports Boolean values.

Options

  • Update - See Overwrite in the body of the activity.

Output

  • FileID - See New File ID in the body of the activity.
  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.