Send a Slack Message step

The Send a Slack Message step posts a message to one or more Slack channels during a deployment or runbook run. You can use it to notify your team when a deployment succeeds or fails, or at any point in your deployment process.

The Send a Slack Message step is available from Octopus Server version 2026.3.5228.

You can add this step to a process at any time. If a Slack workspace isn’t connected yet, the step editor shows a prompt to set one up. See Slack integration for instructions.

Add the step

  1. Navigate to your project’s deployment process and click Add step.
  2. Search for and select Send a Slack Message.
  3. Give the step a short memorable name.
  4. Select one or more Channels to post to. For more information on what channels the Slack app can post to, see public and private channels.
  5. Enter the Message to post.
  6. Set conditions to determine when the step runs.
  7. Save the deployment process.

Message formatting

The message field supports Slack markdown formatting and Octopus variable substitution.

Example

#{Octopus.Project.Name} #{Octopus.Release.Number} to #{Octopus.Environment.Name} has #{if Octopus.Deployment.Error}failed#{else}completed successfully#{/if}. <#{Octopus.Web.ServerUri}#{Octopus.Web.DeploymentLink}|View deployment>

See system variables for the full list of variables available during a deployment.

Help us continuously improve

Please let us know if you have any feedback about this page.

Send feedback

Page updated on Friday, July 3, 2026

Use Octopus docs with AI