{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "Nightly cleanup — Schedule",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "clock",
      "type": "input.schedule",
      "label": "02:00 nightly",
      "category": "trigger",
      "config": {
        "mode": "cron",
        "cron": "0 2 * * *",
        "intervalSeconds": 60,
        "timezone": "UTC"
      },
      "position": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "out",
      "type": "utility.console",
      "label": "Cleanup",
      "category": "utility",
      "config": {
        "message": "cleanup pass started"
      },
      "position": {
        "x": 530,
        "y": 0
      }
    }
  ],
  "edges": [
    {
      "id": "e0",
      "sourceNodeId": "clock",
      "sourcePort": "output",
      "targetNodeId": "out",
      "targetPort": "input"
    }
  ],
  "triggers": [
    {
      "id": "t0",
      "nodeId": "clock"
    }
  ],
  "meta": {
    "snippets": [],
    "source": "template-gallery",
    "description": "A schedule trigger set to every night at 02:00 (cron). Deploy it to a host and it fires on the clock; Test simulates one firing so you can build the flow now."
  }
}