n8n: €480 Instead of €80 Due to One Unit Error

The model read the request correctly, but the bill was €480 instead of €80. Learn why AI automation needs a validator in n8n.

  • The trigger: a sixfold error in a correctly parsed request
  • Where errors occur: after the model
  • Three techniques from different posts
  • What this means for managers

The trigger: a sixfold error in a correctly parsed request

  1. A participant on the n8n forum analyzed a simple example.

  2. The customer requests 12 units; in the catalog, the price is €40 per pack of

  3. The model correctly extracted the SKU and quantity, but directly multiplying "quantity × price" produced €480. Calculated by packs, the invoice would have been €80.

  4. The article's main point: the value of AI automation is determined by the validator between the model's response and the company's commitment to the customer.

  5. The model itself does not guarantee calculation accuracy.

  6. The post's author put together a small Python example using synthetic RFQ (request for quotation) lines.

  7. For this request, the system returned the status `review: unit_mismatch` and a blank amount: it refused to calculate and passed the line to a human.

  8. Nine local tests passed, including malformed prices, unknown SKUs, and two legitimate cases that the validator must allow through.

  9. Extraction worked perfectly; the business logic after it failed.

  10. The request looked routine, but the price in the email would have become a commitment by the company to the customer.

Where errors occur: after the model

  1. Teams usually spend most of their effort on extraction quality: the prompt, model selection, and reference examples. Meanwhile, business rules remain in the manager's head.

  2. The manager knows what “piece” means for this product, whether the package is divisible, and whether an incomplete package can be sold, but these rules are not in the workflow.

  3. As long as the manager was part of the process, the gap went unnoticed.

  4. When a company removes the manager, every undocumented rule starts costing money.

  5. Another author describes a similar principle in a thread about customer support.

  6. Automated actions are allowed only through an API call allow-list, and anything involving money is first sent to an operator.

  7. His triage pipeline works as follows: items are classified, the LLM drafts a response, a rule-based validator checks each draft, and one retry is made after a failure with the reason provided. The model proposes; the rules decide.

Three techniques from different posts

  1. In one feed, three authors described the same architecture over the course of several days. Small, testable endpoints.

  2. Database searches and API calls are isolated in separate tested functions, while n8n orchestrates the conversation.

  3. The logic lives in code that can be tested, and the author does not create nodes with hidden copies of it. Explainable scores. In the description of a lead-generation system for around 5,000 contacts, fit is scored on a scale from 1 to 10, with the factors behind each score shown for every record.

  4. A person can see why the record was flagged and correct the rule. Demo without access credentials.

  5. The Google Calendar overlap report comes with a `demo_mode`.

  6. Five fictional events turn into three busy time slots and one overlapping pair. You can import and test the workflow before connecting credentials.

  7. The task follows the same rules: a booking made by phone or directly in the calendar bypasses the booking form, so the report looks specifically for what the form missed.

Assess where AI can deliver impact in your process

What this means for managers

  1. AI automation has two costs: the cost of building it and the cost of one undetected error.

  2. An error in an RFQ costs the difference between €80 and €480.

  3. Multiplied across a stream of requests, it results in a loss or a lost customer.

  4. A budget for "AI in sales" is justified when the process has a safeguard.

  5. Without it, the company gets a polished demo that does not improve the metric, or worse, drives it down—and the person who approved the budget is held responsible.

  6. Candidates in the same threads describe themselves this way: "I build things that work, not presentations about what could work."

  7. Customers assess a provider by a functioning workflow with checks and look at that before reviewing the technology list.

How we address this in projects

  1. In KT.Team integration projects, the rule is that the model cannot write to the accounting system.

  2. Between it and 1C, Bitrix, or Odoo is a validation layer that we build together with the process. -

  3. Data extraction and business validation are separated.

  4. Units of measurement, pack multiples, permitted ranges, and reference data are checked by Python or C# code that can be covered by tests. -

  5. The agent's actions are limited to a list of permitted operations.

  6. Through MCP, we expose only tools that are safe for automatic invocation to the agent.

  7. Money-related operations are sent to an approval queue. -

  8. Requests to models pass through the LLM & Security Gateway.

  9. It records the log, limits, and data filtering, so any decision can be reconstructed. -

  10. For catalog and policy-related answers, we use RAG, where the source of every statement is visible and verifiable. -

  11. We build orchestration in n8n or Kafka so that any step can be disabled without stopping the others.

  12. On the surface, the result looks simple: the request arrives, the price is calculated, and the questionable line is sent to a manager.

  13. This simplicity is ensured by tests, reference data, and clearly defined responsibility shared between the model, code, and people.

Verdict

The “correct SKU, incorrect unit of measure” test should be included in the checklist for quote, order, and support automation projects. A contractor who cannot show a test in which the system refuses to calculate has not yet proved they can protect your money. Implementation speed is measured by time to result, and the result is a calculation that did not need correction after being sent to the customer.

Discuss the article: n8n: €480 instead of €80 because of one…

Enter your email or phone number so we can get back to you.

Send via: