Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

n8n error alerts that don't spam you: Error Trigger + dedupe (n8n 2.x)

Описание и применение

Создано решение в n8n, которое отправляет одно сообщение об ошибке и подавляет дублирование в течение 30 минут, требуя публикации рабочего процесса в версии 2.x.

Задача

n8n does not notify when a workflow fails unless configured, leading to repeated alerts for the same error.

Результат

Implemented a single‑alert error workflow that deduplicates repeated failures within a 30‑minute window and requires publishing in n8n 2.x to function.

Рабочий процесс

  • Create a workflow named "Error alert router".
  • Add an Error Trigger node to receive failure details.
  • Add a Code node that formats the message and implements deduplication using static data.
  • Add an alert node (Slack, Discord, Telegram, or Send Email).
  • Publish the error workflow (must be active in n8n 2.x).
  • Configure each workflow’s settings to point to the "Error alert router" error workflow.
  • Test by creating a throwaway workflow that throws an error and executing it via webhook.

Доказательства

n8n doesn't tell you when a workflow fails unless you ask it to.

Источник

In n8n 2.x the error workflow must be published (active). We tested this on 2.40.6.

Источник

After publishing, the same failure produced exactly one alert, and two identical follow-up failures were suppressed.

Источник

  • Дата записи: 2026-10-15T17:55:59.964Z