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
- Navigate to your project’s deployment process and click Add step.
- Search for and select Send a Slack Message.
- Give the step a short memorable name.
- 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.
- Enter the Message to post.
- Set conditions to determine when the step runs.
- 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.
Page updated on Friday, July 3, 2026