When an Employee Leaves, Their AI Access Often Stays Behind
Departing staff take their badge with them, but their API keys, AI permissions and automated workflows often keep running. Here is how to close the gap.

Most companies have a solid routine for when someone leaves. IT disables the email account, collects the laptop, removes building access and closes payroll. That routine was built before AI tools spread through the business, and it misses a growing share of what a person actually leaves behind.
The problem is not that former employees can still log in. Usually they can't. The problem is everything they connected, authorised and automated while they were there. That keeps running under their name, often with nobody watching it.
What stays behind
When someone sets up an AI tool at work, they rarely stop at using it in a browser. They connect it to things. A sales manager links an AI assistant to the CRM and the shared inbox. An analyst creates an API key so a script can send reports to a model every night. An operations lead builds a workflow in an automation platform that reads supplier emails, summarises them and posts the results to a team channel.
Each of these is a small piece of infrastructure, and each is usually tied to one person:
- API keys created on a personal or individual account, billed to a company card, and stored in a script, a spreadsheet or someone's notes.
- OAuth connections that gave an AI tool permission to read a person's email, calendar, drive or CRM records. Disabling the account doesn't always revoke these.
- Automated workflows owned by the departing user in platforms like Zapier, Make or Power Automate, or inside the AI tool itself.
- Custom assistants and agents with instructions, uploaded documents and access to company data, sitting in a workspace that only the creator could manage.
- Shared credentials a team member pasted into a tool so it could act on the company's behalf.
None of this shows up on a standard offboarding checklist, because none of it was issued by IT. The employee created it themselves, and that is exactly why it gets missed.
Why it matters
There are three distinct risks, and they pull in different directions.
The first is exposure. A key that still works is a key that can leak. If it sits in a personal password manager, an old repository or a former employee's laptop, the company has lost control of it. Anyone holding it can run up costs or reach whatever data it was connected to.
The second is breakage. Revoke everything aggressively and processes stop without warning. The nightly report doesn't arrive. The supplier summaries stop. Often nobody knew these processes depended on one person's account until they failed, and by then the person who built them is gone.
The third is accountability. When an automated workflow sends an email, updates a record or makes a decision, someone needs to answer for it. If the owner left six months ago, nobody does. Regulators and auditors increasingly expect you to show who is responsible for each system that touches customer data. "The person who set it up left" is not an answer.
Move ownership before you revoke access
The order matters. If you cut access first, you find the dependencies by watching things break. If you transfer ownership first, you keep the business running and close the security gap in the same step.
Start during the notice period, not on the last day. Ask the departing employee a direct question: what have you connected, automated or built with AI tools? Most people will tell you, and they are the only ones who know the full list. Turn their answer into a handover with a named new owner for each item.
Then reissue rather than reassign. A workflow that runs on the departing person's credentials should be rebuilt on a service account or a shared team account the company controls. New keys should replace old ones, and the old ones should be revoked once the new ones work. Check the admin consoles of your main platforms, Google Workspace, Microsoft 365, your CRM, for third-party apps the person authorised, and remove those grants explicitly.
Fix it upstream
Offboarding will always be a scramble if the setup was ad hoc. The lasting fix happens earlier. Keep a simple register of AI tools in use, what each one connects to and who owns it. Require business-critical automations to run on company-controlled accounts, never personal ones. Issue API keys centrally and give them expiry dates, so a forgotten key stops working instead of lasting forever.
Then add one line to your offboarding checklist: AI tools, connections and automations reviewed and transferred. It is a small change, and it closes a gap that grows wider every quarter as more people build their own tools.
This is the kind of unglamorous structural work we take on at Hercules A, so that the systems your team builds keep working after the people who built them move on.