{
  "name": "P4 هشدار خطا — نسخه آزمایشی",
  "nodes": [
    {
      "parameters": {},
      "id": "fadba276-dade-5fd5-a1d6-e7594952659a",
      "name": "هنگام شکست ورک‌فلو",
      "type": "n8n-nodes-base.errorTrigger",
      "typeVersion": 1,
      "position": [
        0,
        100
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://127.0.0.1:8787/botDEMO/sendMessage",
        "options": {},
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ chat_id: 'ops', text: 'شکست: ' + $json.workflow.name + ' | گره: ' + ($json.execution.lastNodeExecuted || '-') + ' | خطا: ' + ($json.execution.error?.message || '-') + ' | اجرا: ' + ($json.execution.id || '-') }) }}"
      },
      "id": "14689489-fe52-5487-a099-c7155a9b1f96",
      "name": "هشدار به تیم (بدون داده مشتری)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        240,
        100
      ]
    },
    {
      "parameters": {
        "content": "فقط نام ورک‌فلو، گره، پیام خطا و شناسه اجرا؛ هیچ متن ایمیل یا نشانی مشتری در هشدار نیست.",
        "height": 120,
        "width": 320,
        "color": 3
      },
      "id": "c42808be-735d-54f0-a2aa-1ef5e042490c",
      "name": "یادداشت 1",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        180,
        -80
      ]
    }
  ],
  "connections": {
    "هنگام شکست ورک‌فلو": {
      "main": [
        [
          {
            "node": "هشدار به تیم (بدون داده مشتری)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "id": "LkyP4ErrAlert001",
  "meta": {
    "templateCredsSetupCompleted": false,
    "instanceId": "lookiyar-academy-demo"
  },
  "tags": [
    {
      "name": "loOkiYar Academy"
    },
    {
      "name": "AUT-203"
    }
  ],
  "pinData": {}
}