RCA, Rounded Corp AssociationRCA, Rounded Corp Association

Order entry from email and spreadsheets: what AI reads, and what a person still checks

A language model can turn an order email and its spreadsheet into a draft order. The useful part is what happens next: the checks against the ERP, and the person who confirms.

In short

  1. AI order entry reads an order email and its attachments into a draft order: customer, delivery address, dates and lines.
  2. The customer and the other parties are matched against your ERP's records, and every match shows its status.
  3. A person reviews, corrects and confirms the draft before the order reaches the ERP. The model types; it does not decide.
Rounded CorpPublished 7 min read

AI order entry means a language model reads an incoming order, in the body of an email or in a spreadsheet attached to it, and fills in a draft sales order: the customer, the delivery address, the order and delivery dates, and the lines with article number, name and quantity. The parties on the draft are matched against the customer records in the ERP, and a person in customer service confirms the draft before the order is created.

Done this way, the model takes over the typing, and the decision stays with the people who know the customers.

Why orders still get retyped

Many manufacturers and distributors receive most orders outside EDI. A buyer sends an email with a few lines in the text, another attaches the spreadsheet their own system exports, a third sends last week's file with the quantities changed. Each layout is different, and each one is typed into the ERP by hand.

The typing is slow, but the costly part is the mistake: a wrong article, a quantity in the wrong unit, a delivery to last month's address. Each one shows up later, at the warehouse or at the customer's dock.

What the model reads

The model reads the email text and the spreadsheet attachments as one order and returns the same fields every time:

What the model fills in, and what it does when a field is missing
FieldWhere it usually comes fromWhen it is not there
Customerthe sender, the signature, the order headerleft empty for a person
Delivery addressthe email text or the spreadsheet headerleft empty for a person
Order datethe order itself, or the date the email arrivedthe date the email arrived
Delivery datethe email text or a column of the spreadsheetleft empty for a person
Lineseach row: article number or barcode, name, quantitya row with any of the three is kept

Two rules matter more than the model's cleverness. A field the order does not contain is left empty, not guessed, so a person sees the gap. And a spreadsheet row is kept when it has any of the three values, so a line with a barcode and no name does not silently disappear from the order.

What the system checks against the ERP

A name read from an email is not yet a customer. The system looks each party up in the ERP's master data, in a fixed order: first by location number, then by tax number, then by name. The first two find one customer or none. A name can find several, and then a person picks the right one from a list.

Every party carries a visible status: matched and confirmed, a match to choose, or no match. The order is not created in the ERP until each party has its customer number from the ERP. Fixed values are defaults, not locks: in the case below, the company's own details are filled in for every order, and staff can still change them.

What a person still checks

The person at the screen sees the original email and the draft side by side, corrects what is wrong, and confirms. Then the order goes to the ERP. In practice, the review catches a few kinds of problem again and again:

  • Units. "700 pieces" and "700 cartons" are very different orders. A model told to prefer cartons will read a quantity in pieces as cartons unless the unit written on the line takes priority.
  • The right customer. Two customers with similar names, or a branch and its head office. The person's pick has to survive every later check of the order.
  • Articles the customer names their own way. Buyers often use their own article codes or a short name, which is not what the ERP calls the product.
  • What the order does not say. A missing delivery date or address stays empty until someone asks the customer.

Each correction is also a lesson for the next version of the instructions or the model, which is one reason the review should never be skipped to save time.

One project: order emails into a draft order

We built an order-entry assistant of this kind for a company that receives its orders by email. A service watches the order mailbox and only reads it, so nothing on the mail server is changed or deleted. Every email that arrives becomes an order record at once, so none is lost while the model works. The model then reads the email and its spreadsheet attachments into a draft, the parties are matched against the company's ERP, and staff review, correct and confirm the draft before an order is created in the ERP.

Two of the checks above came up while it was being tested. A row that said "700 pieces" was read as 700 cartons, because the instructions preferred cartons; the fix was to let the unit written on the row decide, and to keep the number unchanged when staff switch the unit. And a customer picked from several matches was lost when the order was saved and checked again; now the pick stays when it is still one of the matches.

We quote no accuracy or time-saved figure for this project, because none has been measured yet. At the time of writing, the next step in that project is the switch to the company's live database.

When AI is the wrong tool for order entry

If a customer can send orders by EDI, that is better than any model: the data arrives structured and the rules are agreed in advance. Our article on EDI 830 and 862 shows what that looks like. If one large customer always sends the same spreadsheet layout, a plain import for that layout is simpler and easier to check. A model earns its place where many customers send many layouts and none of them will change.

Orders that arrive as PDFs or scans add one step, reading the text off the page, and the same checks apply after it.

Our industrial AI practice keeps one rule for this work: if a rule or a plain integration does the job, we build that instead, and no model goes live without a stated error rate and a named person who owns the hard calls. Connecting the result to the ERP you already run is our ERP and integration work.

Questions about AI order entry

Can AI enter sales orders from email into the ERP?

Yes, with a person in the loop. A language model reads the email and its attachments into a draft order, the customer is matched against the ERP's records, and a person confirms the draft before the order is created. Fully automatic posting without review is possible in principle, but it should wait until the error rate on your own orders has been measured.

Does AI order entry replace customer service?

No. It takes over the typing. Customer service still checks the draft, settles what the order does not say, and talks to the customer. The time saved goes to the orders that need a person.

What does an AI order entry project need?

Real examples of each order type, a few months' worth, and the ERP fields each one has to fill. Clean customer and article records in the ERP matter as much as the model, because the drafts are checked against them.

The audit exists for this

Two to four weeks, fixed price, vendor-neutral.

Which orders arrive how, which customers could send EDI, and what a wrong order costs, written down before any model. It can conclude that a plain import does the job.