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.
Options
Field | Definition | Type | Required |
---|---|---|---|
Channel |
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 ![]() 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 |
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 |
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 use the channel name, an error will be returned. |
String | TRUE |
Channel Type |
Indicates the type of channel selected; options are 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 | 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 |
Output
Field | Definition | Type |
---|---|---|
Timestamp | Timestamp when the message was sent | String |