Step 2: Create an If/Else decision branch
- In the Workflows Console, click .
-
Drag and drop the body of the Custom API Action card to the value a field in the If/Else card.
-
Select is empty from the comparison field and click Done
-
In the Run when TRUE portion of the If/Else branch click
. -
Enter the following:
{ "commands": [ { "type": "com.okta.appUser.profile.update", "value": { "email": "" } } ]}
-
Drag and drop the emailaddress field from the Concatenate card into the blank space (after "email":) of the compose card.
-
Click the output field of the Compose card and select Customize.
-
Enter import_inlinehook_response in the display name field.
-
In the Run when TRUE 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.