Send Message to Channel

Send a message to a Slack channel. You must be a member of the channel. You can send the message as a bot or from your own ID.

When sending messages as a bot, you will trigger any Flows that look for a New Message in Channel event. If you are subscribed to channel notifications, you will receive a notification when you send messages as a bot. Sending from your own ID will not trigger Flows or notifications.


Field Definition Type Required

List of available channels of which the user who created the connection is a member and to which they can post a message.

To enter a channel ID manually, select -- Enter Channel ID -- from the dropdown and populate the Channel ID field. Note: If that user is already a member of the channel, then the Already in channel message will be returned.


A maximum of 12,000 public channels will be displayed.

Dropdown FALSE
Send as Bot?

Indicates whether to send a message from a bot; options are yes to send the message from a bot or no to send it from your own ID

Dropdown FALSE
Unfurl URLs? Yes, if Slack should scan links found in messages and create attachments based on the link's contents; No, otherwise. Dropdown FALSE
Message Type The format of the message; options are Plain Text and Blocks; see Layout blocks. Dropdown FALSE


Field Definition Type Required
Channel (if Enter Channel ID is selected for Channel)
Channel ID or Name

Unique identifier or assigned name of the Slack channel.


If you want to send a message to a private channel as a bot, you must provide the channel ID. If you use the channel name, an error will be returned.

String TRUE
Channel Type

Indicates the type of channel selected; options are Public or Private.

If you want to send a message to a private channel as a bot, the Okta Workflows Slack app (for Preview or Production orgs) must be invited to the private channel. Otherwise, a 400 - Channel Not Found error will be returned.

Dropdown FALSE
Text Message text (may include emojis:, #channels, @users, and /commands) String TRUE
Slackbot (if Yes is selected for Send as Bot?)
Name Name of the sender from the slackbot channel (if Send as Bot? option is yes) String FALSE


Field Definition Type
Timestamp Timestamp when the message was sent String

Related topics

Slack connector

About the elements of Okta Workflows

Slack API