Templates / Automate LLM testing with GPT-4 judge & Google Sheets tracking

Automate LLM testing with GPT-4 judge & Google Sheets tracking

Ready for 3.0

by Adam Janes ✓ · 1,109 views · created 2025-07-16 · 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 12 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets and OpenRouter Chat Model. It also calls webhook-processor-production-48f8.up.railway.app over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Get Tests (Google Sheets): uses Google Sheets
  2. Keep Original Data (Edit Fields (Set)): sets or maps fields
  3. Extract Data (Edit Fields (Set)): sets or maps fields
  4. Limit: keeps the first few items
  5. Merge: merges the data from its input branches
  6. Basic LLM Chain: sends a prompt to an LLM, with model: OpenRouter Chat Model; output parser: Structured Output Parser
  7. Execute Subworkflow (HTTP Request): calls webhook-processor-production-48f8.up.railway.app (POST)
  8. Update Results (Google Sheets): append or update

Services it uses

Google SheetsOpenRouter Chat Model

HTTP calls to: webhook-processor-production-48f8.up.railway.app

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 (10)

From the author

How it works - The workflow loads a list of test cases from a Google Sheet (previous results stored from an LLM) - For each test case, we execute a call to an LLM judge in parallel (using HTTP Request + Webhook nodes) - The judge uses the Input, Output, and…

Excerpt from Adam Janes'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.