workflows.fit
Back to n8n workflows
n8n templateFreeBy Matheus Pedrosa

Automated hourly n8n error monitoring with Slack notifications

Who is this template for? This template is ideal for n8n instance administrators, developers, and DevOps teams who need a proactive and organized way to monitor the health of their automations. If you want to be notif...

CommunicationHITLDevelopmentCore NodesSchedule TriggerN8nSplit In BatchesAggregate
Loading interactive preview...

Template notes

Who is this template for?

This template is ideal for n8n instance administrators, developers, and DevOps teams who need a proactive and organized way to monitor the health of their automations. If you want to be notified about failures as soon as they happen, without having to manually check execution logs, this workflow is for you.

What does this template do?

This workflow automates error monitoring on your n8n instance. Every hour, it performs the following steps:

1. Queries the n8n API to fetch all executions that have failed in the last hour. 2. Groups the errors by workflow to consolidate the information. 3. Builds a rich message for each failed workflow, including the error count. 4. Sends an alert to a Slack channel with a button to open the workflow directly, allowing for immediate investigation.

Requirements

Before you start, you will need to have the following configured in your n8n instance:

n8n API Credentials: You need to generate an API key in your n8n instance settings so the workflow can query execution data. Slack Credentials: A configured Slack (OAuth2 API) credential to allow n8n to send messages to your workspace.