The trigger: a sixfold error in a correctly parsed request
-
A participant on the n8n forum analyzed a simple example.
-
The customer requests 12 units; in the catalog, the price is €40 per pack of
-
The model correctly extracted the SKU and quantity, but directly multiplying "quantity × price" produced €480. Calculated by packs, the invoice would have been €80.
-
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.
-
The model itself does not guarantee calculation accuracy.
-
The post's author put together a small Python example using synthetic RFQ (request for quotation) lines.
-
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.
-
Nine local tests passed, including malformed prices, unknown SKUs, and two legitimate cases that the validator must allow through.
-
Extraction worked perfectly; the business logic after it failed.
-
The request looked routine, but the price in the email would have become a commitment by the company to the customer.