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

Productivity activities

Last updated Feb 19, 2026

Get File Labels

UiPath.GSuite.Activities.GetFileLabelConnections

Gets Drive labels from a selected file together with label fields and their value.

Labels are not supported for the following file types: Folders, Links, Shared Drives, Files, and Shortcuts owned by another organisation.

Note:

This activity can be used if you create the Google Drive connection using the Bring your own OAuth 2.0 app authentication method and define a drive.labels.readonly scope. If you want to use the public UiPath application, add the activity inside Google Workspace Scope and select the drive.labels.readonly scope.

Scopes

This activity requires the following scopes:

OR

Project compatibility

Windows | Cross-platform

Configuration

  • Google Drive connection - The connection for the Google Workspace account to use in the activity.
  • File - The file to retrieve labels from. This field supports IResource variables. Click the Folder docs image icon to browse Google Drive files.
    • Use the See more docs image button menu to use a variable or select the Reload Folder Data option if you've modified your folders and need to retrieve the latest data.
    • URL or ID - The URL or ID of the file to retrieve labels from. The ID can be found as a property in a previous Drive file or in the file URL. This field supports String type input
  • Labels - The list of labels retrieved from a file, stored in an output variable.
  • Scopes
  • 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-2026 UiPath. All rights reserved.