> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/continuous-delivery/troubleshooting-and-resources/armory/general/configuring-slack-notifications-with-sendcompactmessages-to-send-a-shorter-and-more-compact-message.md).

# Configuring Slack notifications with sendCompactMessages to send a shorter and more compact message

### Introduction <a href="#introduction" id="introduction"></a>

By default, Slack notifications are sent with a verbose message including details about the stage it was triggered from. This message can be unnecessarily detailed, especially if using a custom message. By enabling `sendCompactMessages` , a less verbose Slack message will be sent with only necessary information.

#### Without `sendCompactMessages` enabled: <a href="#without-sendcompactmessages-enabled" id="without-sendcompactmessages-enabled"></a>

\*\* \*\*

#### with `sendCompactMessages` enabled: <a href="#with-sendcompactmessages-enabled" id="with-sendcompactmessages-enabled"></a>

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

Slack notifications enabled: <https://docs.armory.io/armory-enterprise/armory-admin/notifications-slack-configure/>

### Instructions <a href="#instructions" id="instructions"></a>

In addition to the above Slack notifications configuration in `spec.spinnakerConfig.config.notifications.slack`, add the following to the Echo profile: apiVersion: spinnaker.armory.io/v1alpha2 kind: SpinnakerService metadata: name: spinnaker\
spec: spinnakerConfig: profiles: echo: # equivalent of echo-local.yml slack: sendCompactMessages: true
