Can an agency build n8n automations for clients under the Sustainable Use License?
An agency or consultancy that builds n8n workflows for customers needs to settle one question before it sells the work: does the Sustainable Use License let it run those workflows for someone else's benefit? The license permits use or modification only for your own internal business purposes or for non-commercial or personal use, and distribution only free of charge for non-commercial purposes. Customer-delivered automation sits in a gray zone under that wording. Running a client's workflows on your own instance, charging for building them, and handing them over to the client are three different activities, and each may land differently against the license text. Read the license in full with counsel, and do not assume that building for a customer is the same as using n8n for your own business.
Note that n8n is source-available under the Sustainable Use License, not open source under the Open Source Initiative definition, so the freedoms you may expect from typical open-source software do not automatically apply. Files with .ee in their name or directory fall outside the Sustainable Use License entirely and need a valid n8n Enterprise License, so check whether any client build depends on them. Ask n8n directly whether a commercial agreement covers your delivery model, and get the answer in writing. Confirm the current license wording in the n8n LICENSE.md file at the time you sign.
This page is general information, not legal advice. Your contract with each client, your hosting arrangement and the specific nodes in each workflow all affect the answer. Before you quote a client engagement, have your counsel review the license, confirm whether a commercial license is needed, and document the decision so procurement and the client's security team can see it.
Which client arrangement changes the license answer
In this arrangement, your team operates an n8n instance and runs workflows that process data or trigger actions for a client, while the client does not log in to the instance. The Sustainable Use License limits use to your own internal business purposes or non-commercial use, so the first question is whether running paid client work on your instance falls within that wording. This is the point where a licensing conversation with n8n is most likely to be needed, because the license text does not settle every commercial delivery model on its own.
- Who has access: Confirm that clients have no login, API key or editor access to the instance.
- Who owns the instance: Confirm whether the instance is yours or the client's, and who pays for the server.
- Where data flows: Confirm how client data passes through shared workflows and whether any client data is stored on the instance.
- Billing model: Confirm whether you charge per workflow run, per seat or as a managed service, since usage-based pricing can change the answer.
- Written answer: Ask n8n to confirm the arrangement in writing before you sell it.
Check the arrangement against the n8n LICENSE.md and put the question to n8n directly.
Here you design workflows that the client then opens, changes or adds to. Editing access is a different kind of use from running a workflow, because the client is now working inside the n8n editor. Whether that counts as the client using n8n for their own internal business, and whether you may hand over an editable instance at all, is a question for n8n rather than something to assume from the license summary. The answer depends on who holds the login and whose infrastructure the editor runs on.
- Client logins: Confirm whether the client receives an account on your instance or on an instance they control.
- Handover model: Confirm whether you deliver exported workflow files that the client imports into their own n8n, which changes where the license sits.
- Paid features: Confirm which edition the client needs for features such as roles, projects or environments, since those controls matter once several people edit.
- Support boundary: Confirm who maintains workflows after handover and who has the right to change them.
- Documentation: Keep a written record of the agreed handover method and the n8n confirmation.
Ask n8n which handover method its licensing terms permit before you build the client's workflows around it.
Some consultancies give each client a separate n8n instance, either on infrastructure they run or on infrastructure the client owns. This separates data and access cleanly, but it multiplies the number of licenses, upgrades and operational tasks. Each instance is a separate deployment, so each one needs its own license check against the way it is used. Separate instances also change the cost profile, since paid plans are priced per instance rather than per client.
- Instance ownership: Confirm whether you or the client holds the license for each instance.
- Edition choice: Confirm which edition each client needs, since plans with SSO, environments or log streaming are restricted to paid tiers.
- Upgrade load: Plan how each instance is patched and upgraded, because version drift across clients is a common operational problem.
- Execution counts: Confirm how executions are counted on each paid plan before you quote.
- Hosting location: Confirm where each instance runs, since that can change both the license path and the data handling obligations.
Before you commit to this model, ask n8n how it treats separately hosted instances that you operate for third parties.
Embedding puts the n8n editor inside a product that your client's users see, often with the client's branding and sign-in. This is the arrangement where the license question moves furthest from ordinary internal use. n8n offers an OEM route for embedding, and its terms and technical options differ from standard self-hosting. Files with .ee in their name or directory are not covered by the Sustainable Use License and require a valid n8n Enterprise License, so any embedding path that touches those files needs its own check.
- OEM agreement: Confirm whether an OEM agreement is required and what it permits for branding.
- Enterprise code: Confirm whether the embedding approach uses any
.eecode, which needs an Enterprise License. - Sign-in model: Confirm how users authenticate inside the embedded editor and who manages their accounts.
- Mode of embedding: Confirm which editor mode n8n supports for your product, since restricted modes exist.
- Commercial terms: Confirm the commercial terms with n8n before you build the product feature.
This arrangement needs a written commercial answer from n8n before the product design is fixed.
Which n8n features need a paid plan when you serve several clients
Serving several clients on one n8n instance raises questions that a single internal team never hits: who can see whose workflows, which credentials each client uses, and who can prove what changed. The cards below separate what every plan includes from the features that tend to decide whether a delivery model needs a Business or Enterprise plan.
What every plan includes
The pricing page states that all plans include unlimited users, workflows and every integration. Building a client delivery model on those limits alone is not what drives a plan upgrade. The question is which controls you need to separate clients, so check the feature rows below before assuming the Community edition covers your setup. Confirm the current table with n8n before you quote a client.
n8n pricing pageSSO and LDAP for client staff
SSO and LDAP are listed only in the Business and Enterprise plans. If your agency wants each client's staff to sign in through their own identity provider rather than through shared accounts, this is a plan decision, not a configuration detail. Ask who manages the identity provider for each client and whether one login domain can map to one client's project.
n8n SAML docsEnvironments with Git for client releases
Environments with Git are included only in the Business and Enterprise plans. For multi-client delivery, they matter when you promote a client's workflows from a staging instance to production and need reviewable history of each change. Without them, releases depend on manual exports and imports, which is harder to audit across several clients.
Log streaming for audit trails
Log streaming is included only in the Business and Enterprise plans. When a client asks who edited a workflow or ran a credential-backed action, your evidence needs to leave the instance in a form your own logging platform can keep. Confirm with n8n which events are streamed and how long your team must retain them, since that retention sits outside n8n.
Multi-main for client uptime
Multi-main runs several main instances for high availability and is restricted to Enterprise self-hosted deployments. Serving many clients from one instance raises the impact of an outage, so ask whether a single main instance with a tested restore plan meets each client's contract before paying for Enterprise. Queue mode with shared encryption keys is available to the plans described in the queue mode documentation.
Queue mode docsSeparate credentials per client
Credentials are encrypted with the instance encryption key, and in queue mode that key must be shared with every worker and webhook processor. Anyone who can reach that key can read every client's credentials, so per-client isolation depends on separate instances or strict project boundaries, which in turn depend on your plan. Decide the isolation model first, then pick the plan that supports it.
How the client delivery models differ in who operates and owns the instance
The decision starts with one question: whose n8n instance runs the client's workflows? A shared consultancy instance keeps the license holder, the credentials and the client data on your side, so you carry the operating and compliance load. A dedicated instance in the client's cloud moves the servers and database to the client's account while you still operate them. A client-owned instance puts the license, encryption key and data entirely with the client, and you only build and hand over. Check, for each path, who holds the N8N_ENCRYPTION_KEY, who is the licensee for internal use, and whether any customer-facing use falls outside the Sustainable Use License.
Three delivery models and where credentials, data and the license holder sit in each.
How to host n8n for a client with queue mode and encryption in place
This sequence takes a client-facing n8n deployment from an agreed hosting location to a queue-mode setup where the main instance, Redis, PostgreSQL and workers share one encryption key and execute workflows reliably. Each step closes with a check you can record before moving on.
Confirm the hosting location and data boundary
Agree in writing where the instance will run, which cloud account, data center or network segment holds it, and who on your side and the client's side has administrative access. Confirm that the client's data and credentials will stay inside that boundary and that the client accepts the hosting arrangement. Record the answers in the scope document. The step is done when the location, the operators and the data boundary are named in writing and signed off by the client.
Provision PostgreSQL as the shared database
Create a dedicated PostgreSQL database and role for this n8n instance on servers or a managed service you control, and restrict network access so only the main instance, workers and webhook processors can connect. Confirm the database version against the n8n documentation for the release you plan to run, since n8n's queue mode stores workflow data in PostgreSQL for all processes. Verify the connection from each host that will run n8n. The step is done when every planned n8n process connects with the new credentials and no other host can reach the port.
Deploy Redis for the execution queue
Install Redis on infrastructure in the same boundary, protect it with authentication and network restrictions, and confirm that only the n8n main instance, workers and webhook processors can reach it. In queue mode, the main instance passes executions through Redis to the worker pool, so an unreachable or misconfigured Redis stops execution flow. Test a ping from each n8n host using the configured credentials. The step is done when every host reaches Redis and an unauthorized host does not.
Configure the main instance and generate the encryption key
Start the main instance with queue mode enabled, pointing it at PostgreSQL and Redis, and set its encryption key explicitly in the configuration store your team controls rather than accepting a generated value. Record the key in your secrets manager with restricted access and a documented recovery owner. Confirm that the main instance starts, shows the expected queue mode status and that triggers and webhooks are served by it. The step is done when the main instance is healthy, the key is stored outside the instance, and a backup copy is held under your change control.
Share the encryption key with workers and webhook processors
Start each worker and each webhook processor with the same encryption key as the main instance, so they can decrypt credentials stored in the database. A worker or webhook processor with a different key cannot read the client's credentials, and failures can look like authentication errors in individual nodes. Use the same secrets delivery method for every process and avoid copying the key into shared documents or chat. The step is done when every worker and webhook processor starts without key errors and appears connected to the queue.
Verify credential access from workers
Create a test credential in the instance, then run a test workflow that uses it on a worker rather than the main instance. Confirm the run completes and that the credential's sensitive fields are not visible in logs, execution data or the interface for users without the right role. Repeat the test after any key rotation or restart. The step is done when a worker run that uses the credential succeeds and the test is recorded with the instance version and date.
Verify end-to-end execution flow
Trigger a scheduled workflow and a webhook workflow, then confirm the main instance receives the trigger, a worker picks up the execution from Redis, and the result is written to PostgreSQL and visible in the execution list. Test a failed run to confirm error handling and a retry where your workflow design supports it. Check that worker count and queue behavior match what the client expects. The step is done when both trigger types complete end to end and the results match the expected output.
Document the setup and confirm the license position
Write a runbook that lists the hosts, the database and Redis endpoints, the key storage location and recovery owner, the upgrade process and the test results. Confirm with the client and your legal or licensing contact that the deployment and the client-facing workflow model fit the Sustainable Use License terms and whether any feature used requires a paid plan. The step is done when the runbook is approved and the licensing position is confirmed in writing before the client goes live.
Hosting options for client automations and when each fits
This table compares three ways to run n8n for clients: one shared instance, one dedicated instance per client, and an instance handed over after the build. Read each row for who operates it, which license questions to settle with n8n first, and the situations where it fits. The main takeaway is that the license question depends on who runs the instance and who edits its workflows, so confirm that before choosing a model.
| Model | Who operates it | License questions to settle | When it fits |
|---|---|---|---|
| Shared instance on your infrastructure | Your team, in your cloud or data center, serving several clients from one n8n instance | Confirm with n8n whether running client workflows on your instance and charging for building them falls within the Sustainable Use License, since the license permits internal business use and non-commercial use only | Low-risk internal automations or clients with no data separation requirement, where you can confirm the license position before signing |
| Dedicated instance per client in the client's cloud | Your team deploys and operates it, but it runs in the client's account and network | Confirm who the licensee is, whether the client's own internal use is covered, and whether your ongoing operation of their instance is a commercial use requiring a different agreement | Clients with strict data residency or network rules who want their automations kept in their own environment |
| Client-owned instance handed over after build | The client's team operates it after a handover, with your team in a support or retainer role | Confirm whether the client's internal use is covered by the license, whether any .ee features are in use, and whether a transfer of operation needs a separate agreement with n8n | Clients with an in-house platform team who want full control after the build and a planned handover |
| Licensed features for multi-client use | Depends on the edition chosen, since SSO, environments and log streaming are listed for Business and Enterprise plans | Confirm which features your design depends on are included in the plan you buy, and whether per-client separation needs a feature your edition lacks | When a model above needs SSO, environments or audit streaming per client |
Security risks when one team runs n8n for several customers
A single n8n instance that serves several customers concentrates credentials, workflows and execution history in one place. The cards below cover the controls that keep one client's data and secrets away from another, and what to verify before any client workflow goes live.
Credential isolation between clients
Credentials in n8n are stored encrypted in the database, and a shared credential store makes it easy for a workflow built for one client to reference another client's API key. Keep each client's credentials in a separate project or instance, name them by client, and confirm that a workflow for client A cannot select client B's credentials in the editor. Review credential sharing settings after every new client onboarding. Illustrative check: create a test credential under client B and confirm client A's workflow cannot read it.
Shared encryption key in queue mode
In queue mode, the main instance's encryption key must be shared with every worker and webhook processor so they can decrypt stored credentials. That means any process holding the key can read every client's secrets. Limit who can access the key and the worker hosts, rotate it through a planned change, and verify that worker containers for one client environment do not run with another environment's key.
Queue mode docsWho can edit which workflows
Clients who edit workflows need a clear boundary, and a consultancy that builds for several customers needs to know which team members can change which client's automations. Map each client to a project, assign roles that match who builds and who only runs workflows, and test that a builder on one client cannot open another client's workflows. Check whether your plan includes the role and project controls you need before you promise client-side editing.
Audit trails per client
When a client asks who changed a workflow or accessed their data, you need a record that separates one client's activity from another's. Decide how you will tag workflows, folders and execution logs by client, and confirm which audit and log events your plan provides. Log streaming is listed as a Business and Enterprise feature, so verify it before you rely on it for client evidence.
Shared execution data exposure
Execution history stores inputs and outputs of each run, which can include customer records, tokens or personal data. On a shared instance, an operator browsing one client's executions can see another client's payloads unless access is scoped. Set retention for execution data, restrict who can view execution details, and check that deleted runs are removed from the database and backups according to each client's agreement.
Outbound and webhook exposure per client
A workflow built for one client can call any endpoint its credentials allow, and a webhook URL can be triggered by anyone who knows it. Review outbound request controls and webhook authentication for each client workflow, and document which external systems each client's workflows can reach. Test that a webhook for one client rejects requests without its expected authentication and that its outbound calls match the agreed scope.
Questions agencies ask before building n8n automations for customers
Can an agency build and run n8n workflows for its clients?
Yes, when the workflows run on infrastructure the agency controls and serve the agency's own internal business purposes. The Sustainable Use License permits use for your own internal business purposes, but it does not automatically permit customer-facing use of the platform itself. Whether a given setup fits that grant depends on who operates the instance, who edits the workflows and whether the client gets direct access to the editor. Confirm the specific arrangement against the license text and with n8n before you sell it, because the answer changes with each of those three points.
When does a client editing workflows need a different license?
A client who edits workflows in your instance, or who gets access to the n8n editor, is a different case from an agency that builds workflows for them and keeps the platform in-house. The license terms focus on internal business use and on who is served by the software, so direct client access to the editor should be reviewed as a licensing question, not assumed to be covered. Ask n8n whether that arrangement needs a commercial license or an embedding agreement, and get the answer in writing before you grant access.
What drives the cost of building n8n automations for clients?
The main drivers are workflow complexity, the number of client environments, hosting, the plan tier and the licensing review. Complex branching, custom code, error handling and many integrations add build and test effort. Each client that needs its own instance adds hosting, configuration and separate credentials to manage. Plan tier matters because SSO, LDAP, environments with Git and log streaming are included only in the Business and Enterprise plans. Ask for a quote that lists each of these items separately, with the licensing review as its own line.
How long does it take to deliver n8n automations for a client?
Delivery time depends on the number of workflows, how many systems they connect to, whether hosting is new, and how long the licensing and client access questions take to settle. Hosting setup, credential configuration, testing and handover each add steps. The fastest path is to settle the licensing and hosting model first, then fix the workflow scope in writing. Ask any partner for a timeline tied to a written scope rather than a generic estimate, and confirm which steps depend on the client's own approvals.
What does the agency need from the client before the build starts?
The agency needs a written list of the workflows, the systems each one touches, the accounts or API credentials the client can provide, and the people who approve changes. It also needs to know where the client's data may be processed and stored, and whether the client has its own hosting or expects the agency to host. Without these inputs, scope drifts and credential handling becomes improvised. Agree on who owns each credential and how access is revoked at the end of the engagement.
Can the client's team maintain the workflows after handover?
Often yes, but only if the client has someone who can read workflows, manage credentials and watch executions. Maintenance covers updates to upgraded n8n versions, changes to connected systems, credential rotation and monitoring. Confirm whether the client wants a retainer for upgrades and support, and whether their team has the skills and time to run it. Document ownership of each workflow and credential before handover so that nobody is guessing during the first incident.
When should an agency ask n8n for a commercial license?
Ask n8n for a commercial license when the planned use falls outside internal business purposes, such as giving clients direct editor access, offering n8n inside a product you sell, or distributing it to others. The same question applies when you need features or terms the standard license does not cover. Prepare a written description of the deployment, the users, the hosting and the commercial model before you contact n8n, and confirm all pricing directly with n8n, since DeployOpen does not set or quote n8n's prices.
What does a DeployOpen engagement cover for client automations?
DeployOpen plans, implements, hardens, backs up and documents self-hosted open-source platforms inside the client's own infrastructure, including n8n. For client automation work, that can mean scoping the workflows, preparing the hosting and access model, configuring credentials and supporting handover. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Licensing interpretation remains your decision with n8n and your legal advisers, so ask for a written scope that names it as a separate step.
Limits to confirm with n8n and your counsel before signing a client
Building n8n workflows for clients touches the license, the price of the plan you need, how executions add up and which features are Enterprise-only. Each item below is a question to settle in writing before the engagement starts, not after the first invoice.
Internal or customer-facing use
The Sustainable Use License permits use only for your own internal business purposes or for non-commercial or personal use. Whether building and running workflows for a client counts as internal use for your organization is a legal question, so ask counsel to read the license against the exact service you will sell. Get the answer in writing before you quote a client.
License textPlan pricing for your build
Confirm the plan you need on n8n's pricing page at the time of signing, since the Business plan is listed as self-hosted only and Enterprise is custom priced. Pricing for SSO, environments and log streaming depends on the plan, so price the features in your design rather than the base tier. Ask n8n for the figure in writing.
n8n pricing pageExecution counts across clients
n8n counts an execution as one run of a whole workflow, regardless of how many steps it contains. If several clients share one instance, total executions for that instance decide which plan applies, so model volume per client and in total. Confirm with n8n how it counts executions on your plan and where you can read those counts.
Enterprise-only .ee code in the build
Files with .ee in their name or directory are not covered by the Sustainable Use License and need a valid n8n Enterprise License. Review every workflow component, custom node and feature you plan to use, and check whether any depends on .ee code. Include the answer in your scope so a client does not receive a build that depends on a license you do not hold.
The n8n release you pin
n8n uses semantic versioning and ships minor releases roughly weekly, so the version you deliver today may not be the version the client runs later. Pin a release, record it in the handover, and check the release notes before every upgrade for changes that affect workflows or licensing terms. Agree who owns upgrades after go-live.
- Latest release cited
- 2.43
How DeployOpen works on this
DeployOpen starts by fixing the scope in writing, covering which client workflows run on which instance, how the licensing position is documented and who edits what. We then build, test and document the automations inside infrastructure you control, hand them over with runbooks, and offer ongoing support as a retainer if you want it.
How we scope
- Engagements are fixed-scope, with the workflows, integrations and deliverables agreed in writing before work starts.
- We map which workflows run on your own instance and which, if any, would be edited by the client, so the licensing question is settled early.
- Scope records the hosting location, whether the client needs access to the editor, and which edition features the design depends on.
How we build
- Workflows are built and tested on a staging instance in your environment before anything reaches production.
- Credentials are stored in n8n with access limited to the projects and roles the scope defines.
- Where volume requires it, the build includes queue mode with workers, Redis and PostgreSQL, sized from the workflow design.
How we hand over
- You receive the workflow documentation, architecture notes and a list of every integration and credential the automations use.
- Runbooks cover deployment, upgrades, backups and the steps to confirm license terms before a client-facing change.
- Handover includes a walkthrough with your team so operators can run, monitor and change the automations without us.
How we support
- Ongoing support, version upgrades and continuous testing are available as a retainer after handover.
- Upgrades are planned against n8n release notes, with the breaking changes reviewed before each move to a newer version.
- Confirm with n8n directly, in writing, any question about whether a specific client arrangement falls within the Sustainable Use License.

