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.

Nodes used (10)

Structured Output ParserGoogle SheetsBasic LLM ChainOpenRouter Chat Model

What it does

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 Reference Answer fields from the spreadsheet to mark each LLM response as Pass/Fail - The results are logged into a separate sheet in the same Sheets file. Set up steps: - Add your credentials for Google Sheets and OpenRouter (or replace the OpenRouter node with your favourite chat model). - Make a copy of the example Sheet to populate it with you own test data. - Run the workflow with the Execute Workflow button next to the Manual Trigger node.

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.