n8n Workflow

Report N8n Workflow Errors To Telegram

This n8n workflow automates tasks using Other Tools. Report N8n Workflow Errors To Telegram - ready to import and run in your n8n instance.

n8n workflow.json

About This Script

This n8n workflow automates tasks using Other Tools. Report N8n Workflow Errors To Telegram - ready to import and run in your n8n instance.
Features:
  • Integrates with Other Tools
Source Code
{
    "nodes": [
        {
            "id": "aa84d631-c14f-45c2-a659-454605e83c30",
            "name": "On Error",
            "type": "n8n-nodes-base.errorTrigger",
            "position": [
                880,
                900
            ],
            "parameters": [],
            "typeVersion": 1
        },
        {
            "id": "abffce17-cc93-4c6a-8955-de2d0f4cc885",
            "name": "Set message",
            "type": "n8n-nodes-base.set",
            "position": [
                1140,
                900
            ],
            "parameters": {
                "values": {
                    "string": [
                        {
                            "name": "message",
                            "value": "=\u26a0\ufe0f Workflow `{{$json[\"workflow\"][\"name\"]}}` failed to run! [execution]({{ $json.execution.url }})"
                        }
                    ]
                },
                "options": [],
                "keepOnlySet": true
            },
            "typeVersion": 1
        },
        {
            "id": "1e5c4af6-30ae-45b8-bca7-048a656ce9bd",
            "name": "Sticky Note3",
            "type": "n8n-nodes-base.stickyNote",
            "position": [
                800,
                700
            ],
            "parameters": {
                "color": "#FFF59D",
                "width": 424.4907862645661,
                "height": 154.7766688696994,
                "content": "Configuration note: update with your credentials or endpoint."
            },
            "typeVersion": 1
        },
        {
            "id": "845ddf26-2d40-4cc6-843b-ccb3b365fbfb",
            "name": "Telegram",
            "type": "n8n-nodes-base.telegram",
            "position": [
                1360,
                900
            ],
            "parameters": {
                "text": "={{ $json.message }}",
                "chatId": "1688282582",
                "additionalFields": {
                    "appendAttribution": false
                }
            },
            "credentials": {
                "telegramApi": {
                    "id": "6",
                    "name": "mymontsbot token"
                }
            },
            "typeVersion": 1.1
        },
        {
            "id": "90db96b8-0e43-4977-b455-3e6813211640",
            "name": "Sticky Note",
            "type": "n8n-nodes-base.stickyNote",
            "position": [
                1380,
                1080
            ],
            "parameters": {
                "width": 241,
                "height": 80,
                "content": "Configuration note: update with your credentials or endpoint.",
                "color": "#FFF59D"
            },
            "typeVersion": 1
        }
    ],
    "connections": {
        "On Error": {
            "main": [
                [
                    {
                        "node": "Set message",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Set message": {
            "main": [
                [
                    {
                        "node": "Telegram",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    },
    "n8n_version": "1.5.0"
}
Requirements
n8n instance, Telegram API credentials
Tags
#n8n #automation #workflow
Quick Actions
More in n8n Workflows