ComponentsActions

Okta

Manage Okta user accounts from inside an agent workflow.

Okta actions let an agent manage user accounts directly in a flow. An agent can create, update, look up, list, and delete users, then pass the results to later steps.

Supported actions

GroupActions
UserCreate, Update, Get, Get All, Delete

Prerequisites

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.

InputRequiredDescription
First NameYesThe user's first name.
Last NameYesThe user's last name.
EmailYesThe user's email address.
LoginYesThe username, which must be formatted as an email address.
ActivateNoWhether to activate the user on creation. Defaults to on.
Mobile PhoneNoThe user's mobile phone number.
Second EmailNoA secondary email address for the user.
DepartmentNoThe user's department.
TitleNoThe user's job title.
Display NameNoThe name shown for the user.

Okta User Update

Updates an existing user.

InputRequiredDescription
User IDYesThe unique identifier of the user to update.
First NameNoThe user's first name.
Last NameNoThe user's last name.
EmailNoThe user's email address.
LoginNoThe username, which must be formatted as an email address.
Mobile PhoneNoThe user's mobile phone number.
Second EmailNoA secondary email address for the user.
DepartmentNoThe user's department.
TitleNoThe user's job title.
Display NameNoThe name shown for the user.

Okta User Get

Retrieves a user.

InputRequiredDescription
User IDYesA user ID or a login email identifying the user to retrieve.

Okta User Get All

Lists users.

InputRequiredDescription
Search QueryNoAn Okta filter expression to match users, such as profile.lastName sw "Smi".
LimitNoMaximum number of users to return, from 1 to 200. Defaults to 200.

Okta User Delete

Deletes a user.

InputRequiredDescription
User IDYesThe unique identifier of the user to delete.
Send EmailNoWhether to send a deactivation email to the administrator. Defaults to off.

Example

An agent that provisions an account for a new hire:

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.

An Okta User Create action sets First Name, Last Name, Email, and Login, and leaves Activate on to enable the account.

A model step summarizes the result, including the returned user ID, for the activity log.

Troubleshooting

For issues common to every vendor, see the Actions overview.

Was this page helpful?

On this page