Routing Workflow Pattern
Demonstrates a routing workflow pattern using Workflow DevKit. Features query classification and conditional routing to specialized handlers based on type and complexity.
View Full Pattern on Desktop

Problems Solved
- Query classification and routing
- Conditional workflow execution
- Specialized handler routing
- Customer service automation
- Dynamic model selection
- Workflow DevKit routing patterns
- Durable workflow execution
Use Cases
- Customer service workflows
- Query classification systems
- Conditional routing patterns
- Dynamic handler selection
- Workflow DevKit demonstrations
- AI-powered routing
- Durable application patterns
AI SDK APIs
Tags
Requirements
- Node.js
- 18+
- Memory
- 512MB
- Other
- OpenAI API key
- Workflow DevKit setup
Environment Variables
OPENAI_API_KEYGet key →
External Services
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View PatternView Pattern on DesktopRelated Patterns


Evaluator Workflow Pattern
Demonstrates an evaluator-optimizer workflow pattern using Workflow DevKit. Features iterative improvement through AI evaluation and optimization loops.


Parallel Review Workflow Pattern
Demonstrates a parallel review workflow pattern using Workflow DevKit. Features concurrent code reviews (security, performance, maintainability) with result aggregation.


Sequential Workflow Pattern
Demonstrates a sequential workflow pattern using Workflow DevKit. Features step-by-step execution with quality gates and conditional regeneration.


Orchestrator-Worker Workflow Pattern
Demonstrates an orchestrator-worker workflow pattern using Workflow DevKit. Features parallel execution of specialized workers for different change types (create, modify, delete).