What This Workflow Does
This automation solves the problem of unreliable or biased outputs from single LLM instances by implementing a council approach. Instead of relying on one AI model's response, the workflow queries multiple models through OpenRouter, compares their outputs using customizable evaluation criteria, and synthesizes the most reliable composite answer.
The system is particularly valuable for business decisions where AI hallucinations or blind spots could have significant consequences. By surfacing areas of consensus and disagreement between models, it provides visibility into the reliability of the AI's output while often achieving substantially higher accuracy than single-model approaches.
How It Works
1. Query Distribution
The workflow sends your prompt to 3-5 different LLMs simultaneously through OpenRouter's API. You can configure which models to include based on their strengths - for example, combining GPT-4 for reasoning, Claude for ethics, and Mixtral for technical accuracy.
2. Response Evaluation
Each model's response is automatically scored against evaluation criteria you define. The workflow checks for factual consistency, logical coherence, practical feasibility, and alignment with your business objectives. Evaluation can incorporate both automated checks and human-defined rubrics.
3. Consensus Building
The system identifies areas of agreement between models while flagging significant divergences. For automated decisions, it can apply weighted voting based on model performance history. For human review cases, it presents the response spectrum with clear highlighting of consensus points and outliers.
Pro tip: Start with 3 models having complementary strengths, then expand the council once you validate the evaluation criteria. Too many models can create analysis paralysis without significantly improving output quality.
Who This Is For
This workflow delivers the most value for businesses that:
- Use AI for strategic decision support
- Need high-reliability content generation
- Operate in domains with significant consequences for errors
- Want transparency into AI reasoning processes
What You'll Need
- An n8n instance (cloud or self-hosted)
- OpenRouter API key
- Defined evaluation criteria for your use case
- Budget for LLM API calls (cost varies by model)
Quick Setup Guide
- Download the JSON template file
- Import into your n8n instance
- Configure your OpenRouter API key in the credentials
- Adjust the model selection in the "Query LLMs" step
- Customize evaluation criteria in the "Score Responses" step
- Test with sample prompts and refine weights
Key Benefits
30-50% higher accuracy compared to single-model approaches for complex queries by surfacing consensus and identifying outliers.
Reduced hallucination risk through cross-model verification - when three different AIs agree on a fact, it's more likely to be reliable.
Customizable evaluation lets you prioritize what matters most for your use case, whether that's technical accuracy, brand voice alignment, or ethical considerations.