Skip to content

Email order entry automation: how an AI Worker keys orders into the ERP without errors

DYNAMINDS Labs team · · 6 min

AI Workers

In brief

Orders from email reach the ERP without errors when every line passes a few checks: the customer's description mapped to an item code from a confirmed cross-reference, unit and quantity compared with the customer's history, price compared with the price list, and the whole order compared with earlier messages in the thread. An AI Worker runs these checks on every order, creates a draft in the ERP and describes discrepancies. A sales rep approves the document and sees uncertain lines flagged instead of hunting for them.

Where keying errors come from

Retyping an order takes a few minutes, and an error in it costs much more: the wrong goods delivered, a complaint, a corrected invoice, sometimes a lost customer. The errors are not random. They recur in the same places.

ErrorExampleCheck that catches it
wrong item codethe customer writes "angle bar 40 galvanized" and the ERP has three similar itemscustomer cross-reference, new matches sent for confirmation
unitthe customer orders "10 packs", the ERP unit is pieces and a pack holds 50unit conversion from the item record
quantity"1.000" read as one instead of a thousand (Polish customers use a dot as the thousands separator)comparison with the customer's typical quantity for that item
pricethe customer used last year's price listcomparison with the price list and the customer's terms
delivery addressthe order is for a construction site, the ERP defaults to head officeaddress from the email checked against addresses in the customer record
duplicatethe customer sent the same order again with "resending"comparison with this customer's orders from recent days
change in the threadan hour later the customer replies "please add 20 more of line 3"reading the whole thread, not only the first email

The check under each row is simple once you know what to look for. The trouble is that by the fiftieth order of the day a person does them from memory, and memory fails exactly on the unusual cases.

The cross-reference: the core of item matching

Most of the work in email orders is turning the name the customer writes into an ERP item code. Customers have their own names, abbreviations and sometimes their own catalog numbers. The answer is a cross-reference kept separately for each customer.

  1. The AI Worker reads the line and looks it up in this customer's cross-reference.
  2. If the match has been confirmed before, it uses the item code.
  3. If not, it proposes an item based on the item master and order history, with a justification, and flags the line for confirmation.
  4. The sales rep confirms or corrects it, and the confirmed match goes into the cross-reference.

After a few weeks most lines from regular customers go through without questions, and only new products and new customers need confirmation. This beats guessing, because a wrong item chosen "with confidence" is more dangerous than a line flagged as uncertain.

Number checks: quantity, unit, price

An order can have the right item codes and still be wrong. That is why every line goes through three comparisons.

  • Unit. The conversion factor from the item record turns packs, pallets and meters into the ERP unit. If the customer gave no unit, the AI Worker uses the one from their history and notes this on the line.
  • Quantity. A line ten times larger or smaller than usual for this customer is flagged. That is how decimal commas, dots and extra zeros get caught.
  • Price. The order price is compared with the price list and the customer's individual terms. Approving a price that differs from the list belongs to the sales rep.

Stock comes last. An order for goods that are out of stock is still an order, but the sales rep should know before confirming it, not after a call from the warehouse.

Why an order must not sit in the mailbox

Under Polish law, silence between businesses with an ongoing relationship has legal weight. Article 68² of the Polish Civil Code says that when a business receives an offer within its line of business from a party it has regular dealings with, failing to reply promptly is treated as accepting it. A regular customer's order that sat in the orders@ mailbox for a week may therefore mean a contract the company does not know about.

Hence the second rule: every order gets a draft in the ERP on the same day, and those that cannot be fulfilled in full go to a sales rep with a note that same day, not a week later. How to prepare the confirmation itself with a delivery date is covered in Order confirmations and delivery dates. How an AI Worker reads emails without treating their content as instructions is described in AI Workers and company email.

How to measure that there are fewer errors

Measurement starts before deployment. Take orders from the last 2–3 months and count how many needed a correction after approval, how many ended in a complaint about the wrong goods, and how long keying took. In the pilot the AI Worker goes through the same orders, and the result is counted separately for each error type in the table.

MetricHow to calculate it
lines accepted without changesshare of lines the sales rep approved unchanged
missed errorswrong lines the checks did not flag
false alarmsflagged lines that turned out to be correct
time to draftfrom the email arriving to the draft in the ERP

The second metric matters most. A few false alarms cost a click, while a missed error means a delivery of the wrong goods. The method is described in How to measure the quality of an AI Worker's work, and orders in different formats in Orders in PDF, Excel and the email body.

This is how the Order entry operator at DYNAMINDS Labs works: it reads the order from an email, PDF or spreadsheet, maps the customer's names to item codes, checks prices against the price list and availability, and creates a draft order in the ERP with discrepancies described. Approving the order, confirming it to the customer and accepting a price outside the price list wait for a person.

Questions and answers

Does the AI Worker approve orders in the ERP by itself?

No. It creates a draft document with discrepancies flagged, and a sales rep or someone from order processing approves it. It has only the ERP permissions you grant it, and every step goes into its log, so you know who approved the document and when.

What if the customer names products completely differently from the item master?

That is what the cross-reference is for. The AI Worker proposes an item based on the item master and this customer's order history, and shows the new match for confirmation. Confirmed matches are remembered, so the same name goes through without questions on later orders.

How does the AI Worker spot an order change sent in a later email?

It reads the whole thread, not just the first message. When the customer replies asking for a change, the AI Worker links it to the existing draft and shows the difference. If the order has already been approved, the change goes to the sales rep as a separate item for a decision.

How many orders do I need for this to pay off?

It depends on keying time and the cost of errors. A worked example: 40 orders a day at 6 minutes each is four hours of work daily, plus time spent on corrections. A step-by-step return calculation is in How to calculate whether an AI Worker pays off.

Start with one task. Describe it, and DYNAMINDS Labs will prepare a free diagnosis.

Meet DYNAMINDS Labs

Read more: AI Workers

All in AI Workers →