Step 8: Send a user activated Slack message
- In your helper flow, click .
-
Select Okta, and then choose Read User.
-
In addition to the selected attributes, choose Username, First name, and Last name. Click Done.
-
Drag and drop the userID from the Helper Flow card to theID or Login field on the Read User card.
-
Click
. -
In the Compose card, enter your message. Drag and drop the values from the other cards where applicable:
Contractor [First Name] [Last Name] ([Username]) has been [status]. Their account will be automatically suspended on [suspendDate].
-
Save the flow.
-
Click
. -
Select Slack from the list of applications, and then select Send Message to Channel. You may be prompted to choose your Slack connection.
-
Select the channel you want to send the message. Our selected channel is
contractor_onboarding
. -
Select Yes to send the message as a bot, and then click Done.
-
Select all Inputs and Outputs, and then click Done.
-
Drag and drop the output from the Compose card to the Text field in the Send Message to Channel card.
-
In the Name field, enter
Onboarding Bot
.