Skip to main content

Test your n8n WhatsApp chatbot: catch invented prices.

Your WhatsApp AI agent can quote a price it made up, or say “your booking is confirmed” without calling the booking tool, and n8n still marks the execution as successful. The Mibo node for n8n captures each execution, which Mibo calls a trace. Mibo checks the trace against the rules you set and shows which ones failed. It never sends messages or calls your agent.

WhatsApp chatbots fail quietly

You find out when a customer complains.

Facts nobody gave it

“We ship nationwide in 24 hours” or “the Plus plan costs $19.” Neither is in your prompt or your data. The model wrote them anyway.

A tool that never ran

The agent replies “your booking is confirmed.” The execution has no call to the booking tool.

Add it to your n8n workflow

Keep your WhatsApp trigger and your AI Agent as they are. Add one node at the end.

  1. Install the n8n node

    Search for Mibo Testing in the n8n nodes panel. On self-hosted n8n you can also install the npm package @mibo-ai/n8n-nodes-mibo-testing.

  2. Connect it

    Add the node after the AI Agent, at the end of the workflow. Create the credential with your Mibo API key. Add an n8n API key too, so the node can read the workflow structure. The key is optional if you put n8n’s Get Workflow node before the Mibo node instead. Both routes need the n8n API, which is not available during the n8n Cloud free trial.

  3. Write your first test

    Send a test message and open that trace in Mibo. The Architect, Mibo’s AI assistant, proposes the test’s checks from what the trace recorded. Each check is a rule about the reply or about what the agent did. You can also start from a template. Nothing is saved until you review it.

Two kinds of check: what it said, what it did

Checks on the reply

You describe in your own words what the reply must say or avoid, for example that every price comes from your price list. An AI model scores the reply against that rule. Each one uses one of your plan’s monthly AI evaluations.

Checks on what the agent did

These checks confirm that a 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 to capture tool calls.

Find out without opening every chat

Mibo evaluates new traces against your saved tests, within your plan limits. Alerts arrive after the agent has replied and block nothing.

Daily email digest

Off by default. The workspace owner turns it on in workspace settings. It arrives at 08:00 UTC when an agent has stopped sending traces or started again. A second setting adds yesterday’s failures. With nothing to report, no email is sent.

Failure alert

Off by default. Turn it on and pick a threshold of 25 or 50 failed evaluations per agent. Each time an agent reaches it, the workspace owner gets an email that names the failed tests and links an example trace. Paid plans can also send it to Slack or your own webhook.

Starter safety templates

Each template runs on every trace from your agent and needs the reply to be in the trace. It saves as an ordinary test that you can edit.

Doesn’t leak personal data

Checks that the reply contains no email, phone number or card number. Uses no AI evaluations. It also fails when the reply holds a mask marker such as [email], so it catches a value the node masked in the recording. It does not detect phone numbers written as plain digits.

Stays on topic

You describe your topic in up to 200 characters. The check fails a reply that helps with anything outside it. Uses one AI evaluation per trace.

Doesn’t reveal its system prompt

Checks that the reply doesn’t reveal the agent’s instructions. Uses one AI evaluation per trace.

Frequently asked questions

Does Mibo send WhatsApp messages or call my chatbot?

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

Do I need a WhatsApp integration?

No. Mibo has no WhatsApp-specific integration. Your n8n workflow handles WhatsApp and the Mibo node captures the execution. It works with any n8n workflow that has an AI Agent, WhatsApp or not.

How do I test the chatbot before launch?

Run the workflow from the n8n editor and message your test WhatsApp number. The node sends a trace for every execution, including runs started in the editor, and Mibo evaluates each one with your tests. You write the messages. Mibo does not generate them.

What happens to my customers’ personal data?

By default the node masks emails, phone numbers in common formats, WhatsApp IDs and card numbers before the trace leaves n8n. It misses a phone number typed as plain digits in the middle of a sentence, and it does not look for national ID numbers. If a field holds one of those, add its path under Custom Sensitive Data Protection in the node. The personal-data template does not detect plain-digit phone numbers either.

What if the customer’s message isn’t in the trace?

Tests that depend on the customer’s message are skipped, and the trace says no user message was recorded. Tests that apply to every trace are still evaluated. A Manual Trigger carries no user message.

How much does it cost to start?

There is a free plan. Checks that don’t use AI cost no AI evaluations. Each AI check, including the “Stays on topic” and “Doesn’t reveal its system prompt” templates, uses one AI evaluation per trace out of your plan’s monthly allowance.

Connect a real bot and see its first traces

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

Set up and go deeper