Google Drive Empty trash function

The Google Drive Empty trash function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Drive functionality to empty the trash.

For a full list of available functions, please read Google Drive functions.


Description

The Google Drive Empty trash function permanently deletes all files currently in the trash. This action cannot be undone.


Setting it up

To use the Google Drive Empty trash function, follow these instructions:

{{popups:rpas/add:action=google-workspace-drive-empty-trash}}

Once on a process map:

  1. Navigate to the process where you would like to add the Google Drive Empty trash function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the Google Drive Empty trash option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
This action does not require any input parameters.

Output variables

This action does not produce output variables.


Errors

ErrorDescription
Permission deniedInsufficient permissions to empty the trash

Tips

  • This permanently deletes ALL trashed files and cannot be undone
  • Consider reviewing trashed files with List files before emptying

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.