{
  "name": "wf_error_notifications",
  "nodes": [
    {
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "callingWorkflow",
              "type": "object"
            },
            {
              "name": "input",
              "type": "array"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "typeVersion": 1.1,
      "position": [
        0,
        0
      ],
      "id": "215a81dd-2b93-42b9-b954-efd38caf0b8f",
      "name": "workflow_trigger",
      "alwaysOutputData": true,
      "onError": "continueRegularOutput"
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "=\ud83d\udea8 An error occurred in {{ JSON.stringify($json.callingWorkflow) || $json.callingWorkflow.name }} at {{ $execution.id }} \ud83d\uded1 ",
        "options": {},
        "embeds": {
          "values": [
            {
              "color": "#4E2ECF",
              "timestamp": "= {{ $now.setZone('America/New_York') }}",
              "title": "\ud83d\udea8 Error Underfoot \ud83d\udea8",
              "url": "=https://checkmarkdevtools.app.n8n.cloud/workflow/{{ $json.callingWorkflow.id ?? '' }}"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        224,
        0
      ],
      "id": "02090886-a74a-4ae1-a852-bff7c054d652",
      "name": "notify_discord_error",
      "credentials": {
        "discordWebhookApi": {
          "name": "<your credential>"
        }
      },
      "onError": "continueRegularOutput"
    }
  ],
  "connections": {
    "workflow_trigger": {
      "main": [
        [
          {
            "node": "notify_discord_error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": "g0RA1ILyuSMHbt6q"
  },
  "versionId": "55cabda2-c004-46e9-9068-8251549f1121",
  "id": "wRCvCmRGcILIoLjy",
  "tags": []
}