Octopus.SendSlackMessage exported 2026-10-18 by Octopus Deploy belongs to ‘Other’ category.
Posts a message to one or more Slack channels using the connected Slack workspace.
Parameters
When this step is included in a project’s deployment process, the parameters below can be set.
Channels
Octopus.Action.Slack.ChannelIds (required)
The Slack channels to post the message to, as a comma-separated list of channel IDs. Only channels the Octopus bot is a member of can be selected.
Example: C012AB3CD
Channel names
Octopus.Action.Slack.ChannelNames
The display names of the selected channels, as a comma-separated list. Used for display and logging.
Example: general,deployments
Message
Octopus.Action.Slack.Message
The message to post, required when the message format is ‘PlainText’. Supports Slack mrkdwn and Octopus variable substitution.
Title
Octopus.Action.Slack.Title
An optional heading shown above the message. Plain text only, truncated at 150 characters, and supports Octopus variable substitution.
Example: Deployment blocked
Message format
Octopus.Action.Slack.MessageFormat
Whether the message body is plain text or a Block Kit payload. Absent means ‘PlainText’.
Allowed values: PlainText, BlockKit
Example: PlainText
Block Kit payload
Octopus.Action.Slack.Blocks
A Block Kit blocks array, used instead of Message when the message format is ‘BlockKit’. Supports Octopus variable substitution; pipe variables that can contain quotes or newlines through JsonEscape.
Example: [{"type":"section","text":{"type":"mrkdwn","text":"Hello"}}]
Page updated on Sunday, October 18, 2026