This workflow follows the Error Trigger → Telegram recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "AI Digest \u2014 Error Handler",
"nodes": [
{
"parameters": {},
"id": "err-trigger",
"name": "Error Trigger",
"type": "n8n-nodes-base.errorTrigger",
"typeVersion": 1,
"position": [
400,
400
]
},
{
"parameters": {
"language": "javaScript",
"jsCode": "const e = $json.execution || {};\nconst err = e.error || {};\nconst esc = (s) => String(s || '').replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>');\nconst text = `\u26a0\ufe0f <b>AI \u0414\u0430\u0439\u0434\u0436\u0435\u0441\u0442 \u0443\u043f\u0430\u043b</b>\\n` +\n `Workflow: <code>${esc(e.workflowName || 'unknown')}</code>\\n` +\n `Node: <code>${esc(e.lastNodeExecuted || 'unknown')}</code>\\n` +\n `Error: <code>${esc((err.message || JSON.stringify(err)).slice(0,500))}</code>\\n` +\n `Time: ${new Date().toISOString()}`;\nreturn [{ json: { text } }];"
},
"id": "err-format",
"name": "Format Error",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
700,
400
]
},
{
"parameters": {
"chatId": "={{ $env.TG_CHAT_ID }}",
"text": "={{ $json.text }}",
"additionalFields": {
"parse_mode": "HTML"
}
},
"id": "err-send",
"name": "Telegram Error Notify",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
1000,
400
],
"credentials": {}
}
],
"connections": {
"Error Trigger": {
"main": [
[
{
"node": "Format Error",
"type": "main",
"index": 0
}
]
]
},
"Format Error": {
"main": [
[
{
"node": "Telegram Error Notify",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"timezone": "Europe/Moscow",
"executionOrder": "v1"
},
"active": false,
"versionId": "",
"meta": {
"templateCredsSetupCompleted": false
},
"tags": []
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
AI Digest — Error Handler. Uses errorTrigger, telegram. Event-driven trigger; 3 nodes.
Source: https://github.com/FlagonTTM/n8n-ai-news/blob/1ffbaaa30e8cc8aefcd3ecc178e94833f131a4ed/workflows/error-handler.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
clients kept booking meetings during my prayer times. i'd either miss a prayer or scramble to reschedule. the problem wasn't the clients — it was that my calendar had no blocked windows for salah. i n
This workflow is an AI-powered roto matte generation and first-pass compositing pipeline designed for VFX production. It transforms structured roto requests into multiple high-precision matte passes u
Error Monitoring!. Uses errorTrigger, gmail, whatsApp, slack. Event-driven trigger; 8 nodes.
google drive to instagram, tiktok and youtube. Uses googleDriveTrigger, googleDrive, errorTrigger, telegram. Event-driven trigger; 15 nodes.
Report N8N Workflow Errors To Telegram. Uses errorTrigger, stickyNote, telegram. Event-driven trigger; 5 nodes.