Okta Workflows Tips #88: Find Users and Update Their Profile Attributes

Short and handy Okta Workflows tips and tricks. Read the full series.

This automation updates a custom profile field for all active users in your Okta org. It runs on a schedule and writes each user’s email address to their Custom 1 profile attribute — a handy pattern whenever you need to populate or sync a profile field across many users at once.

Okta Workflows main flow that runs on a schedule and lists all active users with the List Users with Search action.
Flow runs on schedule and lists active users.

How the flow works

  1. Scheduled Flow trigger runs the flow on a schedule.
  2. Okta – List Users with Search searches for all users with status ACTIVE and streams each user to the helper flow.
Okta Workflows helper flow that updates each user's Custom 1 profile field with the Update User action.
Update user profile.

How the helper flow works

  1. Helper Flow receives a user record object with all user fields and reads the ID, Email, and Login fields.
  2. Okta – Update User updates the user profile using the user ID and sets the Custom 1 field to the user’s Email.

Okta Workflows resources

Leave a Reply

Discover more from Max Katz

Subscribe now to keep reading and get access to the full archive.

Continue reading