Templates / Route workflow error incidents to Slack alerts with a Notion incident log

Route workflow error incidents to Slack alerts with a Notion incident log

Ready for 3.0

by Tooba Mehmood · 24 views · created 2026-07-06 · DevOps, 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 21 nodes and runs when another workflow fails (error workflow) (plus 1 other trigger). Along the way it connects Notion and Slack.

How it runs

Trigger: When another workflow fails (error workflow) (plus 1 other trigger).

  1. Set Error Notification Config (Edit Fields (Set)): sets 6 fields: notion_database_id, slack_channel_id, minimum_slack_severity…
  2. Retrieve Open Incidents (Notion): get many (database page)
  3. Clean Error Details (Code): runs custom JavaScript code
  4. Craft Digest Message (Code): runs custom JavaScript code
  5. Classify Error Severity (Code): runs custom JavaScript code
  6. Check Digest Transmission (If): checks a condition and branches into true / false
  7. Build Incident Info (Code): runs custom JavaScript code
  8. Deliver Daily Digest to Slack (Slack): uses Slack
  9. Search Existing Incidents (Notion): get many (database page)
  10. Check Incident Exists (If): checks a condition and branches into true / false

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

Services it uses

NotionSlack

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 (8)

From the author

Quick overview This workflow captures n8n workflow execution errors, classifies and deduplicates them, logs incidents to a Notion database, and routes high-severity alerts to a Slack channel, with an optional daily Slack digest of open incidents. How it works…

Excerpt from Tooba Mehmood'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.