Evaluate a support ticket classifier with OpenAI GPT-4o-mini and n8n evaluations
Measure how well your AI classifier actually performs. This template shows how to evaluate a support ticket classifier using n8n's built-in evaluation system, comparing AI predictions against expected labels with exact match scoring.
What you'll do
Open the workflow and review the production path (webhook receives a ticket, AI Agent classifies it by category and urgency, response is returned). Open the Evaluations tab and click Run Test to feed each Data Table row through the AI Agent. Inspect per-test-case scores and aggregate metrics to see which tickets the classifier got right and which it missed. Tweak the prompt or model, re-run, and compare runs side by side.
What you'll learn
How n8n's Evaluation Trigger, Data Tables, and Evaluation node fit together How to use the "Check if Evaluating" operation to keep evaluation traffic out of production How to score structured AI outputs against known correct answers using exact match How to seed a test set from real execution history rather than synthetic examples
Why it matters
Classification accuracy that looked great in testing can quietly drop the moment your inputs shift. Building an evaluation path next to your production workflow gives you a repeatable way to measure quality, catch regressions before users do, and ship prompt changes with data instead of vibes.
This template is a learning companion to the Production AI Playbook, a series that explores strategies, shares best practices, and provides practical examples for building reliable AI systems in n8n.
Related Templates
Text automations using Apple Shortcuts
Overview This workflow answers user requests sent via Mac Shortcuts Several Shortcuts call the same webhook, with a quer...
AI SEO Readability Audit: Check Website Friendliness for LLMs
Who is this for? This workflow is designed for SEO specialists, content creators, marketers, and website developers who ...
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments