List Users With Filter

List users in Okta based on the filter provided.

The input and output fields in this card are dynamically generated based on your instance.

Options

Field Definition Type Required
Result Set

Choose one of the following options to display your search results:

  • First Matching Record: returns a single record

  • All Matching Records: returns all matching records, in list format

Dropdown FALSE
Caution

When using the All Matching Records option, a maximum of 10,000 users are returned in any search result. This limit helps ensure proper system performance. However, additional custom user properties or other user data in the result set may cause a flow to exceed system limitations unexpectedly and cause an out-of-memory error to occur.

Input

Field Definition Type Required
Status Status of the Okta user - STAGED, PROVISIONED, ACTIVE, RECOVERY, LOCKED_OUT, PASSWORD_EXPIRED, SUSPENDED, or DEPROVISIONED. Dropdown FALSE
Last Updated Time stamp when the user was last updated. String FALSE
ID Unique identifier of the user. String FALSE
Login Login username of the user (usually in the form of an email address). String FALSE
Email User’s primary email address. String FALSE
First Name User’s first name. String FALSE
Last Name User’s last name or family name. String FALSE
Custom Filter

List users that match your custom filter. For example:

  • To list all staged users, use status eq "STAGED".
  • To list users based on First Name or Email, use profile.firstName eq "value1" or profile.email eq "value2" where value1 and value2 are specific values for a First Name and Email fields, respectively.
  • For examples of custom filters, see Filter Examples.
String FALSE

Output

Field Definition Type
Raw Output Raw output returned by the Okta API. Object
ID Unique identifier of the user. String
Status Current status of the user. String
Created Timestamp when the user was created. String
Activated Timestamp when the user was activated. String
Status Changed Timestamp when the user's status was changed. String
Last Login Timestamp when the user last logged in. String
Last Updated Timestamp when the user was last updated. String
Password Changed Timestamp when the user's password was changed. String
First Name User’s first name. String
Last Name User’s last name or family name. String
Mobile Phone User’s mobile phone number. String
Second Email User’s secondary email. String
Login Login username of the user (usually in the form of an email address). String
Email User’s primary email address. String

Related topics

Okta connector

About the elements of Okta Workflows

Okta API