Send Slack Message to Channel

Sends a message to a Slack channel or user. Supports plain text, Block Kit formatting, @here mentions, and user alerts.

What it does

  • Posts a message to the specified Slack channel (or DM to a user).
  • Optionally mentions @here and/or specific users.
  • Supports Slack Block Kit for rich formatting.

Notes

  • Set "Send to Channel" to true for channel messages, false for direct messages.
  • Use Block Kit Builder (https://app.slack.com/block-kit-builder/) to generate blocks JSON.
  • When using blocks, the Message field is used as fallback/accessibility text.

Inputs

NameTypeDescription
MessageStringThe message text (or fallback text when using blocks)
Channel NameStringSlack channel name to post to
Slack TokenString (sensitive)Slack API token
User AlertsListList of user IDs to mention/alert
HereBooleanWhether to include @here mention
Send to ChannelBooleanTrue for channel message, false for DM
Use block formattingBooleanWhether to use Block Kit formatting
BlocksListSlack Block Kit blocks array

Outputs

NameTypeDescription
SuccessBooleanWhether the message was sent