Skip to main content

Monitor AI quality drift with GPT-4o-mini evaluations and Slack alerts

Workflow preview

Workflow preview
100%
Monitor AI quality drift with GPT-4o-mini evaluations and Slack alerts preview
Open on n8n.io

1. Workflow Overview

Catch AI quality drift before your users do. This template ties scheduled evaluation, LLM as a Judge scoring, and threshold based alerts into a continuous monitoring loop that fires a Slack alert t...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, 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.noop

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
Monitor AI quality drift with GPT-4o-mini evaluations and Slack alerts
Workflow name
Monitor AI quality drift with GPT-4o-mini evaluations and Slack alerts

Catch AI quality drift before your users do. This template ties scheduled evaluation, LLM-as-a-Judge scoring, and threshold-based alerts into a continuous monitoring loop that fires a Slack alert the moment a response drops below your quality bar.

What you'll do

Open the workflow and review the production path (Daily Schedule kicks off the AI Agent, Production logic handles real traffic). Open the Evaluations tab and click Run Test to feed your golden dataset through the AI Agent. Watch the judge model score each response and the Check Threshold node compare the average against your threshold (default 3.5/5). See a Slack Alert fire when a test case scores below the threshold, or All Clear when scores are healthy.

What you'll learn

How to turn one-time evaluations into continuous monitoring on a schedule How to apply per-test-case thresholds so individual failures trigger immediate alerts How to combine the Evaluations tab (trend tracking) with workflow-level alerting (real-time) How to grow a golden dataset over time by feeding production failures back into your test set

Why it matters

AI workflows degrade silently. A model update changes behavior, input patterns shift, and quality drops without throwing a single error. Continuous monitoring with alert thresholds turns evaluation from a pre-deployment check into a safety net that runs forever, so you find out about a problem from your dashboard, not your customers.

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 - Sticky Note1

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

Block 3 - Daily Schedule

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 4 - When fetching a dataset row

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

Block 5 - Format eval input

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

Block 6 - AI Agent

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

Block 7 - OpenAI Chat Model

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

Block 8 - Evaluating?

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

Block 9 - Production logic

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

Block 10 - Score Response

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 11 - Evaluation - Set Outputs

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

Block 12 - Set Metrics

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

Block 13 - Check Threshold

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

Block 14 - Below Threshold?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 15 - Slack Alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 16 - All Clear

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

Block 17 - Sticky Note3

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

Block 18 - Sticky Note4

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

Block 19 - Sticky Note5

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

3. Summary Table

Workflow Monitor AI quality drift with GPT-4o-mini evaluations and Slack alerts
Complexity advanced
Nodes 19
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/15135/15135.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 Monitor AI quality drift with GPT-4o-mini evaluations and Slack alerts do?

Catch AI quality drift before your users do. This template ties scheduled evaluation, LLM as a Judge scoring, and threshold based alerts into a continuous monitoring loop that fires a Slack alert t...

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.