Step 3: Create the Else branch
- In the Run when FALSE portion of the If/Else branch, click .
-
Drag and drop the Body from the Custom API Actions card to the value a field of the Continue If card.
-
In the comparison field, select is not empty.
-
Click
. -
Click
. -
Drag and drop the date field form the Now card to the start field of the Unix card.
-
Click the output field of the Unix card and select Customize.
-
In the Unix card, enter
generatedID
in the display name field. -
Click
. -
Drag and drop the prefix value from the first Concatenate card into text1 of the new Concatenate card.
-
Drag and drop generatedID from the Unix card into text2 of the new Concatenate card.
-
In the input field, enter your preferred domain name (in the format
@domain.com
). -
Click the output field of the Concatenate card and select Customize.
-
Enter
_unique_email_address_
in the display name field. -
In the Run when FALSE portion of the If/Else branch click
. -
Enter the following:
{ "commands": [ { "type": "com.okta.appUser.profile.update", "value": { "email": "" } } ]}
-
Drag and drop the unique_email_address field from the Concatenate card into the blank space of the compose card (after email":").
-
Click the output field of the Compose card and select Customize.
-
Enter
import_inlinehook_response
in the display name field. -
In the Run when FALSE portion of the If/Else branch, click
. -
Drag and drop theimport_inlinehook_response field from the Compose card into the body of the Return Raw card.
-
Click Save, and then name your flow. Be sure to select Save All Data.
-
In the Okta Workflows Console, toggle the Flow is OFF switch to ON.