Automated Microsoft 365 Service Alert Summary to Slack

somdn_product_page

This n8n workflow automates the process of monitoring Microsoft 365 service health alerts, summarizing them, and notifying stakeholders via Slack. It begins with a trigger that checks for new service alerts from Microsoft Outlook, specifically emails from o365mc@microsoft.com, polling every minute. When a new alert is detected, the workflow extracts and cleans relevant incident details from the email content, including the incident ID and link, using a custom code node with cheerio for HTML parsing. The extracted information is then summarized into a concise, clear message with appropriate emojis indicating the alert status (investigating, fix in progress, service restored, outage) using OpenAI’s GPT-4 model. This summary is formatted into a Slack Block Kit message with a button linking directly to the incident details, providing an interactive and informative notification. Finally, the original email alert is deleted to prevent duplicates. This workflow is useful for IT teams or support staff who want real-time, actionable alerts from Microsoft 365 directly in Slack, facilitating quick responses to service issues.

Node Count

6 – 10 Nodes

Nodes Used

@n8n/n8n-nodes-langchain.openAi, code, microsoftOutlook, microsoftOutlookTrigger, slack

Reviews

There are no reviews yet.

Be the first to review “Automated Microsoft 365 Service Alert Summary to Slack”

Your email address will not be published. Required fields are marked *