This workflow follows the Error Trigger → Slack 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 →
{
"backbrief_skeleton_version": "0.1.0",
"name": "Backbrief: error trap",
"nodes": [
{
"id": "bb-error-trigger",
"name": "Error Trigger",
"type": "n8n-nodes-base.errorTrigger",
"typeVersion": 1,
"position": [
240,
300
],
"parameters": {}
},
{
"id": "bb-format-error-dm",
"name": "Format error DM",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
460,
300
],
"parameters": {
"jsCode": "// Error trap \u2014 format an unhandled workflow failure into an owner DM.\n// Error Trigger payload: { execution: {id, url, error, lastNodeExecuted, mode}, workflow: {id, name} }\nconst j = $input.first().json;\nconst ex = j.execution || {};\nconst wfMeta = j.workflow || {};\nconst err = ex.error || {};\nconst lines = [\n ':rotating_light: *Unhandled pipeline failure* (error trap)',\n '*Workflow:* ' + (wfMeta.name || wfMeta.id || '?'),\n '*Execution:* `' + (ex.id || '?') + '`' + (ex.url ? ' \u2014 ' + ex.url : ''),\n '*Last node:* `' + (ex.lastNodeExecuted || (err.node && err.node.name) || '?') + '`',\n '',\n '*Error:*',\n '\\`\\`\\`',\n String(err.message || JSON.stringify(err).slice(0, 600) || 'no message').slice(0, 900),\n '\\`\\`\\`',\n '',\n '_Check n8n executions; if a transcript call \u2014 the durable DLQ entry (the dlq/ folder in the vault repo) + plugin/scripts/redrive-dlq.js can recover the artifact._',\n];\nreturn [{ json: { dm_text: lines.join('\\n') } }];"
}
},
{
"id": "bb-dm-owner-error-trap",
"name": "DM owner (error trap)",
"type": "n8n-nodes-base.slack",
"typeVersion": 2.2,
"position": [
680,
300
],
"parameters": {
"resource": "message",
"operation": "post",
"select": "user",
"user": "__BACKBRIEF_OWNER_SLACK_USER_ID__",
"text": "={{ $json.dm_text }}",
"otherOptions": {
"includeLinkToWorkflow": false
}
},
"credentials": {
"slackApi": {
"name": "<your credential>"
}
},
"retryOnFail": true,
"maxTries": 3,
"waitBetweenTries": 3000
}
],
"connections": {
"Error Trigger": {
"main": [
[
{
"node": "Format error DM",
"type": "main",
"index": 0
}
]
]
},
"Format error DM": {
"main": [
[
{
"node": "DM owner (error trap)",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
slackApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Backbrief: error trap. Uses errorTrigger, slack. Event-driven trigger; 3 nodes.
Source: https://github.com/EvgenSmith/backbrief/blob/main/pipeline/workflows/error-trap.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.
This workflow manages clinic appointments across Google Sheets and Google Calendar, using webhooks and Telegram to book and confirm visits, Gmail and Telegram to deliver prescriptions, scheduled Teleg
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
Google Sheets CRM Enrichment. Uses googleSheetsTrigger, httpRequest, googleSheets, slack. Event-driven trigger; 15 nodes.
This workflow listens for Shopify checkout creations, waits 15 minutes, checks whether the checkout converted into an order, and if not sends a recovery message via Gmail and WhatsApp, while reporting
Stop missing renewal deadlines and overpaying on auto-renewals. This workflow monitors your contract calendar in Google Sheets, sends progressive Slack notifications with manual research checklists, a