How to connect multiple Google/One Drives from customers?

n8n version: Next (latest)
Database: default: SQLite
Running n8n via: Docker

I am working on a SAAS solution for which I use N8N as the backend. Part of the solution involves saving files in the OneDrive and GoogleDrive of customers. It is easy to connect my own OneDrive or GoogleDrive to N8N. However, I am unsure of the best way to save files to the OneDrive or GoogleDrive of customers. I am looking for a method where customers can easily connect their OneDrive or GoogleDrive from the frontend of the SAAS. Is this even possible with N8N?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @robdegraaf

Yes it is possible with our embed option.

Generally speaking, you’d have to register your n8n app with Azure for OneDrive and Google Cloud Console for Google Drive to get OAuth 2.0 credentials. Then set up OAuth2 credentials in n8n and create workflows for file operations.

On your frontend you will have to implement the OAuth flow, allowing users to authorize access to their accounts. On your backend you can exchange the authorization code for tokens and storing them securely and then use them to configure the n8n workflows dynamically.

Thank you for your response. I think it will quickly become an expensive endeavor. The SaaS service I’m working on doesn’t generate any revenue yet, and I plan to start with low investment costs.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.