# 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="/pages/IcUjCEYEjWrNej1igYET" %}
[Group Escalations](/collection/platform/platform-core/alert-and-escalation/escalations/group-escalations.md)
{% 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="/pages/lUdHpKau2od0aDuILzYr" %}
[Twig Templating in BuildingPro Suites](/collection/academy/twig-templating-in-eliona.md)
{% 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.buildings.ability.abb/collection/platform/platform-core/alert-and-escalation/escalations/notification-provider/slack.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
