I’m developing a platform that integrates with n8n, allowing users to automate tasks like sending emails, managing calendars, and generating drafts. I aim to create individual credentials for each user to ensure each user has their own set of credentials without manual token generation. Additionally, I need to integrate this process into a custom website interface. However, How do I automatically create these credentials and how can I link it up to a website?
What is the error message (if any)?
Please share your workflow (Currently in Development)
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
N8n does not currently support dynamic credential selection within a single workflow execution, each node uses a static credential set.
You’ll need to create separate credentials and workflows per user, or use HTTP Request nodes with tokens passed as parameters if you want to avoid credential management in n8n.
ATTENTION
According to the n8n Sustainable Use License, you may only use n8n for your own internal business purposes. If your platform collects user credentials (e.g., Gmail, Google Calendar) and uses n8n to automate tasks on behalf of your users—especially if your users are external customers—this is not allowed under the standard license.
Specifically, the license does not allow:
Collecting users’ own credentials to access their data via n8n as part of a product or service you offer.
Hosting n8n and charging people money to access it, or white-labeling n8n for your customers.