references/workflow-routing.md
Routing Workflows
Use this workflow when the incoming request must be classified and sent to different downstream prompts, references, scripts, or tools.
Choose this workflow when
- distinct request classes benefit from specialized downstream handling
- one broad prompt would create conflicts or false positives
- misroutes can be detected and recovered
Required contract
- Route-selection criteria.
- Default route or clarification fallback.
- Misroute recovery.
- Downstream contract for each route.
Example
1. Classify the request:
**Billing question?** -> Load `references/billing.md`
**Refund request?** -> Run `scripts/refund_intake.py`
**Technical bug?** -> Load `references/triage.md`
2. If classification is uncertain, ask one clarification question before continuing.