{
  "name": "08 Foutmelder voor al je workflows",
  "nodes": [
    {
      "id": "1644e4e9-253c-466e-8a6a-1a3dc4737003",
      "name": "Als een workflow faalt",
      "type": "n8n-nodes-base.errorTrigger",
      "typeVersion": 1,
      "position": [
        0,
        300
      ],
      "parameters": {}
    },
    {
      "id": "d1b7960c-74d6-4a44-82a1-e158759a6b84",
      "name": "Fout mailen",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2.1,
      "position": [
        240,
        300
      ],
      "parameters": {
        "fromEmail": "info@example.com",
        "toEmail": "jij@example.com",
        "subject": "=Workflow mislukt: {{ $json.workflow.name }}",
        "emailFormat": "text",
        "text": "=Workflow: {{ $json.workflow.name }}\nStap: {{ $json.execution.lastNodeExecuted }}\nFout: {{ $json.execution.error.message }}\nTijd: {{ $now.setLocale('nl').toFormat('d MMMM HH:mm') }}\n\nBekijk de uitvoering: {{ $json.execution.url }}",
        "options": {
          "appendAttribution": false
        }
      }
    },
    {
      "id": "7f3efe47-4d2f-450a-8159-8d807d6ec4d8",
      "name": "Lees mij",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -40,
        -160
      ],
      "parameters": {
        "content": "## Foutmelder voor al je workflows\nGetest op 11-11-2026 met n8n 2.47.3.\n\n**Invullen:** SMTP-account en je eigen adres. Kies daarna in elke andere workflow bij Settings > Error workflow deze workflow.",
        "height": 220,
        "width": 520,
        "color": 7
      }
    }
  ],
  "connections": {
    "Als een workflow faalt": {
      "main": [
        [
          {
            "node": "Fout mailen",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  }
}