Offboarding users from n8n

Removing a leaver from n8n takes more than disabling their identity provider account. This page covers the session, user, project and credential steps that close their access.

On this page

Why offboarding n8n users needs its own checklist

Disabling a leaver's identity provider account does not end their n8n access. Removing someone from n8n means three separate actions: ending their active sessions, deleting or transferring their user record, and handling the projects they own and the credentials they could reach. Each one lives in n8n itself, so a checklist that stops at the identity provider leaves the leaver's access in place. This is the gap most teams miss when an employee leaves, especially when the IdP account was the only thing they were told to disable.

Teams need this checklist on any self-hosted instance where people sign in through SSO, LDAP or local email and password accounts. Each sign-in method has its own way of blocking a user, and a session that was already open can keep working until n8n no longer accepts it. The exact steps depend on your plan and n8n version, because SSO and LDAP are limited to the Business and Enterprise plans according to n8n's pricing page, and user management screens and options can change between releases. Confirm the current behavior in your own instance before you write the procedure down.

Treat offboarding as a repeatable runbook with an owner, a record of what was done and a test on a non-production instance. Ask your administrator and any vendor you work with to confirm which actions apply to your plan, and record who approved each transfer of workflows or credentials. The sections below cover each step in order, starting with how sessions are ended.

Offboarding sequence for a leaver

This sequence removes a leaver's access in an order that closes the paths still open after an identity provider change. It produces an n8n instance where no workflow, credential, project or API key depends on the departed user, and every secret they could read has been replaced.

  1. Disable the leaver's identity provider account

    The HR or IT administrator disables the user in the identity provider, which blocks new single sign-on logins to n8n. This step does not end sessions already open in n8n, so the remaining steps still need to run. Confirm the account is disabled by attempting a sign-in as that user, which should fail at the identity provider. Record the time and the approver in your change ticket.

  2. End active n8n sessions

    Because an identity provider change does not end n8n sessions, the administrator must close the leaver's open sessions before continuing. Confirm in your n8n version's documentation how sessions end for SSO users, and check whether deleting the user in a later step also removes access. Verify the behavior with a test account in the same group: its open session should stop working once the account is disabled. Log the result before moving on.

  3. Inventory everything the leaver owns

    The administrator lists the workflows the user created, credentials they own or can share, projects where they hold an admin or editor role, and API keys issued under their account. Include workflows in personal space and any credential that workflows call. Use the n8n interface, the API and your change records together, since any single source can miss items. The inventory is complete when every item has a recorded owner decision and a named successor.

  4. Transfer workflows and credentials to a named owner

    Assign a named successor, usually the team lead or the service owner, and move the leaver's workflows and credentials to them. n8n offers a transfer option when you delete a user, and workflows can also be moved between projects in the interface, so confirm which options your version provides. Check that the successor sees each transferred item in their own list and that the leaver's personal space shows nothing left to move.

  5. Delete or reassign projects

    Projects the leaver administered need a new project admin before the user is removed, so the team keeps control of its content. Review each project's members, roles and folders, and delete a project only after its workflows have moved to another project. Confirm how your version handles a project's remaining contents when it is deleted. Check that each remaining project lists an active admin other than the leaver, and that the leaver no longer appears in any member list.

  6. Revoke API keys and delete the user

    Revoke each API key issued under the leaver's account first, because keys can keep working after the person leaves. Then delete the user in the Users settings, choosing the successor when the transfer prompt appears. Check that the user is gone from the user list, and that a call made with a revoked key returns an authorization error.

  7. Rotate credentials the leaver could read or use

    Rotate every secret the leaver could have seen or used, including passwords and tokens stored in n8n credentials, shared service accounts, webhook secrets and values in environment variables they could access. Rotate each secret at its source system first, update the credential in n8n, then confirm the target system refuses the old value. Record each rotation in your change log. Confirm with n8n's documentation whether the instance encryption key needs changing, since queue mode shares that key with worker processes and changing it is a separate planned operation.

Options for handling a leaver's assets

This table compares four ways to handle a leaver's workflows, credentials and projects in n8n: transfer, reassign, delete the user with assets left in place, or delete the assets outright. Read each row against the risks it carries for running automations, credential exposure and audit history. Confirm the exact deletion and transfer behavior in your n8n version before you choose a path for any leaver.

OptionWhen it fitsMain riskConfirm before using
Transfer workflows and credentials to another userA successor owns the process and must keep scheduled or webhook workflows runningCredentials move under a new owner, so the new owner's access and the workflow's data paths changeWhether credentials can be transferred in your version and what the successor can then see
Reassign projects to another ownerA team project stays in use and its admin is leavingProject admin rights shift, and members may keep access they should loseWho holds project admin after reassignment and whether member roles carry over
Delete the user and leave assets in placeWorkflows and credentials must keep running while the user record is removedOrphaned credentials and workflows with no active human owner, and weaker audit context for later changesWhat happens to shared workflows and credentials after the user is deleted
Delete the assets outrightThe workflow is obsolete or the credential must not exist anywhereBroken dependent workflows and lost history that other teams may still needWhich dependent workflows reference the asset and whether a copy or export exists first
Rotate the secret behind the credentialA credential could have been seen or copied by the leaverRotation breaks any workflow still using the old value until it is updatedWhere the secret is used outside n8n, such as APIs, databases and CI pipelines

