Notification on Workflow execution Failure

Hey

I’m running a self-hosted n8n instance. I’m long in an Option to send a Slack notification when an execution fails for any reason.

Initially, I tried using the n8n: Get Execution node. However, this node does not seem to be working, so as an alternative, I have used an HTTPS node to make an API call. I am able to get a list of Error executions in the last 24 hours, and I get the Workflow ID of the failed workflow, but I need the workflow name so we have some meaning to the notification.

So, my question is:

  1. Is there is better way of getting a notification for All Failed executions
  2. Is the built-in n8n node broken?

Debug info

core

  • n8nVersion: 2.1.5
  • platform: docker (self-hosted)
  • nodeJsVersion: 22.21.1
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: -1
  • license: enterprise (production)
  • consumerId: bd042d89-36c3-4b09-92a4-b89a01b73846

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/143.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2026-01-12T12:55:03.754Z

Hi @Anurag_Vuppala,

The short answer is yes, you can definitely get notified on errors.

Quick question, do you want to get notified as and when errors occur, or only at the end of the day with a list of failed executions?

Thanks for the response @Wouter_Nigrini

Ideally, when the error occurs, but I don’t want to add error handling to all workflows.
I already have a workflow(with HTTPS node) to send a list of failed workflows.

Ok then it is real simple. Create a new workflow and call it something like “Error Workflow” and then use the below example:

Then in the workflows you want to be notified when erroring out, click the 3 dots top right and then settings. Then select the Error Workflow for errors and save the execution data if you want to keep the detail intact:

Update the error workflow to now setup any notification medium you want to use. I use telegram and email as an example.