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 Capabilities
Process Data Support
This activity supports dynamic configuration using variables from the Process Data drawer.
You can bind values from Model Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.
Learn more → Using Process Data
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 Google Drive Picker.
- Provide a Google File Reference representing a folder.
- Provide a folder identifier dynamically through Process Data.
Delete Permanently
Determines how the folder is removed.
| Value | Behavior |
|---|---|
| False | Moves the folder to Google Drive trash. |
| True | Permanently deletes the folder. |
Default value: False
Permanent deletion cannot be undone.
Wait All Incoming
Controls how this activity behaves when multiple incoming execution paths converge.
Determines whether the activity executes when:
- Any incoming path completes, or
- All relevant incoming paths complete before execution
Learn more → Execution Control
On Error
Defines how the workflow behaves if this activity encounters a runtime error.
Supported strategies include:
- Fault
- Continue
- Suspend
- Retry
Output
Result
A Boolean value indicating whether the delete operation completed successfully.
| Value | Meaning |
|---|---|
| True | The folder was successfully deleted or moved to trash. |
| False | The 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.
- 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.