The Monday morning incident: your 'Lead Routing' workflow stopped routing
The Monday morning incident: your “Lead Routing” workflow stopped routing

(A hypothetical story, but you may recognise it.)
It’s 9:02 on a Monday. Sales pings the channel: new leads aren’t reaching reps. Nothing has been assigned since Friday evening.
You open n8n. “Lead Routing” is right there, the workflow you built on a Sunday afternoon a year ago, with a Webhook node, a couple of nodes to enrich the lead, and a CRM node to hand it to the right rep. It’s been doing its job ever since.
The executions list is green, but the leads are going nowhere. Somebody changed a filter in the middle of the workflow on Saturday night. Nobody on the team claims it.
💡
This post replays that Monday three times, once per layer of n8n’s access controls: projects and roles, SSO, and 2FA enforcement. Each one stops the incident at a different point.
In this post we will cover:
- The incident, what actually went wrong and why nobody noticed
- Replay 1: projects and custom roles, so the edit couldn’t happen
- Replay 2: SSO, so offboarding has one source of truth
- Replay 3: 2FA enforcement, so a leaked password alone wasn’t enough
What actually happened
After an hour of digging, the story comes together:
- The edit came from the account of a contractor who finished on Friday
- Nobody had removed it, because n8n logins live in their own world, separate from the company directory
- The password for that account had been pasted into a team Slack channel two months ago “just so everyone can test”
- And the workflow? Any of the 40 people in the instance could open and edit it
So we have 40 people with edit access, 1 shared password and 1 leaver. The problem wasn’t a bad actor. It was a normal team that grew, with nobody deciding who should have access.
Replay 1: “ensuring the edit couldn’t happen” using projects and custom roles
Now run Saturday night again, but this time Lead Routing lives in a Revenue Ops project.
n8n organises workflows and credentials into projects, and role-based access control decides what each person can do inside them. The contractor was never added to Revenue Ops, so when they log in on Saturday, Lead Routing isn’t there to edit. Incident over before it starts.

Wait, why not just trust people not to touch things? Because the issue isn’t trust, it’s reach. With 40 people in the instance, someone eventually clicks the wrong thing. Projects mean fewer people can reach it at all.
Replay 2: “closing the door” with SSO
OK, but what if the contractor was in the project? They finished on Friday, so their access should have ended on Friday.
Run it again with single sign-on. People log in to n8n through the identity provider the company already uses. n8n supports SAML (the usual route for Okta and Azure AD) and OIDC. There’s no separate n8n password to paste into Slack, and offboarding starts in the one place IT already manages.
There is one catch. Disabling the account in the identity provider doesn’t remove it from n8n. According to the n8n docs, a user removed from the IdP stays logged in to n8n, so you also have to delete them in n8n yourself. Make that the second line of your offboarding checklist.
Now run Friday again with both steps done: IT disables the contractor in the identity provider and an admin deletes them in n8n. On Saturday night there is no account left to edit anything.

Replay 3: “password alone isn’t enough” handled by 2FA enforcement
One more version. Say SSO isn’t set up yet, and the shared password from Slack is the only thing between the outside world and your CRM.
With 2FA enforcement turned on, the password alone isn’t enough. Whoever has it also needs the second factor, which stays with the person it was issued to, not with the Slack channel.
One thing to know: enforcement applies to people who sign in with email and password. Users who sign in through SSO (SAML or OIDC) aren’t affected by this setting.

Let’s put it side by side
| Without controls | With them | |
|---|---|---|
| Who can edit Lead Routing | 40 people | The Revenue Ops project’s members |
| What happens when a contractor leaves | Account lingers | Disabled in the identity provider, then removed from n8n |
| What a leaked password gets you | Full access | Not enough without the second factor |
The three layers overlap on purpose. Any one of them would have stopped this Monday. Together, you’d have to get three separate things wrong.
You don’t need all of this on day one
If it’s just you and a weekend experiment, none of this is needed. The moment other people depend on the workflow, though, someone has to decide who can touch it. It’s much easier to set that up before Monday morning than after.
Try it
You can start in ten minutes:
- Create a project for the team that owns your most important workflow
- Move that workflow and its credentials in
- Add only the people who need it
- Then look at SSO and 2FA with whoever manages your identity provider
Source: n8n Blog · blog.n8n.io