{
  "kind": "open-flow-workflow",
  "version": 1,
  "name": "Draft a reply with an Agent",
  "content": {
    "modelVersion": 14,
    "document": {
      "bindings": {},
      "graph": {
        "nodes": {
          "start": {
            "name": "Start",
            "kind": "start",
            "inputDefs": [
              {
                "jsonSchema": {
                  "type": "string"
                },
                "nullable": false,
                "handle": "text"
              }
            ]
          },
          "agent": {
            "inputs": {
              "input": {
                "kind": "sources",
                "sources": [
                  {
                    "kind": "node",
                    "nodeId": "start",
                    "output": "text"
                  }
                ]
              }
            },
            "name": "Draft a customer reply",
            "kind": "task",
            "task": {
              "inputs": [
                {
                  "jsonSchema": {
                    "type": "string"
                  },
                  "nullable": false,
                  "handle": "input",
                  "value": ""
                }
              ],
              "outputs": [
                {
                  "description": "The final result produced by the Agent.",
                  "jsonSchema": {
                    "type": "string"
                  },
                  "nullable": false,
                  "handle": "output"
                }
              ],
              "name": "Draft a customer reply",
              "executor": {
                "kind": "agent",
                "model": "deepseek-v4-flash",
                "prompt": "Read the support request supplied as input. Draft a brief reply and list any facts that need confirmation. Do not invent a resolution.",
                "maxRounds": 10,
                "tools": []
              }
            }
          }
        },
        "edges": [
          {
            "source": "start",
            "target": "agent"
          }
        ]
      }
    },
    "modules": {}
  },
  "presentation": {
    "designer": {
      "version": 1,
      "flow": {
        "nodes": {
          "start": {
            "x": 0,
            "y": 0
          },
          "agent": {
            "x": 340,
            "y": 0
          }
        }
      }
    }
  }
}
