To get error alerts in n8n, build one separate workflow that starts with the Error Trigger node, add a Slack or email node after it, then select that workflow as the "Error workflow" in the settings of every workflow you want monitored. One handler can cover many workflows, so you only build the alert once.

The sharpest pitfall: you cannot test an error workflow by clicking "Execute workflow" on it. The Error Trigger only fires on real, automatic failures, so a handler that looks finished may never have been proven to work. Step 5 covers how to force a safe failure instead.

What you need before you start

You need an n8n instance (n8n Cloud or self-hosted Community Edition), at least one workflow worth monitoring, and a destination for alerts. Slack and email are the usual choices, and both are covered by n8n's own nodes.

On cost: according to n8n's pricing page, Cloud Starter begins at €20/mo on annual billing with 2.5K executions a month, and Pro begins at €50/mo with 10K. There is no permanent free cloud tier, though Starter and Pro offer a trial without a credit card that includes 1,000 executions. The self-hosted Community Edition is available if you would rather run it yourself.

One detail matters for budgeting: an error workflow is itself a workflow, so each alert it sends is an execution. That is trivial in normal conditions and noticeable during an outage, which we return to below.

Step 1: Create the error workflow with an Error Trigger

Create a new workflow and make the Error Trigger node the first node. Name the workflow something unmistakable, such as "Error Handler", and save it.

Naming matters more than it sounds. Once you have a dozen workflows, the dropdown in the next step lists them all by name, and a vague title like "My workflow 4" invites picking the wrong one.

The Error Trigger node has no parameters to configure. Its job is to receive the failure data from whichever workflow broke.

According to n8n's docs, the default output contains two objects:

  • workflow: the ID and name of the failed workflow
  • execution: the error message, the stack trace, the last node executed, and the run mode

Two more fields are conditional. execution.retryOf appears only when the failed run was itself a retry. execution.id and execution.url are missing if the execution was not saved, or if the trigger node of the main workflow is the thing that failed.

That last case is worth understanding. When the main workflow's trigger fails, the output has a thinner execution object and an extra trigger object containing the error name, message, cause, timestamp, and failing node. If your alert message assumes execution.url always exists, those alerts will arrive with a blank link. Build for both shapes.

Step 2: Add the alert node

Connect a notification node to the Error Trigger. A Slack message to a dedicated channel is the most common pattern for small teams, and an email node is the fallback for people who live in their inbox. n8n's docs give both as examples of what an error workflow can do.

We could not confirm node-specific field layouts for the Slack and email nodes from the sources we checked, so rather than quote exact field labels, here is what the message should contain. Use n8n's expression editor to pull the values from the incoming data:

  • Workflow name: {{ $json.workflow.name }}
  • Failing node: {{ $json.execution.lastNodeExecuted }}
  • Error message: {{ $json.execution.error.message }}
  • Execution link: {{ $json.execution.url }}

Check the exact paths against the output panel after your first real failure, since the Error Trigger's field names are easiest to confirm by looking at the data it actually produced.

Keep the message short. The person reading it on a phone needs three things: which workflow, which step, and a link to open the run. A full stack trace in a Slack message gets muted within a week. If you want it, put the trace in a thread or leave it in the execution log.

If your team is also building out shared tooling, the same alert-channel habit pairs well with an AI-powered internal help desk, where a "failed automation" channel is a natural intake point.

Step 3: Save and publish the handler

Save the error workflow. The n8n docs for the Error Trigger node include a step to publish the workflow that contains it. Whether that is worded as "publish" or "activate" depends on your n8n version, and we could not confirm which applies to the current interface, so look for the toggle or button that makes the workflow live and use it.

A handler that is saved but not live is the most common reason an alert never shows up. Treat "is the handler live?" as the first thing to check when alerts go missing.

Step 4: Attach the handler to the workflows you want monitored

Open the workflow you want to monitor. Go to Options > Settings, find the Error workflow dropdown, choose your handler, and save.

Repeat this for each workflow. The same handler can be selected everywhere, which is the point: one Slack formatting change updates every alert at once.

