# Slack

## Slack Notifications in BuildingPro Suites

The **Slack** notification provider in BuildingPro Suites enables the configuration and management of notifications that are delivered directly in a Slack channel or group. This is particularly helpful for forwarding alarms and other important information to teams in real time.

***

## Configuration

<figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FZQACGgfcqQhrYgytCjQy%2Fimage.png?alt=media&#x26;token=beb730a9-3310-4b6b-b532-a927c2d77281" alt=""><figcaption></figcaption></figure>

* **Note:** Enter a note or description that is relevant for the configuration. This could be the name of the Slack channel, for example.
* **Token:** Enter the token that is required for authentication with Slack. This token must be generated in the Slack administrator area.
* **Save:** Click on **"Save"** to apply the configuration.

***

## Combining Alarms

Alarms can also be grouped here as with other notification providers. This allows you to summarize multiple alarms and send them in a single message.

{% content-ref url="../group-escalations" %}
[group-escalations](https://docs.buildings.ability.abb/collection/platform/platform-core/alert-and-escalation/escalations/group-escalations)
{% endcontent-ref %}

***

## Slack Templates

<figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2Fw3Ov7nh7kGsVf3NxBZD8%2Fimage.png?alt=media&#x26;token=609f7e80-985e-49b4-b85c-8b5351734958" alt=""><figcaption></figcaption></figure>

BuildingPro Suites offers the possibility to customize individual templates for Slack notifications. These templates define what the text style, structure, and content of the notification look like.

{% content-ref url="../../../../../academy/twig-templating-in-eliona" %}
[twig-templating-in-eliona](https://docs.buildings.ability.abb/collection/academy/twig-templating-in-eliona)
{% endcontent-ref %}

* **Customize template:** Navigate to your Slack template and click on the edit symbol.
* **Override standard:** Activate the **"Override standard"** option to make individual changes to the template. As soon as this option is active, you can edit the notification text.
* **Format & style edit:** The Slack text can be customized to make the desired message clear and easy to understand.

  **Example for an alarm text:**

  ```csharp
  BuildingPro Suites Alarm: {{asset.name}} ({{asset.gai}}) - {{alarm.msg}}
  {% if alarm.gone_ts is null %}https://{{domain_name}}/alarms?alarm_id={{alarm.alarm_id}}
  {% else %}https://{{domain_name}}/alarms/history{% endif %}
  ```
* **Save:** Click on **"Save"** to apply the changes. All future notifications will then use the customized template.
