{
  "name": "Daily Business Summary (Betavan demo)",
  "active": false,
  "nodes": [
    {
      "id": "ca164ca0-0b2b-5292-b219-1c894d528038",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "parameters": {}
    },
    {
      "id": "ae61ae18-6764-5e9f-90f0-3af27ec45c41",
      "name": "Sample Input",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        240,
        0
      ],
      "parameters": {
        "jsCode": "return [{ json: {\"date\": \"2026-12-02\", \"totals\": [48, 23, 19]} }];"
      }
    },
    {
      "id": "5a0ae4bd-e458-516e-9cf9-273d5e29d7f0",
      "name": "Transform",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        480,
        0
      ],
      "parameters": {
        "jsCode": "const d = $input.first().json;\nreturn [{ json: {date: d.date, count: d.totals.length, total: d.totals.reduce((sum, total) => sum + total, 0)} }];"
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Sample Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sample Input": {
      "main": [
        [
          {
            "node": "Transform",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {}
}
