{
  "id": "",
  "name": "Run a Python script after each EMDS task succeeds",
  "description": "Starter template: run an EMDS task, then run a Python script that post-processes the result. The script path is empty — edit the TASK step to point at your script.",
  "version": 1,
  "steps": [
    {
      "id": "",
      "name": "Run EMDS task",
      "description": "Configure with Wizard… to pick the engine + model.",
      "step_type": "task",
      "enabled": true,
      "continue_on_error": false,
      "config": {
        "engine_type": "",
        "model_reference": "",
        "input_source": "assessment",
        "store_result_as": "task_result"
      },
      "children": [],
      "else_children": []
    },
    {
      "id": "",
      "name": "Run post-processing Python script",
      "description": "Edit script_path below to point at your .py file.",
      "step_type": "task",
      "enabled": true,
      "continue_on_error": false,
      "config": {
        "engine_type": "python_script",
        "script_path": "",
        "working_directory": "",
        "args": "{{task_result}}",
        "store_result_as": "post_processed"
      },
      "children": [],
      "else_children": []
    }
  ]
}
