I’m working on a project where I need to monitor Google Drive for document updates and creations across multiple user accounts. Specifically, I want to set up workflows in n8n that listen for changes not just in one Google Drive, but across several different users’ Drives.
My goals are:
Detect when a document is created or updated in any of the specified users’ Google Drive accounts.
Trigger specific workflows in n8n based on these events.
Manage authentication for multiple Google accounts within n8n efficiently.
Challenges I’m facing:
I’m unsure how to set up n8n to listen for Drive events from multiple users simultaneously.
Managing multiple OAuth credentials for different Google accounts seems complex.
I want to avoid setting up separate workflows for each user if possible.
Any guidance, tips, or examples would be greatly appreciated!
Thank you in advance for your help!
you would have to set up a separate credential for each Google Drive per user. You can then use that in the Google Drive Trigger node and set the folder you want to watch. Unfortunately you cannot set multiple folders, so for now you will have to add a node for each folder you want to watch.
You could have all of these Trigger nodes in one workflow for simplicity. They will each trigger independently. (Don’t forget to activate the workflow!)