Библиотека / Оповещения и уведомления
Оповещения и уведомления
Публикация последних инцидентов ServiceNow в Slack в виде сообщений Block Kit
Запускается по вебхуку, получает инциденты ServiceNow, сортирует их от новых к старым, оставляет последние пять и форматирует как сообщения Slack Block Kit.
Что делает
![n8n]({{ $env.WEBHOOK_URL }} ## Sort and format Results for block kit This section begins by organizing the incident data retrieved from ServiceNow. The Sort by Most Recent node arranges the incidents in descending order, ensuring that the latest ones are processed first. Next, the Retain First 5 Incidents node limits the output to the five most recent incidents for clarity and focus. The Loop Over Items node iterates through each incident, allowing the workflow to process them individually. During each loop, the Format Incident Details node structures the details of each incident into a format compatible with Slack’s Block Kit, ensuring readability and a professional appearance. Once all incidents are formatted, the Concatenate Incident Details node aggregates the results into a single, cohesive message. Finally, the Format Slack Message node prepares the Slack message with a friendly greeting, summary details, and links to view the full incidents in ServiceNow. This section ensures that incident information is not only organized but also presented in a visually appealing and actionable manner within Slack.
Шаги
- Parse Webhook
- Close Modal Popup
- Route Message
- ServiceNow Modal
- Webhook
- Send 200
- ServiceNow
- Channel - Notify User no Incidents Matched
- DM - Notify User no Incidents Matched
- Were Incidents Found?
- No Matches - Was a Channel Selected?
- Sort by Most Recent
- Retain First 5 Incidents
- Loop Over Items
Всего шагов: 21.
Похожие автоматизации
ИИ-агенты и ассистентыProduce illustrated, research-based newsletters from Airtable with OpenAI and KitШагов: 40Оповещения и уведомленияПубликация новых инцидентов ServiceNow в SlackШагов: 9Поддержка клиентов и служба помощиПоиск инцидентов ServiceNow из Slack с модальными окнамиШагов: 71Поддержка клиентов и служба помощиПоказ последних инцидентов ServiceNow во всплывающем окне SlackШагов: 21