Which credentials to rotate after a departure

A leaver's access to n8n is rarely limited to their login. Anything they could open, call or read from inside the instance should be treated as exposed until it is rotated or confirmed unused. The cards below cover the main places those secrets sit, and the order in which to handle them.

Stored credentials they could use

Any credential the leaver could select in a workflow, or that was shared with a project they could edit, can be used to call the external service. Review each credential's sharing before deleting the user, because deletion does not revoke the external secret. Rotate the secret at the target system, then update the credential in n8n. Confirm which projects the credential is shared with, since a shared credential may serve workflows owned by other teams.

Queue mode docs

API keys issued to the leaver

API keys belong to the person who created them. A key created by a leaver for a script or pipeline keeps working after their account is removed unless it is revoked. List the keys tied to the user, confirm which pipelines depend on them, and revoke them during offboarding. Where a shared automation used the leaver's key, issue a replacement key owned by a service or team identity before revoking the old one.

Shared secrets referenced in workflows

Workflows sometimes hold values outside the credentials store, such as tokens written into HTTP Request nodes, expressions, or environment variables read by Code nodes. A leaver who edited these workflows may have pasted secrets directly. Search workflow definitions for hardcoded values and move them into credentials before rotating. Treat any value the leaver could read in an execution log as exposed.

External service accounts they configured

Some integrations were set up under a personal account, such as a mailbox, a CRM user or a cloud console login used for OAuth connections. Removing the leaver's n8n account does not disconnect those grants. Ask the owning system which tokens or OAuth grants belong to the leaver, re-authorize the connections under a team identity, and revoke the old grants at the source.

The encryption key, only if exposed

The encryption key protects the credentials stored in n8n's database. Rotating it is disruptive and is only needed when the leaver could have read it, for example from a configuration file or container environment they had access to. Queue mode makes this harder: the main instance's key must be shared with every worker and webhook processor so they can read credentials, so a key change must be coordinated across all of them. Confirm the procedure with n8n's documentation before acting.

Offboarding runs in a fixed order, with one branch for hand-offs

The diagram starts at the identity provider, where disabling a leaver does not end an active n8n session, so ending sessions is a separate step. Next, list every workflow, credential, project and API key the leaver owns. Transferable items move to another owner, and anything that cannot move goes to an owner review before the next step. Delete owned projects once they are empty, then delete the user. Finally, rotate any credential the leaver could read or use. Check each hand-off against the inventory before deleting the account.

Offboarding order from identity provider disable to credential rotation.

Security and audit risks during offboarding

A leaver's access to n8n is not one thing. It spans the identity provider, the n8n user record, the sessions already open, the API keys and credentials they created, and the workflows they own. Each risk below points to a control you can set and a check you can run before you call the offboarding complete.

Sessions that outlive the directory account

Removing a user in the identity provider does not automatically end a session that n8n already issued. A browser session or a user-issued token can keep working until it expires or is revoked. Remove the user in n8n as well as the IdP, then confirm the account can no longer load the editor in a private browser window. Ask your vendor or your own testing how long an existing session stays valid after the account is disabled.

API keys that outlive the user

An API key created by a leaver can keep calling the n8n API after the person has left, and it may belong to a pipeline nobody else knows about. Before deleting the user, list the keys tied to that account and revoke them, then issue replacement keys to the owning team. Keys used by CI/CD should move to a service-owned identity with a named owner, so the next departure does not break or silently keep a pipeline running.

Credentials the leaver could export

A user who could open a credential in the editor may have copied its secrets, or may have used it in workflows they can still reach. Review which credentials the leaver created or could use, and rotate the underlying secrets at the target systems, not only in n8n. Do this for database logins, SaaS tokens and cloud keys. Rotation is the control that matters, because deleting the n8n record does not invalidate a secret that was already copied.

Workflows running under a departed owner

Workflows keep running after their owner leaves, and failures, alerts and webhooks may still point at the deleted account. Before deletion, transfer ownership of each workflow to a named successor and confirm its triggers, schedules and credentials still resolve. Check for workflows that send email or write to business systems under the leaver's name, because those actions will continue without anyone watching them.

Loss of the audit trail on deletion

Deleting a user can make it harder to answer who created, edited or ran a workflow later. Record the leaver's identifier, role and ownership transfers in your change record before deletion, and confirm that n8n's audit events and execution history are shipped to the log destinations you have configured. What you can reconstruct afterward depends on those settings, so verify retention in your own logging system rather than assuming it is kept.

