Skip to main content

Test your n8n chatbot: Mibo and n8n Evaluations.

n8n marks an execution as successful when the workflow finishes, not when the answer is right. The Mibo node for n8n captures each execution, which Mibo calls a trace. Mibo checks the trace against the rules you set, before and after you change the agent. It never calls your agent or sends messages.

A green execution only means the workflow ran

The execution status tells you each node finished. It says nothing about whether the answer was right.

A wrong answer in a successful run

The agent quotes a refund window that is not in your documents, and the execution still ends green. Nobody sees it until a customer replies.

A change that breaks something else

You edit the prompt or switch the model to fix one case. Another case that used to work now skips the lookup tool, and no node reports an error.

Where Mibo sits in your workflow

Keep your trigger and your AI Agent as they are. Add one node after the AI Agent.

  1. Add the node after the AI Agent

    Search for Mibo Testing in the n8n nodes panel, or install @mibo-ai/n8n-nodes-mibo-testing on self-hosted n8n. Create its credential with your Mibo API key and an n8n API key, which the node uses to read the workflow structure. The n8n API is not available during the n8n Cloud free trial.

  2. Write a test from a real run

    Run the workflow once and open that trace in Mibo. The Architect, Mibo’s AI assistant, proposes checks from what the trace recorded. Nothing is saved until you review it.

  3. Later runs are evaluated

    When you change the prompt, the model or a tool, Mibo evaluates the new executions against your saved tests, within your plan limits. Mibo reads recorded runs only. You trigger the workflow yourself.

Two kinds of check: the reply and the tool calls

Checks on the reply

You describe in your own words what the reply must say or avoid. An AI model scores the reply against that rule. Each scoring uses one of your plan’s monthly AI evaluations.

Checks on the tools and steps

These confirm that a named tool was called, that a workflow step ran, or which arguments a tool received. They only see what the node recorded, so turn on Return Intermediate Steps in the AI Agent node. They use no AI evaluations.

n8n Evaluations and Mibo: what each does

n8n’s documentation describes Evaluations as running a dataset of test cases through your workflow. Mibo works from executions that already happened. The two answer different questions.

n8n Evaluations

You build a dataset of test cases, each an input and often an expected output, and n8n runs it through the workflow. In a light evaluation you compare the results by eye while you build. A metric-based evaluation scores them with built-in metrics such as Correctness, Helpfulness, String Similarity, Categorization and Tools Used, or with your own. After you deploy, n8n recommends growing the dataset from production executions.

Mibo

You save tests from real executions, and Mibo evaluates later recorded runs against them. A check can name a tool and the arguments it received, or judge the reply against a rule you wrote. Mibo does not run your workflow or choose its inputs.

When to use which

Use n8n Evaluations to rerun the same dataset whenever you change the workflow, before or after release, and compare the scores between runs. Use Mibo to check real executions as they are recorded, including inputs that are not in your dataset. They work together. When a real run fails a Mibo test, add its input to your n8n dataset, which n8n’s documentation suggests for production bugs.

Frequently asked questions

How do I test an n8n AI agent?

Add the Mibo node after the AI Agent, run the workflow once, and open that trace in Mibo to draft a test. Review and save the checks. Later executions are evaluated against them, so you can see which runs break a rule after a change.

Does Mibo replace n8n Evaluations?

No. n8n Evaluations runs a dataset you prepare through your workflow. Mibo evaluates executions that were already recorded. They can be used together.

Does Mibo call my agent or trigger my workflow?

No. Mibo evaluates executions recorded by the n8n node: what the agent replied and which tools it called. It never contacts your users or runs your workflow.

Can Mibo check that the right tool was called?

Yes, if the trace recorded it. Turn on Return Intermediate Steps in the AI Agent node so the node captures tool calls. Then a check can require a named tool, or specific arguments.

Does this work for Telegram or web chat agents?

Yes. The steps are the same for any n8n workflow with an AI Agent, whichever channel it uses. There is a separate page for WhatsApp chatbots.

How much does it cost to start?

There is a free plan. Checks that don’t use AI cost no AI evaluations. Each check that scores the reply with AI uses one AI evaluation per trace from your plan’s monthly allowance.

Record one run and write your first test

The free plan is enough for that. Checks that need no AI don’t use evaluations.

Go deeper