Skip to content
FlowHubFluxonLab
A
AI Automationfree

Compare Different LLM Responses Side-by-Side with Google Sheets

by Datakiadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentChat Memory ManagerChat Memory ManagerGoogle SheetsGoogle SheetsOpenRouter Chat ModelOpenRouter Chat ModelSSimple Memory
Share Post Share
ChWhen chat message receivedWhen chat messa…SILoop Over ItemsMBSimple MemoryMMChat Memory ManagerChat Memory Man…OpenRouter Chat ModelOpenRouter Chat…SeSet model, sessionId, chatInput, sessionIdBaseSet model, sess…AgAI AgentSuConcatenate Chat AnswersConcatenate Cha…AgGroup Model Outputs for EvaluationGroup Model Out…Add Model Results to Google SheetAdd Model Resul…SePrepare Data for Chat and Google SheetsPrepare Data fo…SeDefine Models to CompareDefine Models t…SOSplit Models into ItemsSplit Models in…SeSet Output for Chat UISet Output for …123456789101112131415
1/5
STEPS · 15
Starts from a chat message

This workflow allows you to easily evaluate and compare the outputs of two language models (LLMs) before choosing one for production. In the chat interface, both model outputs are shown side by side. Their responses are also logged into a Google Sheet, where they can be evaluated manually or automatically using a more advanced model. Use Case You're developing an AI agent, and since LLMs are non-deterministic, you want to determine which one performs best for your specific use case. This template is designed to help you compare them effectively. How It Works The user sends a message to the chat interface. The input is duplicated and sent to two different LLMs. Each model processes the same prompt independently, using its own memory context. Their answers, along with the user input and previous context, are logged to Google Sheets. You can review, compare, and evaluate the model outputs manually (or automate it later). In the chat, both responses are also shown one after the other for direct comparison. How To Use It Copy this Google Sheets template (File > Make a Copy). Set up your System Prompt and Tools in the AI Agent node to suit your use case. Start chatting!

Tags

n8nreference-onlyagentgoogle-sheetslm-chat-open-routermemory-buffer-windowmemory-manager
Connects
AAI AgentchatmemorymanagerChat Memory ManagersheetsGoogle SheetsopenrouterchatmodelOpenRouter Chat ModelSSimple Memory
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes14
AddedApr 25, 2025

Related workflows

See all AI Automation
ABCD
free

Run AI employee onboarding with Groq, Google Workspace, and Gemini

Quick overview This workflow ingests onboarding documents from Google Drive into an in-memory vector store with Google Gemini embeddings, then runs a multi-channel onboarding chatbot powered by Groq, sends role-based welcome emails via Gmail when a new hire appears in Google Sheets, and schedules day 1/7/30 check-in emails. How it works Manually runs an ingestion flow that lists files in a specified Google Drive folder, downloads them, extracts text, and indexes them into an in-memory vector store using Google Gemini embeddings. Receives employee questions via n8n Chat (and optionally Slack or Telegram), normalizes the message into a single format, and rejects empty or overly long inputs. Uses a Groq LLM agent with per-user session memory to retrieve relevant excerpts from the in-memory company_docs knowledge base and generate a grounded answer, or directs the user to HR when no relevant content is found. Routes the assistant’s response back to the originating channel (n8n Chat, and optionally Slack or Telegram). Triggers every minute on updates to a Google Sheets “Hires” sheet, validates rows marked as Hired, and skips hires already present in the “Tracking” sheet. Builds a depart

by Yash Kabra
AopenaichatmodelserpapigooglesearchS
free

Slack chatbot powered by AI

This workflow offers an effective way to handle a chatbot's functionality, making use of multiple tools for information retrieval, conversation context storage, and message sending. It's a setup tailored for a Slack environment, aiming to offer an interactive, AI-driven chatbot experience. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
ACgmailsheets
free

Monitor procurement spend and risks with Google Sheets, Groq Llama and Gmail

Quick Overview This workflow runs every 15 minutes to pull procurement transactions and department budgets from Google Sheets, calculate spend utilization and forecasts, generate executive risk insights with Groq Llama, write dashboard records back to Google Sheets, and email critical-risk alerts via Gmail. How it works Runs every 15 minutes on a schedule. Reads procurement transactions and department budget/threshold data from Google Sheets and combines them by department. Aggregates spend per department, calculates utilization, remaining budget, projected monthly spend, vendor counts, pending transactions, and assigns SAFE/WARNING/CRITICAL risk levels. Uses Groq (Llama 3.1) to generate an executive-friendly risk analysis and recommendations for each department based on the calculated metrics. Builds organization-wide dashboard totals (spend, projections, alert counts, highest-spend and top-risk departments) and attaches workflow metadata. Formats the results into executive summary, department insight, and risk alert records and appends them into separate Google Sheets tabs. Sends a Gmail escalation email when a CRITICAL risk alert record is detected. Setup Connect Google Sheets O

by WeblineIndia