Templates / Evaluate tool usage accuracy in multi-agent AI workflows using evaluation nodes

Evaluate tool usage accuracy in multi-agent AI workflows using evaluation nodes

Needs changes

by Angel Menendez ✓ · 20,705 views · created 2025-07-01 · Engineering, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 15 nodes and runs on Evaluation events (plus 1 other trigger). Along the way it connects Evaluation, HTTP Request, OpenRouter Chat Model and Embeddings OpenAI and 1 more. It also calls api.firecrawl.dev over HTTP.

How it runs

Trigger: On Evaluation events (plus 1 other trigger).

  1. Match chat format (Edit Fields (Set)): sets 1 field: chatInput
  2. Search Agent (AI Agent): runs an AI agent, with model: OpenRouter Chat Model; 4 tools (Search_db, Calculator, Summarizer, Web search)
  3. Evaluating? (Evaluation): check if evaluating
  4. Check if tool called (Edit Fields (Set)): sets 1 field: tool_called
  5. Set Outputs (Evaluation): uses Evaluation
  6. Evaluation: set metrics

Services it uses

EvaluationHTTP RequestOpenRouter Chat ModelEmbeddings OpenAIQdrant Vector Store

HTTP calls to: api.firecrawl.dev

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Search Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Search Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (12)

From the author

Who's it for ------------ This workflow is ideal for AI developers running multi-agent systems in n8n who need to quantitatively evaluate tool usage behavior. If you're building autonomous agents and want to verify their decisions against ground-truth…

Excerpt from Angel Menendez'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.