Templates / Predict SLA breach risk and escalate ServiceNow incidents with Slack alerts

Predict SLA breach risk and escalate ServiceNow incidents with Slack alerts

Ready for 3.0

by iamvaar ✓ · 8 views · created 2026-08-30 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 14 nodes and runs on a schedule (every 15 minutes). Along the way it connects Slack and ServiceNow.

How it runs

Trigger: On a schedule (every 15 minutes).

  1. Retrieve Current Incidents (ServiceNow): get many (incident)
  2. Set Incident Field Data (Edit Fields (Set)): sets 6 fields: sys_id, number, priority…
  3. Group Incidents by Category (Code): runs custom JavaScript code
  4. Batch Process Incidents (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Compute Breach Probability (Code): runs custom JavaScript code
  6. Retrieve Past Resolutions (ServiceNow): get many (incident)
  7. Limit: keeps the first few items
  8. Pause for 1 Second (Wait): waits 1 seconds
  9. Check Breach Risk > 70% (If): checks a condition and branches into true / false
  10. Escalate SLA Breach Incident (ServiceNow): update (incident)

…plus 2 more steps. See the full node list below.

Services it uses

SlackServiceNow

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Quick overview Video Demo : https://youtu.be/rjEGRcFq2L0 This workflow polls ServiceNow every 15 minutes to estimate SLA breach risk for open incidents using recent resolution history, then escalates high-risk tickets in ServiceNow and alerts a Slack channel.…

Excerpt from iamvaar's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.