Help Centre › Functions & Formulas
Move a file to trash.
Add it to a process
In the process designer, open the Add step tab. Find Move a file to trash under Google Workspace › Drive, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| File id | Yes | Google Drive ID of the file to move to trash |
See all Google Workspace steps.
Errors
| Error | Description |
|---|---|
| File not found | The specified file ID does not exist |
| Permission denied | Insufficient permissions to trash the file |
Tips
- Trashed files are automatically deleted after 30 days
- Use Restore from trash to undo
- For permanent deletion, use Delete file