Library / Monitoring, Ops & Incidents
Monitoring, Ops & Incidents
Send n8n Workflow Errors to Slack
When another n8n workflow fails, it posts the error details to a Slack channel.
What it does
# 🚨 ERROR-MONITORING FLOW — SLACK SETUP GUIDE 🔗 Jump to language: 🇬🇧 English | 🇪🇸 Español | 🇩🇪 Deutsch | 🇫🇷 Français | 🇷🇺 Русский --- > ❗ This workflow must remain INACTIVE. > You should select it as the Error Workflow inside other workflows where you want to receive error alerts. --- ## 🇬🇧 English 1. Create a Slack App at api.slack.com/apps - Click "Create New App" → From scratch - Name it (e.g. n8n Error Bot) and choose your Slack workspace 2. Go to OAuth & Permissions and add the following Bot Token Scope: - chat:write 3. Click "Install App to Workspace", then approve the permissions. 4. Add the bot to the desired Slack channel (e.g. #notification): - In Slack, type /invite @your_bot_name 5. In n8n, open the Send Reply node: - Select your Slack credentials - Set channel name (e.g. notification) - Message text is preconfigured as: {{$json.execution.error.message}} 6. Save the workflow but do not activate it. 7. In your other workflows → open Settings → select this as Error Workflow. --- ## 🇪🇸 Español > ❗ Este flujo debe permanecer INACTIVO. > Debes seleccionarlo como Error Workflow en otros flujos. 1. Crea una app de Slack en api.slack.com/apps - Haz clic en "Create New App" → From scratch - Ponle un nombre y elige tu espacio de trabajo 2. En OAuth & Permissions, añade el scope: - chat:write 3. Haz clic en "Install App to Workspace" y acepta los permisos. 4. Añade el bot al canal deseado (#notification): - Escribe /invite @nombre_de_tu_bot en Slack 5. En n8n, abre la nodo Send Reply: - Selecciona las credenciales - Canal: notification - El mensaje está listo: {{$json.execution.error.message}} 6. Guarda el flujo pero no lo actives. 7. En otros flujos → Settings → elige este como Error Workflow. --- ## 🇩🇪 Deutsch > ❗ Dieser Workflow bleibt INAKTIV. > In anderen Flows als Error Workflow einstellen. 1. Slack-App erstellen unter api.slack.com/apps - Klicke auf "Create New App" → From scratch - Namen vergeben und Workspace wählen 2. Unter OAuth & Permissions diesen Scope hinzufügen: - chat:write 3. Klicke auf "Install App to Workspace" und genehmige die Berechtigungen. 4. Füge den Bot dem gewünschten Channel hinzu (#notification): - In Slack: /invite @dein_bot_name 5. In n8n → Node Send Reply: - Slack-Credentials wählen - Cha
The steps
- Error Trigger
- Send Reply
Similar automations
Monitoring, Ops & IncidentsLog Workflow Errors and Throttle Alert Emails30 stepsCode, Git & Developer ToolsManage n8n Workflows Remotely from Telegram65 stepsMonitoring, Ops & IncidentsSend n8n Audits and Failed Workflows to InfluxDB24 stepsMonitoring, Ops & IncidentsCollect Failed Execution Data for Workflow Errors4 steps