Anis Meziani describes a supplier email workflow in the DEV Community article How we made an AI workflow 100x cheaper and 27% faster: we stopped asking an LLM to decide. The team tested replacing free-form model decisions with a classifier whose possible answers were defined in advance. The case gives purchasing teams a concrete way to think about which documents can proceed automatically and which need a person to check them.
Give ambiguous documents their own route
The workflow classifies incoming mail before checking an acknowledgement against the purchase order. Those are distinct decisions. An email can clearly be an acknowledgement while a particular line remains ambiguous after comparing its reference, quantity, price or delivery date. Meziani describes sending low-confidence decisions down an explicit review path. In the line-check example, scores between 0.3 and 0.7 produce an uncertain verdict.
That middle band gives the team something to test on labelled examples. A reviewer can compare accepted decisions with known answers, then count the documents that the workflow sends to a person. Both measurements matter when choosing a threshold. Raising it may catch more questionable auto-approvals while also increasing the queue the purchasing team must clear. A score from a model needs checking against representative documents before it can guide that trade-off.
Count the work through completion
Meziani reports separate indexed results for the customer workflow. Model cost fell from 100 to 1, processing time fell from 100 to about 73, and the number of documents left for manual matching fell from 100 to 50. The author also reports accuracy rising from roughly 90 percent to roughly 95 percent. These figures describe that case. A team evaluating a similar change would need its own labelled sample and estimates of review time.
The most revealing trace records the chosen route, its score and whether a person had to finish the document. That lets the team ask whether a lower model bill translates into a lower cost per completed document. How would your team account for time spent resolving uncertain decisions when comparing two versions of the same workflow?