The problem
The sales team typed every customer order by hand. Orders arrived as emails with PDFs, scans, photos, Excel, Word and Outlook files, in several European languages. Customers wrote things like “same as last time” or split one order across six deliveries.
What we built
A separate AI service that works beside the client’s order system. It never changes the system’s code.
- Reader agent. Reads the email and every attachment, and pulls out each order line. Every value keeps the text it came from and a confidence score.
- Matcher agent. Matches the customer, delivery and billing addresses, product, incoterm and loading point to the client’s records, using each customer’s order history. It understands “same as last time”.
- Order builder. Plain code, no AI. It converts units, checks dates against weekends and holidays, catches duplicate PO numbers, splits multi-delivery orders and highlights anything doubtful.
- Approval screen inside the existing system. Nothing becomes an order until a person confirms it.
Safety
- The agents read the client’s database read-only and write only through the system’s own API.
- The agent service keeps its own separate database.
- Every value shows where it came from, so a person can check it in seconds.
Results
We tested it on 40 prepared documents, including orders with six deliveries:
- 96–100% of documents were read fully correctly.
- Each document took about 25 seconds.
- The AI cost was about $0.09 per document.
Later we connected a company mailbox, so orders are read as soon as they arrive.