Automate the evaluation of LLM summarization quality with this n8n workflow. Measures groundedness, conciseness, and fluency using an expert AI judge, essential for production-grade AI automation.
Download this n8n workflow template and start using it instantly.
The challenge in deploying production-ready AI models is ensuring consistent quality and mitigating issues like hallucination. This specialized n8n workflow provides a solution by implementing a secondary LLM judge to rigorously score the primary model's output against defined criteria. This particular n8n workflow focuses on Summarization Quality, measuring metrics like groundedness (ensuring the summary uses only source material), instruction following, conciseness, and fluency. By utilizing this advanced n8n node structure, developers gain reliable, quantitative feedback on their AI processes, making this one of the most valuable n8n templates for quality control in Generative AI applications.
When fetching a dataset row n8n trigger to pull inputs from a Google Sheets evaluation dataset.Extract from File n8n node then converts the file into usable text data.Summarise Agent (a LangChain LLM Chain powered by an OpenAI Chat Model) executes the core task, generating a summary (specifically, the top 5 highlights) from the transcript text.Is Evaluating? n8n node checks if the execution is a formal evaluation run. If not, the n8n workflow terminates the functional path (via Respond to User).Evaluate Summarisation LangChain n8n node is invoked. This powerful n8n node sends both the original transcript and the generated summary to a specialized Google Gemini model (LLM). This evaluation LLM acts as an "expert judge," applying a comprehensive rubric (Groundedness, Conciseness, etc.) to assign a score (1-5).Output n8n node (Structured Output Parser) to guarantee a structured JSON result containing a numerical rating and a reason for the score.Set Outputs and Set Metrics n8n nodes log the resulting score and score_reason back into the associated evaluation framework, completing the assessment cycle for this specific n8n workflow run.OpenAI Chat Model n8n node used by the summarization agent.LLM n8n node which performs the evaluation.Set Outputs node to access and write metrics to your dataset.Download Transcript n8n node to retrieve files.When fetching a dataset row n8n trigger to point to your specific evaluation spreadsheet and sheet name, ensuring the workflow knows where to pull test data from. When fetching a dataset row (Evaluation Trigger): The crucial n8n trigger for evaluation mode. It reads test cases row by row from a Google Sheet (e.g., "Summarization").
Download Transcript (Google Drive n8n node): Retrieves the required source material (transcript) from Google Drive using the input URL.
Summarise Agent (Chain LLM): The core AI engine. This n8n node uses the OpenAI model (e.g., gpt-4.1-mini) to generate the summary based on the prompt: "Summarise the top 5 highlights of this video using the provided transcript."
Is Evaluating? (Evaluation n8n node): A flow control mechanism determining if the n8n workflow is executing an evaluation job or a production run.
Evaluate Summarisation (Chain LLM): The scoring mechanism. This specialized n8n node uses the Google Gemini model and a detailed rubric to compare the generated summary against the source text for groundedness and quality.
Set Outputs & Set Metrics (Evaluation n8n node): These final evaluation n8n nodes capture the LLM judge's rating and reason, logging the resulting metrics (score and score_reason) back into the associated dataset via the evaluation framework provided by n8n.
Use this advanced n8n workflow to automatically evaluate the tool usage accuracy of multi-agent AI systems. Leverage the n8n Evaluation node for robust testing.

Use this specialized n8n workflow to rigorously evaluate the accuracy of your Retrieval-Augmented Generation (RAG) system. Measure document groundedness by comparing AI responses against retrieved context using an advanced n8n node setup and OpenAI.

Use this powerful n8n workflow to automate candidate screening. It utilizes an n8n trigger on new Google Sheets submissions, evaluates answers using Azure GPT-4o-mini, and updates final combined scores in your candidate database.

Use this powerful n8n workflow to rigorously evaluate the performance and accuracy of an AI Agent designed for support ticket categorization. Compare generated priority and category against ground truth data using custom evaluation metrics.

Calculate AI evaluation metrics using this advanced n8n workflow. Determine if an n8n agent correctly utilized a required tool (like Calculator) during execution.


Freelance consultant based in the UK specialising in AI-powered automations. I work with select clients tackling their most challenging projects. For business enquiries, send me an email at [email protected] LinkedIn: https://www.linkedin.com/in/jimleuk/ X/Twitter: https://x.com/jimle_uk







































