Get an Email When Your n8n Workflow Fails

A scheduled workflow can stop before it finishes updating a tracker, preparing a report, or processing a client request. If nobody checks the execution history, the missing result may be the first sign that something went wrong.

An error notification gives the person responsible a starting point for investigation. In n8n, you can create a separate error workflow and assign it to the workflows you want to monitor. The same error workflow can serve more than one workflow.

Build a separate notification workflow

Start by creating a workflow with Error Trigger as its first node. Add Send Email after it.

The Send Email node uses an SMTP email server, so select or create the appropriate SMTP credential. Choose the Send operation and configure the sender, recipient, subject, and message. Plain text is sufficient for a basic internal notification.

Keep the message useful and short. A subject such as “Automation failed: Weekly client report” is easier to act on than “Error.”

In the body, include the workflow name, the reported error, the last executed node when available, and a link to the failed execution when one is supplied. These are fields to map from the incoming error data, rather than details to type once and reuse for every failure.

Connect it to the workflow you want to monitor

Save the error workflow. Then open the workflow you want to monitor.

In its Options → Settings, select the saved workflow under Error workflow, and save the change. Creating an alert workflow alone does not assign it to your other automations.

Test an automatic failure

Be careful when testing. n8n’s documentation states that Error Trigger runs when an automatic workflow errors; manually executing a workflow does not test that trigger in the same way.

Use a separate test workflow with no customer-facing actions. The documented Stop And Error node can deliberately produce a failure, allowing you to check the notification path through an automatic execution.

Handle missing execution details

The alert should also tolerate missing information. An execution link or ID may be absent when the execution was not saved or when the failure occurred in the main workflow’s trigger.

Trigger-level failures can have a different data structure. Inspect the actual incoming data and provide a readable fallback instead of assuming every notification contains an execution URL.

Check the alert before relying on it

Before relying on the alert, confirm that it reaches the intended inbox, identifies the failed workflow correctly, and contains enough context to investigate.

Send only the diagnostic information your team needs; a complete customer record is rarely useful in an alert email.

An error email does not fix the failed task or establish that a rerun is safe. For example, if a workflow created an invoice before failing at the next step, running it again without checking could create another invoice.

The notification’s purpose is to bring the failure to a person who can inspect what completed and decide what to do next.

This is a documentation-based setup guide. It has not been installed or tested in the reader’s n8n environment. These instructions describe the official documentation checked on October 18, 2026; they are not presented as a newly released feature.

Sources

Accessed October 18, 2026. The documentation pages do not provide a fixed publication date.

1. n8n: Handle errors gracefully

2. n8n: Error Trigger

3. n8n: Send Email

Leave a comment