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

Productivity activities

Last updated Feb 19, 2026

Delete File or Folder

UiPath.GSuite.Activities.DeleteFileOrFolderConnections

Description

Deletes a file or folder on Google Drive.

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 or folder to delete - The file or folder to be deleted. Use the See more button menu to switch to Use variable (IResource type) or Url or ID input (String) modes.

    • If you select Use variable, you can use the output variable from other activities, such as For Each File/Folder.
    • Select the Reload File Data option if you've modified your folders and need to retrieve the latest data.

Example

docs image

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

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.