AI-driven access revocation for departing employees
Build a workflow triggered by a departure event or form containing the user's email. Use an AI agent action that can query Gmail, Okta, and Slack to locate any accounts belonging to that person. For each match, suspend or delete the account per policy and collect the outcome. If an account can't be found or an action fails, log it and continue; require confirmation before destructive deletes. Output a structured list of every account found and the action taken, and notify the security or IT channel.
What this prompt builds
Use an AI agent to find and shut down all of a leaver's accounts across Gmail, Okta, and Slack in one pass.
The problem
Departing employees often retain access to SaaS tools for days or weeks because no one has a definitive list of where they had accounts. Each lingering login is an insider-risk and compliance gap.
Solution and impact
An AI agent searches Gmail, Okta, and Slack for accounts tied to the departing user and suspends or deletes each, then returns exactly what it actioned. Offboarding coverage becomes comprehensive and fast, with a clear record for audit.