The technical challenges of RFQ-to-order automation
Automating the path from an emailed request to a confirmed order involves more than extraction. A review of the problems that determine whether automation holds up in production.
Autonomerce · · 8 min read
The path from a request for quotation to a confirmed order looks simple when drawn as a flowchart. In practice each step contains problems that only appear with real requests, real catalogues and real systems. This article sets out the ones that most affect whether automation can be trusted with live transactions.
1. Requests are not documents
RFQs arrive as email bodies, forwarded threads, PDFs generated by purchasing systems, scanned forms and spreadsheets with merged cells. A single request can mix formats: a PDF with the line items and an email body changing one quantity. Extraction must work across the whole message, and the output must preserve where each value came from so that a reviewer can check it.
Equally important is knowing what was not extracted. A line the system could not read must surface as a gap, not disappear.
2. Part identification is a matching problem
Buyers refer to items by manufacturer part number, by their own internal codes, by superseded numbers, or by description. Resolving these to a supplier's catalogue requires cross-reference data and a matching strategy that distinguishes an exact match, a probable match and an ambiguous one.
The safe default is asymmetric: an exact or cross-referenced match can proceed; anything else is confirmed with the buyer before it is priced. Pricing a probable match risks quoting the wrong item at the right price, which is worse than asking.
3. Price is a computation over several sources
A quoted price can depend on list price, the customer's contract tier, quantity breaks, promotional pricing, currency and delivery terms. Each source may live in a different system or file. The automation needs explicit precedence rules and must read current values at decision time; a price cached overnight may already be wrong.
4. Availability is a promise, not a lookup
Stock on hand is not the same as stock available to promise. Allocated stock, open orders, branch transfers and replenishment lead times all affect what delivery date can be committed. Where these rules are not encoded, automation should quote availability conservatively or route the decision.
5. Writes must be exactly once
Creating an order in an ERP is the step with the highest cost of error. Network timeouts make it common for a client not to know whether a write succeeded. Without protection, a retry creates a duplicate order. The standard remedy is an idempotency key derived from the transaction, checked by the integration layer before any write, together with reconciliation that confirms the order exists after submission.
submit(order, key = txn_id + ":SO")
if exists(key): return existing_order
result = erp.create(order)
record(key, result)
verify(result.order_id)6. State must be explicit
A transaction can wait on a buyer's reply, an approver, a system that is down or a stock replenishment. If its state is implicit in an email thread, it will be lost. Each transaction needs an explicit state, a record of how it reached that state, and a defined next action, including a timeout for when nothing happens.
7. Exceptions are the product
No supplier's data is complete and no request stream is clean. The quality of an automation system is visible less in the transactions it completes than in how it handles those it cannot: whether it holds them rather than guessing, explains why, prepares the clarification, and places them in front of the right person with the context already assembled.
Systems designed around the happy path tend to fail quietly. Systems designed around exceptions can be given authority, because their failure mode is a visible, well-described hold.