Templates / Grade system prompts in Google Sheets with a Gemini LLM judge

Grade system prompts in Google Sheets with a Gemini LLM judge

Ready for 3.0

by David Grimm ✓ · 19 views · created 2026-06-18 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 11 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and Google Gemini Chat Model.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Read Prompts from Sheets (Google Sheets): uses Google Sheets
  2. Limit: keeps the first few items
  3. Set Sample Grading Task (Edit Fields (Set)): sets 1 field: sampleTask
  4. Candidate Evaluation Agent (AI Agent): runs an AI agent, with model: Gemini Candidate Model
  5. Grade Evaluation Agent (AI Agent): runs an AI agent, with model: Gemini Grader Model; output parser: Parse Grade Schema
  6. Update Grade in Sheets (Google Sheets): update

Services it uses

Google SheetsGoogle Gemini Chat Model

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

From the author

Quick overview This workflow manually grades a system prompt by running it against a sample user task with Google Gemini, then has a second Gemini judge score the prompt (1–10) and write the grade and reason back to Google Sheets. How it works 1. Starts when…

Excerpt from David Grimm'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.