Hey everyone, hope you’re doing great! ![]()
I’m working on an n8n workflow using the Google Drive node with the folderUpdates trigger. The goal is to delete vectors and the file itself when a file is moved to a specific folder called “Papelera” (not the Google Drive Trash, just a regular folder named that way). Since Google Drive doesn’t have a trigger for when files are deleted or moved, I came up with a workaround:
-
The trigger fires when a file is moved to the “Papelera” folder.
-
A Search Files and Folders node lists all files in “Papelera” to grab their IDs.
-
I want to loop through each ID and delete the corresponding file and vectors.
The Problem: The Search Files and Folders node (with returnAll: true) never finishes. It doesn’t show “Executed” in the UI and doesn’t pass data to the next node. I only see output if I manually stop the workflow, but that’s not practical.