Optimizing Conditional Agent Routing in Enterprise Systems