Skip to content
n8n canvas: error trigger, message Set, Slack alert and Gmail to the owner
Price
Free
Difficulty
Beginner
Updated
November 6, 2026

Overview

n8n can send every failed run to an error workflow. This template is that error workflow: it receives the workflow name, the last node that ran, the error message and a link to the execution.

The details are put into one short message. It is posted to an alerts channel in Slack and emailed to the owner, so a failed sync or invoice run does not stay hidden until someone checks by hand.

Useful for

  • Know about failed automations without opening n8n each morning
  • Give every team one shared alerts channel for automation errors
  • Send the owner a link straight to the failed execution

What's included

  • An n8n workflow with 4 nodes, ready to import
  • Trigger: When a workflow fails
  • Connects Slack, Gmail
  • Sticky notes on the canvas that explain what to set up
  • No credentials inside: you connect your own accounts

How to use it

  1. 1

    Download the workflow JSON.

  2. 2

    In n8n, create a workflow, open the … menu, choose Import from File and select the JSON.

  3. 3

    Connect Slack on Post alert and Gmail on Email owner, and replace the placeholder address.

  4. 4

    In each workflow you want to watch, open Settings and choose this workflow under Error Workflow.

  5. 5

    Activate this workflow and run a test failure to confirm the alert arrives.

What you need

Requirements

  • An n8n instance (cloud or self-hosted, version 1.x) with access to workflow settings
  • A Slack workspace and a Gmail account

Works with

  • n8n 1.x (cloud or self-hosted)

Questions

Is this n8n workflow free?

Yes. Download the JSON and import it into your own n8n. There is no sign-up and no cost.

Does it include any credentials?

No. The file has no keys, tokens or real addresses. You connect your own Slack and Gmail accounts after importing.

Will it alert on its own failures?

Avoid that by leaving this workflow out of its own Error Workflow setting, so a failure here does not loop.

  • #devops-automation
  • #error-workflow-alerts
  • #n8n
  • #automation
  • #workflow-template
  • #free-template

More devops automation templates

See all 5

Also in Developer workflows

All developer workflows templates
Get this template

Preparing your template…