Templates / Evaluation metric: summarization

Evaluation metric: summarization

Ready for 3.0

by Jimleuk ✓ · 1,309 views · created 2025-05-27 · Engineering, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Evaluation, Google Gemini Chat Model and Google Drive.

How it runs

Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).

  1. Get Gdrive URL (Edit Fields (Set)): sets 1 field: input
  2. Download Transcript (Google Drive): download
  3. Extract from File: extracts data from a file (text)
  4. Summarise Agent (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
  5. Is Evaluating? (Evaluation): check if evaluating
  6. Evaluate Summarisation (Basic LLM Chain): sends a prompt to an LLM, with model: LLM; output parser: Output
  7. Set Outputs (Evaluation): uses Evaluation
  8. Set Metrics (Evaluation): set metrics

Services it uses

OpenAI Chat ModelEvaluationGoogle Gemini Chat ModelGoogle Drive

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

This n8n template demonstrates how to calculate the evaluation metric "Summarization" which in this scenario, measures the LLM's accuracy and faithfulness in producing summaries which are based on an incoming Youtube transcript. The scoring approach is…

Excerpt from Jimleuk's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.