Skip to main content
Version: Current

Delete Folder

Description​

Deletes a folder from Google Drive.

Folders can either be moved to the Google Drive trash or permanently deleted, depending on the activity configuration.


Common settings​

Use Process Data to bind supported inputs to workflow values or upstream outputs. See Common Activity Features for shared execution, error-handling, and output-persistence settings. Availability depends on the activity.

Design-Time Configuration​

Display Text​

A user-defined name for the activity, displayed on the workflow canvas to help identify its purpose.

Connection Name​

The configured Google Drive connection used to access Google Drive resources.

Folder​

The folder to delete.

You can:

  • Select a folder using the Custom Picker Dialog.
  • Provide a folder identifier dynamically through Process Data.

Delete Permanently​

Determines how the folder is removed.

ValueBehavior
FalseMoves the folder to Google Drive trash.
TruePermanently deletes the folder.

Default value: False

warning

Permanent deletion cannot be undone.


Execution settings​

Configure Wait All Incoming when execution paths converge, and On Error for failure handling. Select Inherit where available to use the workflow-level error policy.

Output​

Result​

A Boolean value indicating whether the delete operation completed successfully.

ValueMeaning
TrueThe folder was successfully deleted or moved to trash.
FalseThe delete operation was unsuccessful.

Remarks​

  • The authenticated Google account must have permission to delete the folder.
  • Users cannot permanently delete folders they do not own.
  • When Delete Permanently is set to False, the folder is moved to the Google Drive trash and may be recoverable through Google Drive.
  • When Delete Permanently is set to True, the folder is permanently removed according to Google Drive permissions and ownership rules.
warning
  • Deleting a folder also deletes all files and subfolders contained within it. Ensure that the folder contents are no longer required before performing the delete operation.

Check the deletion outcome​

Leave Delete Permanently off to use trash, or enable it only when permanent removal is intended. The authenticated connection must have the permissions required by Google Drive for the selected item and operation.

Check Result for the completed operation. A missing, inaccessible, or rejected resource can raise an activity exception; handle it with On Error rather than treating every failure as False.