Slack and Octopus logos with a connection between them

Act faster with our new Slack integration

Michelle O'Brien
Michelle O'Brien

If a deployment fails in Octopus and no one is around to see it, does it make a sound?

The gap between an event happening and the right person knowing about it is where deployments quietly stall. We’ve had consistent customer feedback that Octopus is one of many tools you use, and it’s easy to miss when something requires your approval or intervention.

We’ve built a Slack integration so Octopus can tell your team what needs action, in the tool they already have open. There are two ways to use it:

  1. Subscriptions: for event notifications that can be scoped to the teams that care about them
  2. Send a Slack Message step: for Slack messages sent from a specific point in a deployment or runbook process

Subscriptions: our notification engine

Subscriptions are an existing feature that let users subscribe to events in Octopus. In addition to webhooks and email notifications, you can now have these updates sent to a Slack channel.

Screenshot showing a subscription that is tracking changes to varaibles in two specfied projects

A couple of suggested Slack channels to help you keep up to date with important events in Octopus without constant monitoring are:

  • #deployment-failures that captures all deployment failures in one place
  • #deployments-variables-changed that notifies when a variable has been updated
  • #octopus-api-expiries that gives you warnings prior to API expiry events
  • #octopus-mcp-oauth that informs when MCP authorization tokens are issued

Screenshot showing a notification in Slack that a variable has changed

If you want your teams to be able to narrow notifications, event filters let you drill down into resources like projects, tags, and environments, so you can update a team channel with events they care about. Keeping your audience narrow and the notifications relevant prevents a mass muting event that makes the integration ineffective.

Slack steps made simple

We have a number of community steps that enable messages to Slack but the set up is more complex, our new Octopus Send a Slack Message step uses the oAuth integration so all you need to do is choose a channel and a message to send.

Screenshot showing a process with a slack step

This step is particularly useful when placed immediately before a manual intervention step. The message goes out the moment the deployment reaches that point, so the approver knows to go and unblock it. The message field supports Slack markdown and Octopus variables, so you can include the project, release number, environment, and a link straight to the deployment.

Screenshot showing a process with a slack step

Learn more

Learn more about setting up the Slack integration here.

What’s next for notifications?

  • We’re gauging interest in a Microsoft Teams integration so if you’re a Teams team comment below.
  • Notify and act: we’re adding webhooks triggers to runbooks so you can use the webhook event in subscriptions to trigger a runbook. Follow along here.

Happy deployments!

Michelle O'Brien

Related posts