Skip to main content

Evaluate a support ticket classifier with OpenAI GPT-4o-mini and n8n evaluations

Workflow preview

Workflow preview
100%
Evaluate a support ticket classifier with OpenAI GPT-4o-mini and n8n evaluations preview
Open on n8n.io

1. Workflow Overview

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 expec...

Best for

  • Engineering automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.evaluationtrigger, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.evaluation, n8n-nodes-base.respondtowebhook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Elvis Sarvia.

Original n8n.io source

1.1 Workflow description

Title
Evaluate a support ticket classifier with OpenAI GPT-4o-mini and n8n evaluations
Workflow name
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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Webhook - Receive Ticket

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 3 - When fetching a dataset row

Type / Role
n8n-nodes-base.evaluationTrigger - evaluationTrigger
Config choices
Version 4.6

Block 4 - Format ticket input

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - AI Agent - Classify Ticket

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 6 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 7 - Evaluating?

Type / Role
n8n-nodes-base.evaluation - evaluation
Config choices
Version 4.6

Block 8 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 9 - Compare Classification

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Evaluation - Set Outputs

Type / Role
n8n-nodes-base.evaluation - evaluation
Config choices
Version 4.6

Block 11 - Set Metrics

Type / Role
n8n-nodes-base.evaluation - evaluation
Config choices
Version 4.6

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Evaluate a support ticket classifier with OpenAI GPT-4o-mini and n8n evaluations
Complexity intermediate
Nodes 13
Categories Engineering, AI Summarization
Author Elvis Sarvia
Published 18 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15133/15133.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Evaluate a support ticket classifier with OpenAI GPT-4o-mini and n8n evaluations do?

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 expec...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, AI Summarization use case.