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

Productivity Activities

Last updated Sep 3, 2025

Get File or Folder Info

UiPath.GSuite.Activities.GetFileFolderInfoConnections

Description

Returns information about a file or folder, including its name, size, and type.

Scopes

This activity requires the following scopes:

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

OR

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

OR

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

OR

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

OR

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

OR

  • 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 - The file or folder for which the information will be retrieved.

    Select the plus icon to choose from the following input options:

    • URL or ID - The initial field changes to File or folder URL or ID, where you can provide the URL or ID of the file or folder.
    • Use File or Folder Variable - Enter a variable for the file or folder. This field accepts input of type IResource.
    • Full Path - The initial field changes to Full file or folder path, where you can provide the full path of the file or folder.
    • Relative Path - The following fields appear:
      • Parent folder - Specify the parent folder. Browse the Drive folders and select a folder. This field accepts input of type IResource.
      • File or folder relative file - Specify the relative file or folder path to the parent folder, including the name and extension. This field accepts input of type String.
    • Reload File or Folder Data - Select this option only if you have modified your folders and need to retrieve the latest data.

Properties

Output
  • File or folder information - The details of the specified file or folder returned as a GSuite object.

  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

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