Logo
ХелпдескУправление знаниямиБизнесуТарифыЧто такое KCS?Блог
Русский
Личный кабинет
Автоматизации и интеграции
© 2023 - 2026 ООО «Свормика». Swarmica - Платформа управления знаниями и ресурсами техподдержки. Версия: 6.1.2

#1806: How to set up sending notifications about Swarmica events to Slack

Отредактирована: сегодня

Instructions

To set up notifications in Slack, you need to create a webhook for the appropriate channel of this kind: https://https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

  1. Log in to Swarmica as an Administrator.

  2. Create a webhook in Settings - Outgoing Webhooks, enter Name, URL of the webhook, method - POST, and in the Data field, enter data of the following kind:

{
 "text": "<text>",                 # message text
 "channel": "<channel_name>",      # channel name
 "username": "<username>",         # on whose behalf the message was sent (the existence of a real user with such a name is not necessary)
 "icon_url": "<icon_url>"          # (optional) URL of the icon that will be displayed before the username
}

More detailed information about the data format can be found in the official Slack documentation

More information on how to form the notification text can be found here.

  1. Create an action on the event in Settings - Actions on Event - Create - Outgoing Webhook

  1. On the page that opens, enter Name, select the created webhook as Action, select Event Type, set the necessary conditions, set Status - enabled and click Save.