Supported actions
Prerequisites
Create an Okta credential
Create an Okta credential
Generate an API token in your Okta admin console, then store it as an Okta credential in Credential Management. Select that credential on every Okta action.
How to use these actions
- Map text inputs from earlier steps. Inputs such as First Name, Last Name, and Email accept a value mapped from a previous step.
- Toggles and Limit take fixed values. The Activate and Send Email toggles and the Limit take fixed values.
- Login must be an email address. The Login is the username and must be formatted as an email address.
- Get accepts an ID or a login. The Get action accepts either a user ID or a login email.
- Get All searches with Okta filter syntax. Use Search Query with Okta filter expressions such as
profile.lastName sw "Smi".
Actions
User
Okta User Create
Creates a new user.Okta User Update
Updates an existing user.Okta User Get
Retrieves a user.Okta User Get All
Lists users.Okta User Delete
Deletes a user.Example
An agent that provisions an account for a new hire:1
Check for an existing account
An Okta User Get All action sets Search Query to a filter on the new hire’s email so a model step can confirm no account already exists.
2
Create the user
An Okta User Create action sets First Name, Last Name, Email, and Login, and leaves Activate on to enable the account.
3
Confirm
A model step summarizes the result, including the returned user ID, for the activity log.
Troubleshooting
Authentication failed
Authentication failed
Confirm the stored API token is valid and has not expired or been revoked, and that it has permission to manage users in your Okta org.
Login is not a valid email
Login is not a valid email
The Login is the username and must be formatted as an email address. Supply a value such as
jdoe@example.com.User not found
User not found
The value passed to User ID does not match a user. Get accepts either a user ID or a login email. Use Okta User Get All to confirm the user before referencing it.
Invalid search filter
Invalid search filter
Search Query must use Okta filter syntax, for example
profile.lastName sw "Smi". An expression that does not parse returns no results.