Oldcastle APG: A manual-verification closed loop from multi-format orders to Infor M3
English original · AI translation and compilation · AI implementation (FDE not disclosed)
Case Overview
Business Problem
Multi-format orders consume about 4 hours of manual entry per CSR per day, and errors propagate to fulfillment and invoicing.
Publicly disclosed AI solutions
English original · AI translation and compilation. Oldcastle APG sends orders in emails, PDFs, scans, and other formats to Bedrock for extraction, then uses Aurora to fuzzy-match customers and materials; CSRs verify line by line before writing to Infor M3 with an audit trail retained. In the first two weeks of launch, …
Core Engineering Findings
Engineering Analysis by This LibraryThe order agent should stop at candidate extraction; ERP writing is handled by the state machine.
If extraction errors are written directly to the ERP, they propagate to fulfillment and invoicing.
Engineering analysis · View basisTechnical Architecture
Public solution summarySES and Power Automate receive orders, S3 stores attachments, Bedrock/Claude extracts fields, Aurora PostgreSQL fuzzy-matches customers and materials, CSRs confirm at the verification console, and then the data is automatically written to Infor M3 with an audit trail retained; confirmed duplicate orders can bypass the …
View the complete architecture and reference data flowKey engineering trade-offs
Engineering Analysis by This LibraryLayered model extraction, master data matching, CSR verification, idempotent writing, and auditing.
Retain about 5% manual review and master data maintenance in exchange for traceable production writes.
In-depth Technical AnalysisOutcomes and Verification Boundaries
Production deploymentMore than 10,000 order lines in the first two weeks; 95% fully automated; less than USD 0.04 per page; delivered in 8 weeks (disclosed by the project party).
Original text checked · Public cases · Benefits not independently accepted
Production results come from a co-authored article by AWS and the customer; field-level accuracy, order exception distribution, manual review time, and independent acceptance are not disclosed. This library did not run the system.
Complete results criteria and applicable boundariesIn-depth Technical Analysis Architecture, Trade-offs, and Transfer Conditions
Business Background and Process
Research AnalysisMulti-format orders consume about 4 hours of manual entry per CSR per day, and errors propagate to fulfillment and invoicing.
- Role
- More than 200 CSRs, the order processing team, ERP architects, AWS Solutions Architects, and business leads.
- Reproduction scope
- In the first stage, process only high-frequency order types; ERP writing must be controlled by verification status and idempotency keys.
- 1Receive emails and attachments and persist the original text.
- 2The model extracts order headers and line items.
- 3Fuzzy-match customers, addresses, SKUs, and prices using enterprise master data.
- 4CSRs verify low-confidence items and candidates line by line.
- 5After confirmation, write to Infor M3 and retain audits and corrections.
Engineering Problems and Transferable Lessons
Key Engineering Insightinsight- Special Issues
- The readability of multi-format orders and the determinism requirements for customer and material master data differ.
- Why Ordinary Architecture Is Not Enough
- If extraction errors are written directly to the ERP, they propagate to fulfillment and invoicing.
- Key technical choices
- Layered model extraction, master data matching, CSR verification, idempotent writing, and auditing.
- Costs and trade-offs
- Retain about 5% manual review and master data maintenance in exchange for traceable production writes.
- Failure conditions
- Block automatic creation when there is no unique match, template drift, or a duplicate order.
- Transferable experience
- First run a read-only shadow evaluation with 50–100 orders.
Public materials support the problem background; technical supplements are engineering inferences by this library. Related original text:
Original disclosureSource verifiedarchitectureOriginal disclosureSource verifiedhitlOriginal disclosureSource verifiedautomationTechnical Architecture and Data Flow
Original text / solution listed separatelyOriginal architecture summary
SES and Power Automate receive orders, S3 stores attachments, Bedrock/Claude extracts fields, Aurora PostgreSQL fuzzy-matches customers and materials, CSRs confirm at the verification console, and then the data is automatically written to Infor M3 with an audit trail retained; confirmed duplicate orders can bypass the model.
The six-stage process, specific AWS services, Infor M3, human review, and skipping AI for duplicate orders are disclosed in the original text; fields, states, and acceptance are recommendations from this library.
Suggested Architecture for Reproduction
The following is the research design and does not represent the complete implementation of the enterprise's internal system.
- 1Receiving and deduplication
Idempotent input is established using email and attachment hashes.
- 2Model extraction
Generate only field candidates, confidence, and original text locations.
- 3Master data matching
Rank candidates using customer/material data within the validity period.
- 4Manual verification
Low-confidence or rule-conflict items must be confirmed line by line.
- 5ERP write
Orders can be created only in the verification-passed state, and the audit is retained.
Suggested Data and System Interfaces
| Business Object | Join key / criteria | Suggested Sources | Purpose in the process |
|---|---|---|---|
| Original order text | message_id、attachment_hash、page_no、language | SES/Power Automate/S3 | Retain immutable input. |
| Order fields | customer、po_no、ship_to、sku、quantity、price、confidence | Bedrock extraction results | Generate structured candidates. |
| Enterprise master data | customer_id、product_id、uom、price_rule、effective_at | Aurora/Infor M3 | Deterministic matching and writing. |
| Verification records | reviewer、before、after、reason、approved_at | Verification console/audit repository | HITL and improvement. |
Key design trade-offs
Research AnalysisWhen is the model skipped?
Suggested choice:Reuse stable mappings for confirmed templates and duplicate orders.
Basis for judgment: Reduce cost and randomness.
Costs and boundaries: Template drift detection must be maintained.
How is the ERP protected?
Suggested choice:Extraction results are not written directly; they must pass master data validation, manual confirmation, and idempotency checks.
Basis for judgment: Erroneous orders affect fulfillment and invoicing.
Costs and boundaries: Retain a certain manual cost.
Engineering Failure Conditions
Exceptions and Degradation
Show candidates and route to CSR; do not guess.
Degrade to manual entry and enter new template review.
Block duplicate creation using attachment hashes and PO numbers.
When it is suitable for adoption, and how value is measured
Research Recommendations by This Library- Data and Organizational Prerequisites
- Order samples, customer/material master data, ERP test environment, verification roles, idempotency, and auditing.
- Division of labor among AI, rules and humans
- The model handles multi-format extraction; retrieval/rules handle matching; humans handle exception confirmation.
- Conditions not recommended for adoption
- Automatic writing is not advisable when master data quality is low, the ERP has no test interface, or the original text cannot be traced.
- Investment and Ongoing Costs
- Continuously handle template drift, master data updates, exception classification, and manual review load.
- Value and evaluation criteria
- Jointly observe field correctness, straight-through rate, manual minutes, write errors, and per-page cost.
- Suggested First Step
- Run a read-only shadow evaluation with 50–100 orders.
Research Appendix Complete evidence, metric criteria and research materials
Original disclosure and evidence boundaries
Original text checkedOriginal title: How Oldcastle APG Automates 13 Million Order Lines with Amazon Bedrock
Original summary: English original · AI translation and compilation. Oldcastle APG sends orders in emails, PDFs, scans, and other formats to Bedrock for extraction, then uses Aurora to fuzzy-match customers and materials; CSRs verify line by line before writing to Infor M3 with an audit trail retained. In the first two weeks of launch, it processed more than 10,000 order lines, and the page reports that 95% of order lines are fully automated.
Oldcastle APG's automated order entry solution is in production; in the first two weeks it processed 1,100 orders and more than 10,000 order lines.
Original location: lines 258–266 ↗The process receives mail via SES/Power Automate, stores in S3, extracts with Bedrock, fuzzy-matches with Aurora, writes to Infor M3 after CSR verification, and retains an audit trail.
Original location: lines 228–250 ↗CSRs confirm customers and ranking candidates line by line at the verification console; remaining low-confidence order lines are routed to manual review.
Original location: lines 242–249, 266 ↗The page reports that 95% of order lines are fully automated, and the remaining 5% go to CSR review.
Original location: lines 264–267 ↗The page reports a processing cost of less than USD 0.04 per page.
Original location: lines 264–270 ↗2 developers and 1 architect delivered the solution in 8 weeks.
Original location: lines 216, 268 ↗More than 10,000 order lines in the first two weeks; 95% fully automated; less than USD 0.04 per page; delivered in 8 weeks (disclosed by the project party).
Disclosure BoundariesProduction results come from a co-authored article by AWS and the customer; field-level accuracy, order exception distribution, manual review time, and independent acceptance are not disclosed. This library did not run the system.
Delivery process
AI implementation (FDE not disclosed)The main text discloses that Oldcastle collaborated with AWS Solutions Architects and does not use the term Forward Deployed Engineer; FDE should not be inferred from support roles. Delivery method basis
Delivery process verification for this case has not yet been supplemented. Existing delivery method description: The main text discloses that Oldcastle collaborated with AWS Solutions Architects and does not use the term Forward Deployed Engineer; FDE should not be inferred from support roles.
Metrics and Measurement Definitions
Retain original criteria"Source verified" only means the public disclosure can be located; it does not mean business results have undergone independent third-party acceptance. Unknown items remain "not disclosed in the original text."
Order lines processed in the first two weeks of production
Adoption/deployment scale>10,000 Order lines
Original disclosureSource verifiedproduction- Baseline
- Manual entry
- Comparison Period
- First two weeks of production
- Measurement Scope
- 1,100 orders
- Limitations
- Self-reported by the project party; no independent acceptance materials provided.
Share of fully automated order lines
Results reported by the source95 %
Original disclosureSource verifiedautomation- Baseline
- Fully manual entry
- Comparison Period
- First two weeks of production
- Measurement Scope
- Oldcastle order lines; the remaining 5% go to CSR review
- Limitations
- Self-reported by the project party; no independent acceptance materials provided.
AI processing cost
Results reported by the source<0.04 USD/page
Original disclosureSource verifiedcost- Baseline
- Not disclosed in the original text
- Comparison Period
- Not disclosed in the original text
- Measurement Scope
- Order page processing; whether manual and operations costs are included is not disclosed
- Limitations
- Self-reported by the project party; no independent acceptance materials provided.
Delivery cycle
Results reported by the source8 weeks
Original disclosureSource verifieddelivery- Baseline
- Not disclosed in the original text
- Comparison Period
- Solution delivery period
- Measurement Scope
- 2 developers, 1 architect; scope boundaries not disclosed
- Limitations
- Self-reported by the project party; no independent acceptance materials provided.
Annual manual order line volume
Adoption/deployment scaleabout 13,000,000 order lines/year
Original disclosureSource verifiedproduction- Baseline
- More than 200 CSRs, about 4 hours per person per day
- Comparison Period
- Business baseline before project launch
- Measurement Scope
- Oldcastle APG order entry
- Limitations
- Self-reported by the project party; no independent acceptance materials provided.
Research Verification Materials
Engineering Verification Status
Type, scope, and execution are recorded separatelyVerification has no automatic progression; passing limited synthetic samples does not prove the model, the complete system, or customer production acceptance. Public business outcomes are shown only according to the original evidence.
This section is an engineering reference design, and there is no end-to-end execution record in this library yet.
Test Plan · Not yet executed
- Verification scope
- In the first stage, process only high-frequency order types; ERP writing must be controlled by verification status and idempotency keys.
- Input Data
- Synthetic, public, or authorized data; specific experimental inputs are still to be prepared.
- Expected output
- Key fields such as amount, quantity, and SKU meet business thresholds.;No unreviewed order enters the write queue.;Duplicate orders and erroneous master data are blocked.
- Actual output
- Not yet executed, no actual output
- Execution Time
- Not yet executed; collection time is not used as a substitute
- Limitations and failure notes
- Phased reproduction and evaluation are planned and cannot be used to prove that an actual system is already running.
Phased reproduction path
The complete solution has not yet been executedUse synthetic, public or authorized data. The following is a follow-up plan; if there is a rule check above, it only proves the samples it explicitly lists and does not mean complete reproduction has been completed.
- 1
Offline extraction
Freeze the order sample and master data, and align field by field with the original text.
Planned deliverables:Field-level gold standard, confidence, and error types.
Suggested acceptance conditions:Key fields such as amount, quantity, and SKU meet business thresholds.
- 2
Shadow verification
Runs in parallel with manual entry but does not write to the ERP.
Planned deliverables:Straight-through rate, review time, and candidate ranking.
Suggested acceptance conditions:No unreviewed order enters the write queue.
- 3
Restricted write
Release only one customer group and order type.
Planned deliverables:Idempotency, rollback, and audit reports.
Suggested acceptance conditions:Duplicate orders and erroneous master data are blocked.
Evaluation and Failure Handling
Proposed Solution to Be VerifiedThe evaluation targets are recommended thresholds and need to be adjusted based on risk and baseline; there are currently no measured results.
| Metrics | Measurement Method | Suggested Judgment Conditions |
|---|---|---|
| Field-level accuracy | Measure separately by customer, SKU, quantity, and price. | Key field thresholds are set by the business. |
| Straight-through rate | Count order lines that require no manual modification. | The disclosed 95% value cannot be used directly as local acceptance. |
| ERP write safety | Check idempotency, permissions, audit, and rollback. | Zero writes in unverified states. |
Questions to confirm in the next round
- Is the 95% automation measured by order line, by order, or by field?
- Does the per-page cost include manual verification and operations?
- How is template drift detected when duplicate orders skip AI?
Verification Records and Items to Be Confirmed
2026-11-14First formal entry: check the production stage, architecture, HITL, and five categories of metrics.
The main text co-authored by AWS and Oldcastle has been checked; there is no independent acceptance.
- AWS Solutions Architects are not equivalent to FDEs.
- 95% is recorded by order line and is not rewritten as field accuracy.
- Cost and delivery cycle retain undisclosed boundaries.
View all assertions · 7 items
Original disclosure · Source verified · web-7527860a6552efe4e56b832e:production
Complete assertion: Oldcastle APG's automated order entry solution is in production; in the first two weeks it processed 1,100 orders and more than 10,000 order lines.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-14
- Applicable boundaries
- Co-authored by AWS and the customer; no independent acceptance or raw logs provided.
- Related cases
- Oldcastle APG: A manual-verification closed loop from multi-format orders to Infor M3
Original disclosure · Source verified · web-7527860a6552efe4e56b832e:architecture
Complete assertion: The process receives mail via SES/Power Automate, stores in S3, extracts with Bedrock, fuzzy-matches with Aurora, writes to Infor M3 after CSR verification, and retains an audit trail.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-14
- Applicable boundaries
- Services and processes are disclosed in the official main text; configuration, permissions, and failure retry details are not disclosed.
- Related cases
- Oldcastle APG: A manual-verification closed loop from multi-format orders to Infor M3
Original disclosure · Source verified · web-7527860a6552efe4e56b832e:hitl
Complete assertion: CSRs confirm customers and ranking candidates line by line at the verification console; remaining low-confidence order lines are routed to manual review.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-14
- Applicable boundaries
- 95% automation does not equal 95% field accuracy; the manual handoff criteria are not further broken down.
- Related cases
- Oldcastle APG: A manual-verification closed loop from multi-format orders to Infor M3
Original disclosure · Source verified · web-7527860a6552efe4e56b832e:automation
Complete assertion: The page reports that 95% of order lines are fully automated, and the remaining 5% go to CSR review.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-14
- Applicable boundaries
- Production data is disclosed by Oldcastle; the sample period is explicitly only the first two weeks, and the statistical criteria are not public.
- Related cases
- Oldcastle APG: A manual-verification closed loop from multi-format orders to Infor M3
Original disclosure · Source verified · web-7527860a6552efe4e56b832e:cost
Complete assertion: The page reports a processing cost of less than USD 0.04 per page.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-14
- Applicable boundaries
- Not disclosed whether cloud resources, manual review, and operations are all included.
- Related cases
- Oldcastle APG: A manual-verification closed loop from multi-format orders to Infor M3
Original disclosure · Source verified · web-7527860a6552efe4e56b832e:delivery
Complete assertion: 2 developers and 1 architect delivered the solution in 8 weeks.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-14
- Applicable boundaries
- Scope start and end, prior data preparation, and AWS support hours are not disclosed.
- Related cases
- Oldcastle APG: A manual-verification closed loop from multi-format orders to Infor M3
Engineering Projection · Not yet executed · web-7527860a6552efe4e56b832e:insight
Complete assertion: Unique engineering finding: the model is responsible only for multi-format semantic extraction, while customer/material master data matching, manual verification, and ERP writing form deterministic boundaries; duplicate orders can reuse confirmed results to skip the model.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-14
- Applicable boundaries
- This is a research judgment by this library, not a complete internal architecture replication.
- Related cases
- Oldcastle APG: A manual-verification closed loop from multi-format orders to Infor M3
Review record: web-7527860a6552efe4e56b832e:audit:initial · Full-library review records
Original research judgment and attribution
Oldcastle's distinguishing feature is the clear boundary of "semantic extraction—master data matching—human review—ERP write," plus the use of confirmed duplicate orders to reduce subsequent model calls.
Research compilation and solution analysis: Zuren Zhao · AI-assisted compilation. Original case delivery belongs to the original enterprises and service providers.