Stepwork logoStepwork logo
ProcedureDeterministic AgentsMarketplaceSecurityClaude Co-Work Alternative
Book a Demo
ProcedureDeterministic AgentsMarketplaceSecurityClaude Co-Work Alternative
Book a Demo
  1. Home
  2. Marketplace
  3. Deactivate user account in Okta

Deactivate user account in Okta

Automatically deactivate a departing employee’s Okta account from a Slack request with Stepwork. Find the user, deactivate the account, and end every active sign-in session.

Shaun MacLellanFounder

Book a DemoSee the process
Use case
Employee offboardingIT
Best for
IT Administrator, Helpdesk Technician
Applications used
  • Okta
  • Slack
Business outcome
Risk reduction

On this page

  1. The problem
  2. The outcome
  3. The process
  4. Why Stepwork
  5. Similar use cases
  6. FAQ
IT
  • Okta

Deactivate user in Okta

One Slack request. One deactivated Okta account, with the record to prove it.

Book a Demo

The problem

HR says goodbye. Okta finds out days later.

Offboarding starts with an HR notice and ends in the helpdesk queue. Someone opens the Okta admin console, searches for the person, and deactivates the account by hand. Often that is hours or days after their last day.

In that gap the person can still sign in through Okta to every application behind it: email, Slack, the CRM, the cloud console. Nobody writes down when access ended, so the audit question has no answer.

The outcome

Access ends when the request lands, not when someone gets to it

Stepwork deactivates the account in Okta and confirms the status change ended every active session. Applications behind Okta stop accepting the person at once. The run records who asked, when the account was deactivated, and whether every step completed.

  • Every active Okta session is ended and confirmed.
  • Every run names who requested it and when it ran.
  • Every failure names the step and the reason.

The process

From Slack request to deactivated account

A helpdesk teammate posts the request in Slack. Stepwork runs the path recorded in the Okta admin console, in the same order every time.

  1. Step 1

    Request it in Slack

    A helpdesk teammate posts the departing employee's work email in the offboarding channel. That message starts the flow, and Stepwork records who asked and when.

    Slack message in #it-offboarding asking to deactivate alex.morgan@acme.co, with Stepwork confirming the flow started
  2. Step 2

    Sign in to Okta

    Stepwork opens the Okta admin console with a credential read from 1Password at run time. No Okta API token, only the access that admin account already has.

    Okta admin console sign-in screen
  3. Step 3

    Find the user by email

    Stepwork searches the Okta directory for the exact work email. If there is no match, or more than one, the run stops instead of guessing.

    Okta People search showing one result for alex.morgan@acme.co
  4. Step 4

    Deactivate the account

    Stepwork deactivates the user, the same click an Okta admin makes. Sign-in through Okta ends for every application behind it.

    Alex Morgan's Okta profile with the Deactivate user button
  5. Step 5

    Confirm every session has ended

    Stepwork checks that the status reads Deactivated and every session has ended, then posts the result back to Slack with a timestamp.

    Okta profile showing Alex Morgan deactivated and all active sessions ended
Slack message in #it-offboarding asking to deactivate alex.morgan@acme.co, with Stepwork confirming the flow started
Okta admin console sign-in screen
Okta People search showing one result for alex.morgan@acme.co
Alex Morgan's Okta profile with the Deactivate user button
Okta profile showing Alex Morgan deactivated and all active sessions ended

Why Stepwork

Same path in Okta, every departure

Stepwork is a deterministic agent platform. It runs the Okta path you recorded, not a new plan each time, so the same request produces the same steps. Credentials stay in 1Password; Stepwork holds a vault reference, never the password. When the Okta admin console changes, AI vision recognizes the element and the run continues.

Deterministic agentsProceduresCredentials
Book a Demo

Similar use cases

The same offboarding step in other applications

  • Suspend user account in Google WorkspaceSigns in to the Google admin console and suspends the account, blocking sign-in while keeping the data.Learn more
  • Disable user account in Microsoft Entra IDSigns in to the Entra admin center and blocks sign-in, disabling the account across Microsoft services.Learn more
  • Deactivate member account in SlackSigns in to Slack admin and deactivates the member, removing their workspace access.Learn more

FAQ

Common questions

  • Record the deactivation once in the Okta admin console while Stepwork watches. That recording becomes a flow. From then on, a Slack request runs it: Stepwork signs in, finds the user by email, deactivates the account, and confirms every session has ended.
  • Yes. A helpdesk teammate triggers the flow from a Slack channel with the person's work email. Stepwork does the work in Okta and posts the result back to the channel. You choose which flows are available in Slack and who can run them.
  • The account moves to a deactivated state and the person can no longer sign in through Okta. Active sessions end. Stepwork confirms that status change before it reports success. What happens inside each connected application depends on your Okta provisioning settings.
  • This flow works only in Okta. It ends sign-in through Okta to every application behind it. Accounts that live inside those applications stay until a separate flow removes them, such as suspending the user in Google Workspace or deactivating them in Slack.
  • No. Stepwork works in the Okta admin console, the same way an administrator would. It signs in with a credential read from 1Password at run time and stores only the vault reference, never the password.
  • The run stops at that step and records the reason. It does not report the account as deactivated, and it does not guess at a similar name. You see which step failed and can rerun it once the details are fixed. Every attempt stays in the run history.
  • Yes. List the work emails in a variable table and Stepwork runs the flow once per row. Each person gets their own recorded result, so a batch of leavers ends with a record per account.
  • Every run keeps its status, duration, step history, who triggered it, and the reason for any failure. When an auditor asks when a departed employee lost access, the answer is in the run record.
  • Minutes. You deactivate one user in Okta while Stepwork records it. Link the Okta credential from 1Password, make the flow available in Slack, and it is ready to run.

See it run on a process you already repeat

Bring one. We will show you what it looks like as a flow and what each run records.

Book a Demo
Stepwork

Deterministic agents for work that must run the same way every time.

ProcedureDeterministic AgentsMarketplaceSecurityClaude Co-Work AlternativeFAQ
Terms and ConditionsPrivacy PolicyData Processing AgreementSubprocessors

2261 Market Street #4481, San Francisco, CA 94114, USA

Loot Discount inc dba Stepwork

© 2026 Stepwork. All rights reserved.