<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Translate an Okta User ID into a Google User ID
Workflows
Okta Classic Engine
Okta Identity Engine
Overview

Consider implementing an offboarding workflow that triggers offboarding when the user account is deactivated in Okta. This article describes how to translate an Okta user ID into a Google user ID (so the user can be deactivated in Google Workspace).

Applies To
  • Okta Workflows
  • Google Workspace
Solution

The flow to do that has the following steps:

  1. A user-deactivated event is triggered (Okta – User Deactivated card).
  2. Read the user information to obtain the user’s primary email (Okta – Read User card).
  3. Then, use the Google Workspace – Search Users card to search for the user with a specified email address.

Okta ID to Google ID

NOTE: If the Google Workspace – Search Users card cannot find a user, it will return null values. Add logic to handle such cases, for example:

Okta ID to Google ID error


Related References

Loading
How to Translate an Okta User ID into a Google User ID