Describe the problem/error/question
I´m trying to create something that´s supposed to be simple… to monitor a Google Drive folder, and send an notification email (can be a Slack message too) whenever a file is created, modified/updated, or deleted from that folder (and, ideally, its subfolders…). I managed to come up with something for the creation/update, but the deletion is not working.
My approach was to add an IF node checking if the {{ $json[“trashed”] }} is true or not… However, this is not working, apparently, since it doesnt get the file deletion.
The be honest I´m very frustrated with the Google integration, but if I manage to make at least this work, it would be nice… does anyone here went through something similar? Any ideas on how to accomplish that?
Thanks in advance guys!
What is the error message (if any)?
There is no error message, it simply doesn´t “see” when the file is sent to trash. It worked when the file was created, when it was modified, but not when the same file was deleted.
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.53.2
- Database (default: SQLite): Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): self-hosted with npm
- Operating system: Linux