Step 5: Send a Slack message

  1. In the same flow, click Add AnotherFunctionTextCompose.
  2. In the Compose card, enter New contractor added to Okta.

  3. Drag and drop the displayName from the User Created card to the Compose card.

  4. Drag and drop the userName from the Read User card to the Compose card. Put this attribute in parentheses.

  5. Enter Activation Date: and Suspend Date: in the Compose card.

  6. Drag and drop the Activation Date from the Read User card to the Compose card.

  7. Drag and drop the Suspend Date from the Add card to the Compose card.

  8. Click Add AnotherAction.

  9. Select Slack from the list of applications, and then select Send Message to Channel. You may be prompted to choose your Slack connection.

  10. Select the channel you want to send the message. Our selected channel is contractor_onboarding.

  11. Select Yes to send the message as a bot, and then click Done.

  12. Select all Inputs and Outputs, and then click Done.

  13. Drag and drop the output from the Compose card to the Text field in the Send Message to Channel card.

  14. In the Name field, enter Onboarding Bot.

  15. Save the flow.

Next steps

Step 6: Build a flow to activate users