Templates / Log n8n workflow errors to your REST API with Slack alerts and metrics

Log n8n workflow errors to your REST API with Slack alerts and metrics

Ready for 3.0

by Manu ✓ · 16 views · created 2026-02-03 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 24 nodes and runs when another workflow fails (error workflow). Along the way it connects Slack.

How it runs

Trigger: When another workflow fails (error workflow).

  1. Extract Metadata (Code): runs custom JavaScript code
  2. Extract Environment (Code): runs custom JavaScript code
  3. Classify Error (Code): runs custom JavaScript code
  4. Generate Error Hash (Code): runs custom JavaScript code
  5. API - Check Duplicate (HTTP Request): calls an HTTP API
  6. Is New Error? (If): checks a condition and branches into true / false
  7. Format Log Entry (Code): runs custom JavaScript code
  8. API - Save Log (HTTP Request): calls an HTTP API
  9. Alert Router (Switch): routes items into branches
  10. Format Critical Alert (Code): runs custom JavaScript code

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

Services it uses

Slack

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

Track all n8n workflow failures with automatic error capture, severity classification, duplicate detection, Slack alerting, performance metrics, and log retention. WHAT IT DOES: Runs as an error sub-workflow attached to any workflow you want to monitor…

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