I’m starting a workflow with a Google Drive trigger. It should trigger at File Created. But it works only manually. And it takes only one file when I move multiple files.
I tried the File Updated event, but the problem remains.
Other users had the same problem here but it looks like no one solved it.
I’m using n8n cloud.
1- Changing to “File Updated” instead of “File Created” improves the detection of files that are moved or overwritten within Drive.
2- Add a “Schedule Trigger” + “Search Files.” Set up a scheduled trigger (every 5 or 10 minutes). Use a Search node to detect new files since the last run. This complements polling and avoids relying exclusively on the Google Drive trigger.
3- Check out this video:
Hi there!
To the point, Google Drive Trigger is using polling method to get the file(s), and you can adjust the polling time by setting the time trough “Mode” fields.
It’s different with another webhook that will catch data when new data received.
Thanks. It’s now set to 1 minute. I read in this forum that it should detect at every execution all the updated files since the last execution. It’s not happening.
Thanks. This will surely work. I was hoping there was a simpler solution.
Hi, maybe there’s a possibility that the trigger gets all the file, but it only executes the first one
Because that happens to me personally
So maybe u can try adding a loop over items just right after the trigger, and that for me, solves the issue
If it also solve yours, please mark it as the solution
I’m wondering you to share your drive node, maybe I can help
That’s what I added yesterday. I’ll see if it works next time I upload a batch