{
  "id": "ePnGZtZ8zLcf1UZZ",
  "meta": {
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:44.477988",
    "updatedAt": "2025-09-29T07:07:44.478004",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "name": "n8n Error Report to Line",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "nodes": [
    {
      "id": "c45a01a5-289b-4927-8bba-4bb1029a7129",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -240,
        -80
      ],
      "parameters": {},
      "typeVersion": 1,
      "notes": "This errorTrigger node performs automated tasks as part of the workflow."
    },
    {
      "id": "1e3f7a7e-8be4-4fec-973f-befb477e6957",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        40,
        -80
      ],
      "parameters": {
        "url": "{{ $env.API_BASE_URL }}",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n    \"to\": \"<UID HERE>\",\n    \"messages\":[\n        {\n            \"type\":\"text\",\n            \"text\":\"🚨Your n8n flow is dead.🚨\\n\\nName: {{ $json.workflow.name }} \\nURL: {{ $json.execution.url }}\"\n        }\n    ]\n}",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "{{ $credentials.genericCredentialType }}",
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4.2,
      "notes": "This httpRequest node performs automated tasks as part of the workflow."
    },
    {
      "id": "5bcf04cc-2c3e-4e37-a134-fcc42326afc3",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -340,
        -400
      ],
      "parameters": {
        "width": 660,
        "content": "## Error Handling\n\nYou can set this workflow as error workflow\n\n{{ $env.WEBHOOK_URL }}"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "22b66275-e111-45c8-b7bc-b6c03b55fd02",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -300,
        -220
      ],
      "parameters": {
        "color": 5,
        "height": 300,
        "content": "## Error Trigger\n\nThis flow will get trigger when the error occur. You can set only one error flow for all your flows.\n"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "5a2c1b3b-2546-47e6-bb9f-b9b8d7c63d65",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        -220
      ],
      "parameters": {
        "color": 4,
        "width": 320,
        "height": 300,
        "content": "## Send Line Message\n\nTo send message to notify you via Line Account -- Please replace <UID HERE> with your own UID\n"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "versionId": "4a774ee1-96b8-4a81-858d-6c5b0d24ba03",
  "connections": {
    "1e3f7a7e-8be4-4fec-973f-befb477e6957": {
      "main": [
        [
          {
            "node": "error-handler-1e3f7a7e-8be4-4fec-973f-befb477e6957-67c0fd04",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-1e3f7a7e-8be4-4fec-973f-befb477e6957-791b5224",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-1e3f7a7e-8be4-4fec-973f-befb477e6957-cdd84e4a",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-1e3f7a7e-8be4-4fec-973f-befb477e6957-9c4a041a",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-1e3f7a7e-8be4-4fec-973f-befb477e6957-bb75d01f",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-1e3f7a7e-8be4-4fec-973f-befb477e6957-30148a56",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-1e3f7a7e-8be4-4fec-973f-befb477e6957-66ec49a7",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-1e3f7a7e-8be4-4fec-973f-befb477e6957-0ad415dc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "description": "Automated workflow: n8n Error Report to Line. This workflow integrates 4 different services: stickyNote, httpRequest, errorTrigger, stopAndError. It contains 6 nodes and follows best practices for error handling and security.",
  "notes": "Excellent quality workflow: n8n Error Report to Line. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}