Shared accounts and passwords

A shared login used by several people means no single departure removes access, and the audit trail shows one name for many actions. Find any shared owner or generic accounts, move their workflows to individually named accounts or a managed service identity, and change the password and any 2FA recovery codes that the leaver may have seen. Confirm afterward that only the intended people can sign in with the remaining accounts.

Questions buyers ask about n8n offboarding

How much effort does an n8n leaver process take?

Effort rises with the number of workflows, credentials, projects and API keys a leaver touched, and with how many of those assets they own. Each leaver needs a review of owned workflows that must be handed to someone else, shared credentials they could still read or use, project memberships, and any API keys they created. The checklist and the first pass through your asset inventory are one-time work. Each later leaver adds recurring review time that scales with that person's footprint. Ask your team to count these assets for a sample of recent leavers so the estimate rests on your own numbers, not on a generic figure.

Does removing a user from our identity provider end their n8n access?

No. Removing someone from the identity provider stops new single sign-on logins, but it does not by itself end sessions that are already open or delete the user record inside n8n. Confirm in your own version how deprovisioning behaves, and whether a local email and password login still exists for that account. The safe sequence is to disable or delete the user in n8n, revoke active sessions, and check that no local login remains. Read n8n's SAML documentation for the identity side, then test with a disposable account before you rely on the process.

What do we need from our team before offboarding work starts?

You need an instance owner or administrator who can see all workflows, projects and credentials, an identity administrator who can confirm the leaver's status in your directory, and a named person in each business area who will accept handed-over workflows. You also need a list of leavers with their departure dates, a change window for credential rotation, and a decision on who signs off each handover. If the work is run as a fixed-scope engagement, these inputs should appear in the written scope so that access and timing are agreed before any change is made.

Can our own team handle n8n offboarding without an outside partner?

Yes, if your team has an administrator with full visibility into the instance and someone who understands which external systems each credential opens. The hardest parts are judgment calls: deciding who inherits a workflow, which credentials must be rotated first, and which shared automations would break if a credential changes. A partner can plan the process, implement the checklist, test it and document it under a written scope. Many teams start with their own staff and bring in help only for the first cycle, then keep the runbook in-house. Choose based on how many leavers you expect and how many shared assets your instance holds.

How long does a clean n8n offboarding usually take?

The duration depends mainly on the number of assets involved: workflows to transfer, credentials to rotate, projects to clean up and API keys to revoke. It also depends on whether rotating a credential requires another team to change a password or token in an external system. No reliable duration can be given without counting those assets in your environment. Confirm the timing by running the process on a copy of a representative leaver, then scale the result to your actual asset count. Ask any provider to base its schedule on that count and on a tested runbook.

Does rotating credentials after a leaver require downtime?

Rotating a single credential usually does not need a full outage, but workflows that use it will fail until the new value is in place, so schedule the change with the owners of those workflows. Changing the encryption key is a different task. In queue mode, the main instance's encryption key must be shared with every worker and webhook processor so they can read stored credentials, so changing it affects the whole deployment and needs a planned restart sequence. Do not treat key rotation as a routine leaver step. Read the n8n queue mode documentation before planning any key change.

Which n8n plans include SSO, and what does that mean for offboarding?

According to n8n's pricing page, SSO and LDAP are included only in the Business and Enterprise plans, and n8n's SAML single sign-on is available on those plans too. On the free Community edition, there is no identity provider to deprovision from, so every leaver must be removed by hand inside n8n and any local logins must be checked. Confirm current plan contents on the n8n pricing page before you decide, because plan details change. Whatever edition you run, revoke API keys during offboarding, since keys are not removed when a user signs out.

How DeployOpen scopes n8n offboarding and access work

DeployOpen treats leaver removal in n8n as a written, testable change rather than a single account action. We scope which identity, session, user, project and credential paths a leaver could still use, then build and verify the removal steps on your own n8n instance.

How we scope

  • Map every route a leaver can use: IdP sign-in, local accounts, API keys, shared credentials and project membership.
  • Confirm which n8n edition and login method you run, since SSO and LDAP settings depend on the plan.
  • Agree in writing which workflows, credentials and projects need transfer, deletion or rotation before work starts.

How we build

  • Write the offboarding runbook for your instance, covering session ending, user deletion, workflow transfer and credential rotation.
  • Test the runbook on a staging copy with a sample leaver account before it touches production data.
  • Document which credentials the leaver could read, and rotate those secrets in the systems that actually hold them.

How we hand over

  • Deliver the runbook, the access map and a checklist your service desk can run for every leaver.
  • Walk your administrators through a live offboarding so they can repeat it without DeployOpen involved.
  • Record evidence of each removal step so your compliance and security teams can review it later.

How we support

  • Offer ongoing support as a retainer to review offboarding after upgrades, identity provider changes or new projects.
  • Retest the removal path when your identity provider, n8n version or credential set changes.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts; ask for a written quote.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.