{
  "name": "Log workflow errors to Slack and Google Sheets",
  "nodes": [
    {
      "id": "6ea74f53-4751-410c-9731-a2b253b6673c",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -544,
        -256
      ]
    },
    {
      "id": "b5ba806f-9fa2-4287-8b26-091d34e20750",
      "name": "Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        -96,
        -256
      ]
    },
    {
      "id": "08d30ea9-049c-4b5e-bce1-488bea5f1cc4",
      "name": "Set message",
      "type": "n8n-nodes-base.set",
      "position": [
        -304,
        -256
      ]
    },
    {
      "id": "211af477-e53e-47da-9f85-e0af1f1fe1e1",
      "name": "Append row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -96,
        -16
      ]
    },
    {
      "id": "01a479c2-d204-46d1-b9ff-de49bc3f937b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1200,
        -368
      ],
      "parameters": {
        "width": 576,
        "height": 416,
        "content": "## n8n Workflow Error Logger\n### How it works\n1. This workflow activates automatically when another n8n workflow fails.\n2. It captures essential error details, including the failing workflow's name, e"
      }
    },
    {
      "id": "2b432ca2-7095-4dd8-8785-691d560b80f3",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        -320
      ],
      "parameters": {
        "width": 400,
        "height": 208,
        "content": "## identify error"
      }
    },
    {
      "id": "06ae8bcc-2c77-422d-8cc5-becb0b9b3fe1",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        -320
      ],
      "parameters": {
        "width": null,
        "height": 464,
        "content": "## log error"
      }
    }
  ],
  "connections": {
    "Slack": {
      "main": [
        []
      ]
    },
    "Set message": {
      "main": [
        [
          {
            "node": "Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Append row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error Trigger": {
      "main": [
        [
          {
            "node": "Set message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}