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).
- Okta Workflows
- Google Workspace
The flow to do that has the following steps:
- A user-deactivated event is triggered (Okta – User Deactivated card).
- Read the user information to obtain the user’s primary email (Okta – Read User card).
- Then, use the Google Workspace – Search Users card to search for the user with a specified email address.
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:
