In brief
In order handling, an AI Worker reads the order from an e-mail or PDF, matches the line items to the ERP item master, checks prices, and creates a draft order, which a salesperson approves with one click or resolves the exceptions on. In quoting, the AI Worker reads the inquiry and specification, calculates the price from the price list and discount rules, and prepares a draft quote for approval. In both processes, the confirmation to the customer goes out only after a person has decided.
From e-mail to ERP: six steps for an order
Order handling follows a similar course in most companies that sell to other companies. Below we describe a typical sequence of steps. In the DYNAMINDS Labs catalog, this work is done by the Order Operator, which moves orders from e-mails and PDFs into the ERP. The details of the steps are set for each company while the rules are being written down.
- Intake. The AI Worker watches a mailbox, for example orders@, and recognizes which e-mails contain an order and which contain a question, a complaint, or a change to an earlier order.
- Reading. From the e-mail body or a PDF attachment, it extracts the buyer, delivery address, line items, quantities, prices, and the expected date.
- Matching to the item master. The customer writes “40×40 profile, galvanized,” while in the ERP this material has an item number and a name used by your company. The AI Worker matches the items based on the customer's earlier orders, a table of equivalents, or customer codes stored in the item master.
- Checking. It compares prices with the customer's price list and checks minimum quantities, units of measure, and the credit limit, if it has access to it.
- Draft in the ERP. It creates the order as a draft, with a link to the source e-mail and a list of discrepancies.
- Approval. A salesperson reviews the draft, resolves the exceptions, and approves it. Only then does the order go to fulfillment and the customer receive a confirmation.
After approval, another AI Worker can step in: the Order Status Agent answers customers who ask where their order is.
Exceptions: where the AI Worker stops
The value of an AI Worker in order handling depends on how well it recognizes cases it should not finish on its own. Typical exceptions in B2B sales are:
| Exception | Example | What the AI Worker does |
|---|---|---|
| Unknown item number | the customer orders a product under a name that is not in the table of equivalents | suggests the 2–3 closest items and does not choose on its own |
| Price different from the price list | the customer entered a price from last year's quote | flags the discrepancy, shows the price list price and the source of the customer's price |
| Quantity outside the rules | 7 pieces when the bulk pack is 10 | proposes rounding and waits for a decision |
| Delivery date | the expected delivery is shorter than the standard lead time | marks the date as needing confirmation |
| Order change | “please add to Tuesday's order” | links the e-mail to the earlier order and hands the case to the salesperson |
| Unreadable document | poor scan, handwritten notes | does not guess, passes the document on with a description of what it could not read |
There is one rule: the AI Worker does not guess. If it is not sure, it stops the case and says what it is missing. We describe how to set the line between a decision and a proposal in the article Human in the loop: when AI decides and when it only proposes.
A quote from an inquiry: from specification to draft
Quoting differs from order handling in that the result is not a transcription of a document but a calculation. The Quoting Agent, an AI Worker from the same catalog, calculates the quote from the inquiry and the specification.
The process looks like this:
- Inquiry. The customer sends an e-mail with a list of products, a drawing, or a technical specification.
- Qualification. The AI Worker determines whether the inquiry concerns standard products from the price list or requires a technical quote, for example because of an unusual dimension.
- Calculation. For standard items, it calculates the price from the price list, the discounts assigned to the customer, and the volume discount rules. For non-standard items, it gathers the data needed by a process engineer or a cost estimator.
- Draft quote. It prepares the quote on the company template, with payment terms and a validity date.
- Approval. A salesperson checks the draft, changes the discount if they see fit, and sends the quote.
An illustrative example: a customer asks about 500 brackets with a list price of 12.40 PLN, and the discount rules give 5% from 500 pieces. The AI Worker calculates 500 × 12.40 PLN = 6,200 PLN, subtracts a discount of 310 PLN, and enters 5,890 PLN net in the draft, with a link to the price list item and to the discount rule. The salesperson sees not only the amount but also where it came from.
The precondition is simple and often not met: pricing rules must be written down. If discounts depend on “how long ago the customer last ordered and whether the salesperson likes them,” the AI Worker has nothing to hold on to. Writing down the discount rules is often the most valuable side effect of a deployment.
The data an AI Worker needs
An AI Worker in order handling and quoting works only as well as the data it can access. Before a pilot, it is worth checking:
- The item master. Whether the same material appears under several item numbers and whether the names are clear.
- The table of equivalents. Whether the company records the codes and names that customers use.
- Price lists. Whether each customer's price list is in the ERP or in spreadsheets kept by salespeople.
- History. Orders and quotes from two or three months are enough for a pilot. The AI Worker runs through them, and the team compares its results with what people did.
A pilot needs no integration: file exports are enough. We describe how to connect to the ERP after the pilot in the article AI Worker and ERP: data, permissions, audit trail.
What to measure after launch
After launch, you measure not how much the AI works but how the salespeople's work has changed and how often errors occur. Useful measures:
- the share of orders approved without changes,
- the number and types of exceptions per week,
- the time from receiving the e-mail to approving the order,
- the number of order corrections after approval, meaning errors that got past the check.
A rise in exceptions of one type usually points to a data problem, for example a new customer with its own product codes. We show how to convert these measures into team time in the article How to calculate whether an AI Worker pays off.
Questions and answers
Can an AI Worker handle orders in different formats?
Yes, because language models read the text of an e-mail and the content of a PDF without a template for each customer. Harder cases are poor scans, handwritten notes, and tables split across several pages. The AI Worker should recognize such documents and pass them to a person with a description of what it could not read.
Does the customer know an AI Worker handled their order?
That is the company's decision, but the confirmation goes out after the salesperson's approval anyway. If the AI Worker replies to customers on its own, for example about order status, the customer should know they are writing with an AI system. We describe the disclosure obligations in the article The AI Act and AI Workers: obligations of the company that deploys them.
What about orders placed via EDI?
EDI orders arrive in a fixed structure, so they do not need to be read by a language model. The AI Worker is useful there for exceptions: rejected messages, mismatched item numbers, changed dates. The main value lies in orders from e-mails and PDFs that nobody has standardized before.
Can an AI Worker send a quote to the customer on its own?
Technically yes, but in most companies a quote is a commercial commitment, so the salesperson sends it after checking. An exception can be simple quotes from the price list for regular customers, if the process owner writes this into the rules sheet and sets a value threshold.