Step 5: Send a Slack message
- In the same flow, click .
-
In the Compose card, enter
New contractor added to Okta
. -
Drag and drop the displayName from the User Created card to the Compose card.
-
Drag and drop the userName from the Read User card to the Compose card. Put this attribute in parentheses.
-
Enter
Activation Date:
andSuspend Date:
in the Compose card. -
Drag and drop the Activation Date from the Read User card to the Compose card.
-
Drag and drop the Suspend Date from the Add card to the Compose card.
-
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
. -
Save the flow.