{
  "kind": "genhealth.workflow_definition",
  "schema_version": 1,
  "workflow": {
    "name": "Agent quickstart: synthetic routing",
    "description": "Synthetic execution check; no healthcare system reads or writes.",
    "nodes": [
      { "id": "received", "type": "comment", "name": "Synthetic request", "config": { "heading": "Start", "body": "Inputs are supplied in trigger_data." } },
      { "id": "route", "type": "if", "name": "Ready?", "config": { "condition": "{{trigger.default.ready}}" } },
      { "id": "ready", "type": "comment", "name": "Ready outcome", "config": { "heading": "Ready", "body": "The true branch ran." } },
      { "id": "review", "type": "comment", "name": "Review outcome", "config": { "heading": "Review", "body": "The false branch ran; no external review task was created." } }
    ],
    "edges": [
      { "source_node_id": "received", "source_output": "default", "target_node_id": "route", "target_input": "default" },
      { "source_node_id": "route", "source_output": "true", "target_node_id": "ready", "target_input": "default" },
      { "source_node_id": "route", "source_output": "false", "target_node_id": "review", "target_input": "default" }
    ]
  }
}
