Templates / Evaluate AI support agent quality and regressions with Google Sheets, Groq and Gmail

Evaluate AI support agent quality and regressions with Google Sheets, Groq and Gmail

Ready for 3.0

by Fahim Jilani ✓ · 3 views · created 2026-09-24 · 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 27 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, Google Gemini Chat Model, Gmail and Groq Chat Model.

How it runs

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

  1. Read Test Cases from Sheets (Google Sheets): uses Google Sheets
  2. Filter: keeps only the items that match a condition
  3. Loop Over Test Cases (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Read Current Evaluation Results (Google Sheets): uses Google Sheets
  5. Set Agent Prompt Parameters (Edit Fields (Set)): sets 1 field: Agent_Prompt
  6. Filter: keeps only the items that match a condition
  7. Execute AI Support Agent (AI Agent): runs an AI agent, with model: Agent Chat Model Executor, Google Gemini Chat Executor
  8. Compute Run Metrics (Code): runs custom JavaScript code
  9. Set Evaluation Parameters (Edit Fields (Set)): sets 7 fields: Test_ID, Question, Expected_Facts…
  10. Read Baseline Metrics (Google Sheets): uses Google Sheets

…plus 13 more steps. See the full node list below.

Services it uses

Google SheetsGoogle Gemini Chat ModelGmailGroq 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 (13)

From the author

Quick overview This workflow runs a customer-support AI agent against Google Sheets test cases, uses Groq-hosted LLMs to evaluate response quality, logs results back to Google Sheets, compares run metrics to an approved baseline, and sends regression or…

Excerpt from Fahim Jilani'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.