Pattern
INT·Nov 25
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
generateObjectgenerateText
Tags
aiworkflowroutingclassificationconditionalcustomer-serviceai-sdkworkflow-devkitquery-handling
Requirements
- Node.js
- 24+
- Memory
- 512MB
- Other
- OpenAI API key
- Workflow DevKit setup
Environment Variables
OPENAI_API_KEYGet key →
External Services
openai
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View 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.
aiworkflow+6
View →


Parallel Review Workflow Pattern
Demonstrates a parallel review workflow pattern using Workflow DevKit. Features concurrent code reviews (security, performance, maintainability) with result aggregation.
aiworkflow+8
View →
End of Pattern



