Step 1: Build the flow
-
In Admin Console, go to .
-
In the Workflows Console, click New Flow. Optionally, if you have a folder where you'd like to store the flow, open it and click Create a Flow Now.
-
Click Add New Event, and then select Okta from the menu of applications.
-
In the Okta events menu, select User Suspended.
-
In the Workflows Console, click Function, and then select Compose.
-
In the Compose card, type the following message:
Hello, the user with username has been suspended. Just wanted to make you aware
. (Leave a blank space afterusername
.) -
Drag and drop the user's
Alternate ID
field from the Okta - User Suspended card to the blank space in the Compose card. -
In the Workflows Console, go to .
-
Select Office 365 Mail from the menu of applications, and then chooseSend Email from the Actions menu.
-
If you haven't authenticated your Office 365 account, complete the prompt steps.
-
In the Send Email card, enter an email address into the To field.
-
Drag and drop the output from the Compose card to the Body field of the Send Email card.
-
Enter
User Suspension Notification
in the Subject field of the Send Email card.