The following is a summary of questions and answers from the Okta Workflows community office hours on Thursday, October 24, 2024. I edit some questions for clarity.

New to Okta Workflows
The Getting Started with Okta Workflows page has all the resources to help you get started.
Community forum
Consider posting your questions in the Okta Workflows community forum for a faster response or if there are no open spots in the next office hours session.
Office hours questions and answers
How to get and action on information from objects retrieved via Okta API?
We have several KB articles showing how to get values from a JSON object:
- Examples Extracting Values from a JSON Object in Workflows.
- How to Extract Key-Value Pairs from a JSON Payload with Multiple Objects in Workflows.
- How To Get Multiple Values From an API Call JSON Response in Okta Workflows.
- Access JSON Data in an API Response.
How to return just the Application ID with the Okta “List Applications Assigned to User”?
The Okta – List Applications Assigned to User card returns a list. Pass the list to the List – Pluck card to retrieve a list of application IDs.

The Pluck card returns only the application IDs.
[
"0oa11rzes887o8c3Q0h8",
"0oa11rzesnbKttnGX0h8"
]
Now you can process the list in a way you need.
Looking at the upcoming card changes – which flows may be affected.
We keep card changes backward compatible unless otherwise stated in the Release Notes.
How can I retrieve log information from a user profile? Specifically, I want to see applications that a user was assigned to prior to their termination. I want to then add those applications to a flow that creates an offboarding ticket and lists those apps.
You can search the log, but another solution (and it would be better) is to use the Okta List Applications Assigned to User card.
We set up a Google Drive connection. Can we access another user’s files with this connection?
The Google Drive connector supports the following scopes:
- https://www.googleapis.com/auth/drive
- https://www.googleapis.com/auth/admin.directory.user.readonly
- https://www.googleapis.com/auth/admin.datatransfer
About accessing other user accounts:
The Google Drive connector doesn’t support shared drives or sharing links. A user’s connection cannot be used to access files in another user’s account.
Use the API Connector – Raw Request to make a call to Google Drive API. The Raw Request allows you to add any scopes to the request.
I’m trying to capture a user’s status and pass it to another application, but the status is not on the user’s profile, so I’m looking for options.
There are two approaches to trigger a flow when user’s status changes:
- Use the built-in event cards.
- Set up an event hook.
| Status | Okta Workflows event card |
|---|---|
| Staged | Status prior to user created, no event card exists. |
| Provisioned | Status prior to user created, no event card exists. |
| Active | User Activated. |
| Recover | User Okta Password Reset by an Admin. |
| Password Expired | Use the user.account.expire_password event type to create an event hook. |
| Suspended | User Suspended. |
| Deactivated | User Deactivated. |
You can also review the event types in the following groups to find out about the actual Okta event:
- user.lifecycle.*
- user.account.*
And you can see the actual event Okta when you add the event card (description under the event name):

Working with any non-defined search seems complicated. Very simple questions like “Give me all the Okta users with this domain?” or “Show me everyone not in this group?”
The following KB articles provide possible solutions:
- How to Pull a List of All Users With a Specific Email Domain.
- Search for Users using Custom Search Criteria in Workflows.
- How to Search for Groups Using Custom Search Criteria in Workflows.
- Search for Users Using Contains in Workflows.
Get in touch
Email me if you have questions or sign up for our next office hours session.
Okta Workflows resources
π« Get help from Workflows specialists during weekly community office hours.
πΊ Learn from Workflows videos.
π Ask questions on the Okta Workflows community forum.
ππ»ββοΈ Get help from the community: join the #okta-workflows channel on MacAdmins Slack.
Leave a comment