What it does
An n8n workflow that reads each chat message and chooses the language model best suited to answer it. The routing agent returns a structured JSON response with the prompt and the chosen model, and that model then writes the reply. Model capabilities such as reasoning, coding and web search guide the choice, and more models can be added.
Use cases
- 01Send coding questions to a coding-focused model
- 02Route web searches to a model with search access
- 03Keep simple queries on lighter models
Connects
AI Agent · OpenAI Chat Model · Auto-fixing Output Parser · Structured Output Parser · OpenRouter Chat Model