Two behaviors are easy to miss:

  1. Nothing is inherited. There is no global default. A new workflow you build next month has no error workflow until you set one, so add this to your build checklist.
  2. The handler monitors itself by default. According to n8n's docs, a workflow containing an Error Trigger uses itself as its error workflow unless you change it. That is fine for a simple handler, but it means a broken Slack node in the handler has nowhere to report to.

Step 5: Test it with a deliberate failure

Because manual runs of the handler do not fire the trigger, you need a real failure in a monitored workflow. The cleanest method is the Stop and Error node.

Add a Stop and Error node to a test workflow that has your handler selected. It makes an execution fail on purpose, which triggers the error workflow. It offers two Error Type options:

  • Error Message: throw a plain text message, for example "Test failure: ignore"
  • Error Object: throw a JSON object of error properties, useful when you want structured fields in your alert

Run the test workflow and confirm the Slack message or email arrives. Then inspect the Error Trigger's output from that execution and fix any expression paths that came back empty.

Stop and Error is also a production tool, not only a test device. If an API returns a 200 status with an empty or invalid body, n8n considers the step successful and nothing alerts. Add an IF node that checks the response and routes the bad branch into Stop and Error, and that silent data problem becomes a visible alert.

Where error alerts break, and how to fix them

The alert never arrives. Check, in order: the handler is live, the monitored workflow has the handler selected under Settings, and you are testing with a genuine failure rather than a manual run of the handler.

The execution link is empty. Per the docs, execution.id and execution.url are absent when the execution was not saved or when the trigger node itself failed. Either enable saving of failed executions in the workflow's settings or add a fallback in your message that shows the trigger object details instead.

Alert floods. A workflow that runs every minute and fails every minute will send a message every minute. Because each alert is an execution, a flood also eats into your plan's quota. Mitigations that work inside n8n: add a Wait or a simple deduplication step (store the last alert time in a data store or spreadsheet and skip repeats), or route low-severity workflows to email digest rather than Slack.

The handler itself fails. If the Slack credential expires, the very system meant to warn you goes quiet. Give the handler a second, independent path, such as an email node on a different credential, and review credentials on a calendar.

Self-hosted instance down. An error workflow cannot report that n8n itself is offline. If you self-host, pair it with an external uptime check on the instance URL.

What error alerting costs to run

On the software side, almost nothing. One handler workflow, one or two notification nodes, and a few executions per incident.

The real cost is the execution quota on Cloud. With Starter at 2.5K executions a month and Pro at 10K (annual billing, per n8n's pricing page), a single runaway workflow plus its alerts can burn through a meaningful share. We could not confirm monthly-billing prices or the exact saved-execution limits for Pro, so check those before sizing a plan around heavy logging.

Self-hosting the Community Edition removes the execution cap but adds server upkeep, which is a trade-off, not a saving.

Making the setup stick

A short routine keeps this reliable. Add "set error workflow" to the checklist for every new automation, the same way you would document it in a Notion workspace for a small business. Run a deliberate Stop and Error test after any credential change. Review the alert channel monthly and delete workflows that fail constantly and nobody fixes.

If your automations feed customer-facing systems, such as lead capture into a small-team CRM or an AI chatbot on your website, prioritize those first. A silent failure there costs leads or conversations, not just a tidy log.

Frequently asked questions

Can one error workflow cover all my n8n workflows?

Yes. According to n8n's docs, one error workflow can serve multiple workflows. You still have to select it manually in each workflow's settings, since there is no global default.

Why doesn't my error workflow run when I click Execute?

The Error Trigger fires only on automatic failures of monitored workflows. Running the handler by hand will not produce the failure data. Use a Stop and Error node in a test workflow to trigger it properly.

Will I be alerted if a workflow's trigger node fails?

Yes, the error workflow still runs, but the output is shaped differently. It carries a trigger object with the error name, message, cause, timestamp, and failing node, and execution.id and execution.url may be missing. Design your alert message to handle both cases.

Does an error workflow count toward my execution limit?

It is a workflow that runs, so assume each alert is an execution against your plan quota. On Cloud plans with limits like 2.5K or 10K monthly executions, noisy failures can add up quickly.