Activities
latest
false
Banner background image
Productivity Activities
Last updated Apr 26, 2024

Get File or Folder

UiPath.GSuite.Activities.GetFileFolderConnections

Description

Retrieves a file or folder from Google Drive to use in other activities.

Scopes

This activity requires the following scopes:

  • https://www.googleapis.com/auth/drive.readonly
  • https://www.googleapis.com/auth/drive.appdata
  • https://www.googleapis.com/auth/drive.metadata
  • https://www.googleapis.com/auth/drive.metadata.readonly
  • https://www.googleapis.com/auth/drive.photos.readonly
  • https://www.googleapis.com/auth/drive

Project compatibility

Windows | Cross-platform

Configuration

  • Google Drive connection - The connection for the Google Workspace account to use in the activity.
  • File or folder - Select a file or folder. The method to specify the file or folder to be retrieved: File or folder picker, Url or ID, Full path, Relative path.
    • File or folder picker option:

      • File or folder - The location of the file or folder to be retrieved. Browse the Google Drive folders and select a file or folder. This field accepts IResource input.
    • Url or ID option:
      • URL input: Open the file or folder in the browser and retrieve its full URL. This property supports String variables and string formatted values.
      • ID input: Open the file or folder in the browser and retrieve its ID from the URL. This property supports String variables and string formatted values.


    • Full path option:
      • Full file or folder path - Specify the full path of the file or folder, including the name and extension. This property supports String variables and string formatted values.
    • Relative path option:
      • Relative file or folder path - Specify the relative file/folder path to the parent folder, including the name and extension. This property supports String variables and string formatted values.
    • Select the Reload File Picker option if you've modified your folders and need to retrieve the latest data.

Additional options

Output

  • File or folder - The file or folder returned by the activity. Automatically generated output variable. You can use it as it is or save it with a different name. You can use this in other activities, such as Share File/Folder.

Example



See also:
  • Description
  • Project compatibility
  • Configuration
  • Example

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.