Okta Workflows how-to guides are questions and answers from weekly community office hours, MacAdmins Workflows Slack channel, and other places.
Read all the other how-to guides ⤵️
![Okta Workflows](https://res.cloudinary.com/practicaldev/image/fetch/s--n-07qOxk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://res.cloudinary.com/practicaldev/image/fetch/s--pzg4kRI0--/c_fill%2Cf_auto%2Cfl_progressive%2Ch_150%2Cq_auto%2Cw_150/https://dev-to-uploads.s3.amazonaws.com/uploads/organization/profile_image/5077/0e81d3e2-a52d-4156-8eb9-7a3c8ea98674.png)
![](https://res.cloudinary.com/practicaldev/image/fetch/s--kvrUX8k8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://res.cloudinary.com/practicaldev/image/fetch/s--JOmvljQH--/c_fill%2Cf_auto%2Cfl_progressive%2Ch_150%2Cq_auto%2Cw_150/https://dev-to-uploads.s3.amazonaws.com/uploads/user/profile_image/914166/d8c45bd6-c142-4cad-b48d-fe1ada98b5cc.jpeg)
All Okta Workflows How-To Guides
Okta Workflows Staff for Okta Workflows ・ Aug 23 ・ 1 min read
How to translate an Okta user ID into a Google user ID?
Say you’re doing an off-boarding workflow, and want to trigger off-boarding based on the user account being deactivated in Okta. How do you translate an Okta user ID into a Google user ID (so you can deactivate the user in 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 in order to get the user’s primary email ( Okta – Read User )
- Then use the Google Workspace – Search Users card to search for the user with a specified email address
Note that if Google Workspace – Search Users doesn’t find a user, the card will return null values. You can add logic to handle such case, for example:
Thanks to Darren Jackson, IT Applications Engineer at Invitae, and Dmitri Altum, IT Engineer at Ramp for the question and answer. Darren and Dmitri are members of the MacAdmins Slack #okta-workflows channel.
Workflows are one hell of a drug
📺 Short how-to Workflows videos to help you become a better automation builder.
🔮 A collection of helpful Workflows tips.
Top comments (0)