Benchmark LLM Performance on Legal Docs with Sheets & OpenRouter

Automate LLM benchmarking on legal document tasks using Google Sheets test cases, parallel processing, Google Drive, and OpenRouter for efficient model evaluation.

n8n
Benchmark LLM Performance on Legal Docs with Sheets & OpenRouter

This n8n workflow enables comprehensive benchmarking of multiple Large Language Models (LLMs) on legal document information extraction tasks. It pulls test cases from a Google Sheet, processes them in parallel (2 requests per second) to avoid sequential delays, retrieves source documents from Google Drive, converts them to text, and sends prompts to LLMs via OpenRouter for easy model swapping. Results are automatically logged back to Google Sheets for analysis.

Key benefits include significant time savings through parallel execution, scalability for custom datasets, and seamless integration of premium services like Google Workspace and OpenRouter. It's ideal for AI researchers, legal tech developers, or teams evaluating LLM performance on domain-specific tasks without manual intervention.

Use cases span legal AI benchmarking, model comparison for contract analysis or compliance checks, and extending to other domains by swapping datasets. Setup requires credentials for Google Sheets/Drive and OpenRouter, plus copying the sample spreadsheet. Once configured, run evals on 6+ models across 18+ cases effortlessly, with full visibility into accuracy metrics.

$24.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Travel workflows

More from Rania Mensah

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.