{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "Drop folder watcher — File Event",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "watch",
      "type": "input.file-event",
      "label": "Watch ./incoming",
      "category": "io",
      "config": {
        "watchPath": "./incoming",
        "eventPath": "file",
        "requireEvent": true
      },
      "position": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "out",
      "type": "utility.console",
      "label": "Intake",
      "category": "utility",
      "config": {
        "message": "new file: {{ $json.file.path }} ({{ $json.file.kind }}) — start the intake flow"
      },
      "position": {
        "x": 530,
        "y": 0
      }
    }
  ],
  "edges": [
    {
      "id": "e0",
      "sourceNodeId": "watch",
      "sourcePort": "output",
      "targetNodeId": "out",
      "targetPort": "input"
    }
  ],
  "triggers": [
    {
      "id": "t0",
      "nodeId": "watch"
    }
  ],
  "meta": {
    "snippets": [],
    "source": "template-gallery",
    "description": "Deployed, this fires whenever a file lands in the watched folder (create/modify/delete). Test simulates a “statement arrived” event so you can build the downstream flow now."
  }
}