Google Drive "Search Files and Folders" Node Hangs in Workflow

Hey everyone, hope you’re doing great! :grinning_face_with_smiling_eyes:

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:

  1. The trigger fires when a file is moved to the “Papelera” folder.

  2. A Search Files and Folders node lists all files in “Papelera” to grab their IDs.

  3. 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.

Hi there, this has happen to me many times n for a lot of node, but usually its just a one time thing and after i refresh it doesnt happens anymore

Have you tried refreshing it, clearing cache, turn it on and off if ur self hosting, tht kinda stuff

Yes! I refreshed the page couple times and it worked.

Seens related to UI problem rather than mechanism, because after stopping the workflow, all the data show up to the next node.

Your comment was priceless, thx!