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.

Organizations with a large number of users may experience long execution times when selecting Username. Instead, select User ID to reduce execution time.

Dropdown TRUE
Message Type Format of the message; options are Plain Text and Blocks; see Layout blocks. Dropdown FALSE

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 identifier of the user. String TRUE
Message (if Message Type is Plain Text)
Text Text of the message (may include emojis:, #channels, @users, and /commands). String TRUE
Thread Timestamp Timestamp of another message's ts value. See Retrieving individual messages.

Note: Never use the ts value from a reply. Use the ts value of the reply's parent, instead.

String FALSE
Message (if Message Type is Blocks)
Blocks Blocks that comprise the message. Add a block by clicking + click to add item. See Layout blocks. String TRUE
Notification Message A fallback string to display in notifications. String TRUE
Thread Timestamp Timestamp of another message's ts value. See Retrieving individual messages.

Note: Never use the ts value from a reply. Use the ts value of the reply's parent, instead.

String FALSE

Output

Field Definition Type
Timestamp Timestamp when the message was sent. String

Related topics

Slack connector

Elements of Workflows

Slack API