Suspend Google Workspace users deactivated in Okta

Block sign-in for a linked employee after Okta confirms deactivation and Google confirms the account has no administrator role.

9 stepsOperationsPeople and HR

Free to start, no card required.

How it works

  1. When this happens

    Okta reports a user deactivation

    Okta

  2. Step 1 · Code

    Match the employee directory IDs

  3. Step 2

    Check the employee mapping

    Follows the first path that matches

    • Linked employee

      1. Step 3 · Okta

        Read the current Okta user

      2. Step 4

        Confirm deactivation with Okta

        Follows the first path that matches

        • Deactivation confirmed

          1. Step 5 · Google Workspace

            Read the linked Google directory user

          2. Step 6 · Code

            Check account and administrator roles

          3. Step 7

            Check suspension eligibility

            Follows the first path that matches

            • Active employee account

              1. Step 8 · Google Workspace

                Suspend the linked employee account

            • Otherwise

              Nothing happens

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Connect Okta and the managed Google Workspace directory with permission to suspend users. In the mapping step, enter the immutable Okta and Google user IDs for employees and list any protected Google IDs.

Accounts to connect

See all 419 in Operations

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template