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 Okta Workflows 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 Okta Workflows or notifications.

This card may timeout while trying to populate the Channel dropdown. This can occur when your workspace has a large number of channels that can't be retrieved within a 60 second time limit. This timeout can also occur when testing a card.
Options
Field | Definition | Type | Required |
---|---|---|---|
Channel |
List of available channels. The member must be able to post a message.
![]() A maximum of 200 public channels and 200 private channels are displayed. Even if the number of public (or private) channels don't exceed 200, API limitations may prevent some channels from being listed in the Channel dropdown. The dropdown will display only those unarchived channels of which the user who created the Slack connection is a member. To specify a public or private channel that is not listed, select the If a failure occurs and no channels are listed in the dropdown, then only the |
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 | Format of the message; options are Plain Text and Blocks ; see Layout blocks.
|
Dropdown | FALSE |

To send a message to a channel as a bot, the bot must be a member of that channel. Invite the bot to the channel using the Invite User to Channel action card. See Invite User to Channel.
Be sure to determine the bot's unique user ID and not the bot's handle or display name, then add that value to the User ID input field of the Invite User to Channel card. Example of a bot's user ID: U01TFSL6JQY
.
To determine the user ID for a bot, use the Read User action card. See Read User.
For additional information on Slack bots, see Enabling interactions with bots.
Input
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 only know the channel name, manually invite the bot to the channel before sending this message; otherwise 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 |
Dropdown | FALSE |
Message | |||
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 |
Slackbot (if Send as Bot? is True) | |||
Name | Name to specify as the sender of the message. | String | FALSE |
Icon Emoji | An emoji to use as the profile photo for the message, specified using a colon shortcode. For example, :owl: | String | FALSE |
Icon URL | A URL to an icon image to use as the profile photo for the message. If no URL is provided, the default bot icon is used. If any value is specified in Icon Emoji, then that value overrides any URL set in this field | String | FALSE |
Output
Field | Definition | Type |
---|---|---|
Timestamp | Timestamp when the message was sent. | String |