Google Drive - Delete File doesn't move file to trash. How to trash a file?

Describe the question

Setting operation Delete on a Google Drive node deletes the file permanently. That file is indeed not found in Trash.
Is this wanted? If so, how can I move a file to the Trash so that I might be able to recover it?

Please share the workflow

Information on your n8n setup

  • n8n version: 0.219.1
  • Running n8n with the execution process [own(default), main]: main
  • Running n8n via [Docker, npm,, desktop app]: Docker

Hi @Havock94,

It looks like API call we use deletes the file and doesn’t have an option to move to trash instead.

I have just found while doing a bit of digging that if you want to trash a file instead if you use the File Update operation under the Options there is a “Move to Trash” field which will do what you are after.

Amazing, just was I was looking for!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.