{ "name": "conditional-request-review", "version": "1.0.0", "goal": "Capture a user request, classify it via branching, and produce an approval or rejection result.", "inputs": [ "request" ], "steps": [ "Start: input agent prompts user for request and stores it in state field 'request'", "Classify: branching agent evaluates 'request' and routes to Approve on success or Reject on failure, storing 'decision'", "Approve: default agent formats approval message using 'request' and stores it in 'result'", "Reject: default agent formats rejection message using 'request' and stores it in 'result'" ], "outputs": [ "result (string message indicating approval or rejection)" ], "failure_modes": [ "If branching classification fails, workflow routes to Reject (on_failure)", "If input not provided, workflow may hang or error depending on runtime" ], "confidence": 0.85, "explanation": "Workflow extracted from AgentMap README example 'ReviewFlow' CSV. It is a generic conditional routing pattern usable for any binary decision process.", "source_repo": "https://github.com/jwwelbor/AgentMap.git", "score": 1.0 }