Skip to content

Guide

How do I test an n8n AI step before I turn the workflow on?

Run the step's prompt on 25 to 30 realistic inputs, not one, and grade the outputs blind against criteria you wrote down first. Then read what went wrong model by model, check the cost at your monthly volume, and keep a person approving outputs when you first switch it on.

VerdictNov 8, 2026
Best model for an n8n support reply

Ship glm-5.3-flash

z-ai/glm-5.3-flash · v1
7.6/ 10, range 7.2 to 7.9$0.029 / 1k calls
30 test cases · graded blind

One real test, graded blind. Open the card for every answer and grade.

One good run proves very little

You built an n8n workflow that drafts replies to customer emails. You ran it once, the reply looked fine, and you're about to switch it on. The trouble is that one input tells you almost nothing.

In the test behind this guide, the easiest email was a customer whose mug arrived cracked. Every model handled it: the best reply scored 9.3 and the weakest still scored 7.1. Easy inputs make every prompt look good. The mistakes showed up on the other 29.

Step 1: Collect 25 to 30 real inputs

Past emails are best. Include the awkward ones: angry customers, requests just outside your policy, emails missing an order number. No history yet? The free test case generator below drafts them for you to edit, or you can upload your own as a spreadsheet. See how many test cases you need.

Step 2: Write down what a good output looks like

Do this before you test. For this support step there were six criteria: the policy is right, out-of-policy requests are handed to a person, the answer comes in the first sentence, there's one clear next step, it's under 100 words in plain text, and the tone fits. See how to write a grading rubric.

Step 3: Run it on every case, on a few models, graded blind

Here, 4 models answered all 30 emails with the same prompt, and 2 jurors from other model makers graded every reply without knowing which model wrote it.

ModelScore out of 10Likely rangeCost per 1,000 runs
GLM 5.3 Flash7.67.2 to 7.9$0.029
GPT-OSS 120B7.26.6 to 7.8$0.058
DeepSeek V4 Flash6.86.4 to 7.3$0.032
GPT-4o mini6.66.1 to 7.0$0.13

GLM 5.3 Flash and GPT-OSS 120B are too close to call. GPT-4o mini is clearly behind.

Step 4: Read what went wrong, model by model

This is the step that matters. The jurors' reasons show what the prompt didn't tell each model:

  • GPT-4o mini put a time limit on replacements. The policy replaces damaged items at any time.

  • DeepSeek V4 Flash assumed dates and shipping status the email never stated.

  • GPT-OSS 120B made up resolutions and timelines for edge cases instead of handing them to a person.

  • GLM 5.3 Flash, the winner, opened with pleasantries instead of the answer. It scored 2.8 out of 5 on answering first.

Any of these could reach a customer. Each one is a line to add to your prompt.

Step 5: Check the cost at your volume

Per-call prices hide the real number. In this test GLM 5.3 Flash cost $0.029 per 1,000 runs and GPT-4o mini $0.13. At 10,000 emails a month, that's about $0.29 against $1.30. Prices change, so check them again before you commit.

Step 6: Keep a person in the loop, and re-test on every change

Have a person approve outputs when you first switch the workflow on. Re-run the same test whenever you change the prompt or the model, so you know you didn't break something that used to work.

The short version

  1. Test on 25 to 30 realistic inputs, not one.

  2. Write down what good means before you test.

  3. Grade blind, on a few models.

  4. Read the failures and turn each into a rule in the prompt.

  5. Check the cost at your monthly volume.

  6. Keep a person approving at first, and re-test on every change.

Questions people ask

Why isn't one test run enough for an n8n AI step?
One run usually uses an easy input, and easy inputs make every model look good. In a test of 30 support emails, the easiest one got a best reply of 9.3 and a weakest of 7.1. The mistakes that matter showed up on the harder emails.
Where do I get test inputs for an AI step in n8n?
Past inputs are best, such as real customer emails from your inbox. Include the awkward ones. If you have no history yet, a test case generator can draft realistic ones for you to edit, or you can upload your own as a spreadsheet.
Which model should I use in an n8n AI step?
Test a few on your own inputs. In one test of support replies, GLM 5.3 Flash scored 7.6 out of 10 against 6.6 for GPT-4o mini, and cost less per 1,000 runs. Results depend on the job, so run the test on yours.
Should I let an n8n AI step send replies on its own?
Not at first. Keep a person approving outputs when you switch it on, and only remove that step once you have seen it handle real traffic well.
When should I re-test an n8n AI step?
Whenever you change the prompt or the model. Re-run the same test cases, so you know you didn't break something that used to work.