
Description
Builds and maintains configuration-based evaluations on a workflow with the eval-config tool. Use when the user asks to set up, add, view, change, or remove an evaluation, score, grade, or judge a workflow's output, or measure answer quality against a test dataset. This is the only eval form Instance AI handles — it does not touch on-canvas evaluation nodes.
SKILL.md
Config-based Evaluations
Use this skill to attach a configuration-based evaluation to a workflow with the
eval-config tool. A config eval pairs a workflow with a name, a start node, an
end node, one or more judged metrics, and a Data Table dataset. Nothing is added
to the canvas — the config lives off-canvas via the evaluation-config API.
Config evals are the only evaluation form you work with. Do not add, read, rewire, or reason about on-canvas evaluation nodes (EvaluationTrigger, Evaluation/checkIfEvaluating/setOutputs/setMetrics). If the user asks for those, build a config eval instead and briefly say that is how you set up evaluations.
What a Config Eval Needs
name— a human-readable evaluation name.startNodeName— the node where a run begins; it is fed one test-input row.endNodeName— the node whose output is judged.dataTableId— a Data Table holding the test dataset. Create and populate it with thedata-tablestool first, then link it here by id.metrics— one or more judged metrics (see below).
Default Procedure
- Identify the target workflow and read it. Trace the main path from trigger to the node that produces the answer.
- Pick the nodes:
startNodeNameis normally the node that receives the input the dataset varies (often the trigger or the first node after it).endNodeNameis the node whose output you want scored (usually the AI agent or the final response node).
- Resolve the dataset. Call
data-tables(action="list")to find an existing dataset, or create and seed one withdata-tablesbefore creating the config. Never invent adataTableId; use one returned bydata-tables. - Choose metrics and build the
actualAnswer/expectedAnswer/userQueryexpressions (see Metrics). - Call
eval-config(action="create"), orupdatewhen changing an existing config. The tool shows an approval card automatically — call it and respect the result; do not ask for chat approval first. - Close with facts: evaluation name, workflow, start/end nodes, dataset name and id, and the metrics configured.
Metrics
Each metric is LLM-judged and needs a judge model: a credentialId, a model,
and an outputType (numeric, the default, or boolean). Reuse an LLM
credential the workflow already uses when one fits.
Do not set provider unless you know the exact chat-model node type — it is
derived automatically from the credential you pass (each credential type maps to
one provider). Just pick the credential and the model.
Two presets are available:
correctness— compares the produced answer to a ground-truth answer. RequiresexpectedAnswer(an n8n expression resolving to the ground-truth value, typically a dataset column, e.g.{{ $json.expected_output }}).helpfulness— judges the produced answer against the user's query. RequiresuserQuery(an n8n expression for the input the user asked, e.g.{{ $json.input }}).
Every metric also needs actualAnswer: an n8n expression resolving to the
workflow's produced answer at the end node, e.g. {{ $json.output }}.
Pick correctness when the dataset has a known right answer to compare against;
pick helpfulness when there is no single ground truth and quality is judged
relative to the request. Use prompt only to override the default judge prompt.
Dataset Boundary
- Build the dataset with the
data-tablestool: one column for each input the evaluation varies, plus a ground-truth column when usingcorrectness. - The config only references the dataset by
dataTableId; theeval-configtool does not create or populate rows. If no suitable dataset exists, create one first, then create the config. - Do not weaken the evaluation to fit a thin dataset — seed the dataset to match the metrics, or ask the user for the expected answers.
More Detail
Use references/config-eval-playbook.md for tool-call recipes, worked examples, and output shapes.
More skills from the n8n repository
View all 11 skillscredential-setup-with-computer-use
configure n8n credentials via browser
Jun 30AutomationConfigurationn8nOAuthdata-table-manager
manage n8n Data Tables
Jun 30Data EngineeringDatabasen8ndebugging-executions
debug failed n8n workflow executions
Jun 30AutomationDebuggingn8nWorkflow Automationintent-recognition
classify automation requests by control flow
Jul 20AgentsAutomationn8nWorkflow Automationn8n-cli
manage n8n workflows from the CLI
Apr 6AutomationCLIn8nWorkflow Automationn8n-docs-assistant
retrieve n8n documentation and guidance
Jun 30Documentationn8nReferenceSearch
More from n8n
View publisherplanned-task-runtime
manage n8n task runtimes
n8n
Jun 30Automationn8nWorkflow Automationplanning
coordinate multi-artifact workflows
n8n
Jun 30Automationn8nPlanningWorkflow Automationpost-build-flow
verify and set up n8n workflows
n8n
Jun 30Automationn8nWorkflow Automationworkflow-builder
build and edit n8n workflows
n8n
Jul 20Automationn8nWorkflow Automationn8n-agents-official
build AI agents in n8n
skills
Jul 8AgentsLLMWorkflow Automation