Send Direct Message

Send a direct message to a Slack user on your team.

Options

Field Definition Type Required
Unfurl URLs? Indicates whether Slack should scan links found in messages and create attachments based on the link's contents Boolean TRUE
Field Type Indicates which input field is used to identify the user; options are User ID or Username. Dropdown TRUE

Input

Input fields are dependent on the field type selection.

Field Definition Type Required
Username Slack username of the person to send the message to (without the @ symbol) String TRUE
User ID Unique ID of the Slack user String TRUE
Message
Text Message text (may include emojis:, #channels, @users, and /commands) String FALSE

Output

Field Definition Type
Timestamp Timestamp when message was sent String

Related topics

Slack connector

About the elements of Okta Workflows

Slack API