{
  "name": "AUT-204 رویداد سفارش — نسخه ساده (تکرار می‌سازد)",
  "nodes": [
    {
      "parameters": {
        "content": "## نسخه ساده\nهر تحویل رویداد = یک تیکت تازه. فرستنده‌ای که تلاش دوباره می‌کند، تیکت تکراری می‌سازد.",
        "height": 150,
        "width": 360,
        "color": 3
      },
      "id": "5598433c-95e4-57d5-96ff-2a093eb3150e",
      "name": "یادداشت 1",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -40,
        -240
      ]
    },
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "barg-sabz/events-naive",
        "responseMode": "onReceived",
        "options": {}
      },
      "id": "fcdadd10-feca-5d30-861e-82a331a17851",
      "name": "رویداد سفارش",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        100
      ],
      "webhookId": "7c1e0a52-a204-4e00-9a51-00000000aa01"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://127.0.0.1:8787/tickets",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ customer_ref: $json.body.order_id, category: \"order_shipping\", text: \"order event \" + $json.body.event_id }) }}"
      },
      "id": "b776a5a2-516e-5aba-a72d-6bf8e116d3aa",
      "name": "ثبت تیکت",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        240,
        100
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "aa05db4bc8085d30",
          "name": "Barg Sabz mock API (Header Auth)"
        }
      }
    }
  ],
  "connections": {
    "رویداد سفارش": {
      "main": [
        [
          {
            "node": "ثبت تیکت",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "id": "LkyA204Naive0001",
  "meta": {
    "templateCredsSetupCompleted": false,
    "instanceId": "lookiyar-academy-demo"
  },
  "tags": [
    {
      "name": "loOkiYar Academy"
    },
    {
      "name": "AUT-204"
    }
  ],
  "pinData": {}
}