AI Builder and Dynamics 365
AI Builder for Dynamics 365 ERP: Document Processing, Prompts and Prediction, With Limits
Short answer
AI Builder is the Power Platform's low-code AI service: prebuilt models for invoices, receipts and documents, custom document processing, prompts, classification and prediction, used mainly through Power Automate and Power Apps. With Dynamics 365 it is a practical way to extract data from documents into ERP drafts; it is less suited to high-volume, complex or air-gapped workloads.
- ERP
- AI Builder, Power Automate, Dynamics 365 Finance and Operations, Dynamics 365 Business Central
- Industries
- Manufacturing, Distribution, Aerospace
- Written for
- Power Platform Lead
AI Builder is often the first AI a Dynamics team touches because it lives where their automations already live. A Power Automate flow can watch a mailbox, send a vendor invoice to the prebuilt invoice processing model, map the extracted fields and create a pending vendor invoice in Finance and Operations or a purchase invoice in Business Central, all without writing code.
Beyond invoices, AI Builder offers custom document processing trained on your own forms, prompts that call a generative model with your instructions, text classification, entity extraction and prediction models over Dataverse data. For a Power Platform team, it turns many paper and email processes into structured ERP transactions with a few days of work.
The limits show up with scale and complexity. Consumption is measured in credits or capacity, which becomes a real cost at tens of thousands of pages a month. Documents with poor scans, multiple layouts or long tables need more training and still produce errors that must be reviewed. Data processed by AI Builder runs in Microsoft's cloud, which rules it out for some regulated documents. And prediction models are fine for simple classification but not a substitute for proper forecasting.
This page explains how AI Builder connects to Dynamics 365 ERP, the patterns that work, the pitfalls, and when a private document pipeline or model is the better choice.
What usually gets in the way
The problems we hear most from power platform lead teams running AI Builder.
Manual data entry from documents
Vendor invoices, packing slips, certificates and customer POs still arrive as PDFs and are keyed into Dynamics by hand.
Credit consumption surprises
Pilots run on included capacity; production volume exceeds it and the bill or throttling arrives later.
Variable document layouts
Hundreds of vendors means hundreds of layouts. Models trained on a few samples struggle with the long tail.
Flows without exception handling
Low-code flows that create ERP records without confidence checks or review steps push bad data straight into Dynamics.
Regulated documents
Technical data packages, certifications tied to controlled programs and personal data in HR documents may not be processable in shared cloud services.
Where AI earns its place in AI Builder
Each use case names the ERP objects it reads or writes, so your ERP team can judge the integration effort before anyone commits budget.
Vendor invoice capture to pending invoice
A flow sends inbound invoices to the invoice processing model, matches vendor and PO and creates a pending vendor invoice for AP review.
Touches: F&O VendInvoiceInfoTable and VendInvoiceInfoLine via data entities; Business Central Purchase Header and Purchase Line via API v2.0
Outcome: Keying effort drops to reviewing extracted fields; low-confidence fields are highlighted.
Customer PO extraction to sales order draft
Custom document processing extracts customer PO number, lines, quantities and dates, and creates a sales quote or order draft.
Touches: F&O SalesTable, SalesLine; Business Central Sales Header and Sales Line; customer item cross-references
Outcome: Faster order entry with human confirmation before release.
Certificate of conformance indexing
Supplier certificates are classified and key fields such as lot, heat number and specification are extracted and attached to the receipt.
Touches: Product receipts, batch and lot records, document attachments
Outcome: Certificates findable by lot during audits.
Email classification and routing
Text classification routes inbound emails to AP, sales, quality or logistics queues and extracts reference numbers.
Touches: Shared mailboxes, Dataverse queues, ERP document references
Outcome: Less time triaging shared inboxes.
Prompt-based summaries in flows
AI Builder prompts summarise long supplier emails or quality notes into structured fields for ERP records.
Touches: Quality orders, non-conformance notes, vendor communications
Outcome: Consistent summaries; outputs reviewed before saving.
Simple prediction on Dataverse data
A prediction model scores records such as likelihood of late payment or order cancellation where data sits in Dataverse.
Touches: Dataverse tables, dual-written customer and order data
Outcome: Useful flags for prioritisation, not a replacement for planning tools.
Hybrid with private extraction
Documents that cannot leave the network are processed by a private pipeline; others use AI Builder, with both feeding the same review queue.
Touches: Document classification rules, ERP draft documents, review queue
Outcome: One review process regardless of where extraction ran.
Reference architecture
AI Builder models are called from Power Automate or Power Apps, results are validated and written to Dynamics as drafts. A sound design adds confidence thresholds, a human review step and logging.
- 1
Intake
Mailboxes, SharePoint libraries or scanners feed documents into flows.
- 2
Extraction and classification
AI Builder prebuilt or custom models, or a private OCR and model pipeline for restricted documents.
- 3
Validation
Vendor, customer and item matching against ERP masters; confidence thresholds route low-confidence fields to review.
- 4
ERP write
Draft documents created through F&O data entities or Business Central APIs under a service identity.
- 5
Monitoring
Credit consumption, extraction accuracy and exception rates tracked per document type.
Integration notes for your ERP team
- Use the Dynamics 365 (Fin and Ops) connector or Business Central connector in Power Automate, with a service account and minimal roles.
- Create drafts, such as pending vendor invoices, rather than posted documents.
- Match vendors on tax ID or bank details as well as name to avoid wrong-vendor matches.
- Monitor AI Builder or Copilot capacity consumption; Microsoft has been changing how this capacity is licensed, so check current terms.
- Train custom models with samples across your real layouts, including poor scans.
- Keep failed and low-confidence documents in a visible queue, never dropped silently.
Deployment options
AI Builder in Power Platform
Moderate volumes, standard documents, data that can be processed in Microsoft cloud.
Build flows in a governed environment with DLP policies and monitor capacity.
AI Builder plus private overflow
Mixed document sensitivity or very high volumes.
Route restricted or high-volume document types to a private pipeline.
Fully private document AI
Air-gapped plants or controlled technical data.
OCR and open-weight vision or language models on customer GPUs, writing drafts to Dynamics on the local network.
Compliance and data control
How the architecture supports your obligations. Certification and accountability stay with your organisation; the design keeps the evidence straightforward.
SOX AP controls
Extraction creates pending invoices; matching, approval and posting stay in standard workflows.
ITAR and EAR
Controlled technical documents should be classified and processed only in authorised environments.
GDPR
Documents with personal data follow retention and access rules in flows and logs.
Records retention
Source documents remain attached to ERP records with extraction results for audit.
How an engagement runs
Phase 1 . 1-2 weeks
Document inventory
- -Document types and volumes
- -Sensitivity classification
- -Current keying effort
- -Capacity estimate
Phase 2 . 3-4 weeks
Pilot flow
- -Extraction and validation flow
- -Review queue
- -Accuracy measurement
- -Cost per document
Phase 3 . 4-6 weeks
Scale
- -Additional document types
- -Private path for restricted documents
- -Monitoring
- -Runbook
Phase 4 . Ongoing
Operate
- -Model retraining schedule
- -Exception reviews
- -Cost tracking
- -Vendor onboarding process
Questions to ask any vendor, including us
A short list that separates real AI Builder AI work from a chatbot demo.
- What is our monthly page volume by document type, and what will it cost in capacity?
- What happens to low-confidence extractions?
- Are any documents restricted from cloud processing?
- Does the flow create drafts or post directly?
- Who maintains the custom models when vendors change layouts?
- How is accuracy measured over time?
Frequently asked questions
What is AI Builder in Dynamics 365?
AI Builder is a Power Platform capability that provides low-code AI models: prebuilt invoice, receipt and document processing, custom document processing, prompts, classification, extraction and prediction. It is not a Dynamics 365 module as such, but it is commonly used with Dynamics through Power Automate and Power Apps to read documents and create ERP records.
Can AI Builder process vendor invoices into Dynamics 365?
Yes. A Power Automate flow can send invoices to the prebuilt invoice model, match vendors and purchase orders, and create pending vendor invoices in Finance and Operations or purchase invoices in Business Central. Add confidence thresholds and a review step so AP checks extracted values before posting.
How much does AI Builder cost?
AI Builder consumption is measured in capacity units. Some is included with certain licences and more can be purchased, and Microsoft has been moving AI Builder toward Copilot capacity licensing. Estimate pages per month per model type and check current licensing documents, because costs scale with volume.
Is AI Builder accurate enough for production?
For clean, standard documents, often yes with review. Accuracy drops with poor scans, unusual layouts and long tables. Measure accuracy per field on your real documents during a pilot and set thresholds that send uncertain fields to people.
When should I use a private model instead of AI Builder?
When documents contain data that cannot be processed in Microsoft's cloud, when volume makes capacity costs high, when the plant network is air-gapped, or when you need models tuned to unusual documents. Many teams use both, routing by document type.
Can AI Builder forecast demand?
AI Builder prediction models classify or score records, such as whether something will happen. They are not designed for time-series demand forecasting. Use Dynamics 365 Supply Chain Management demand planning or dedicated forecasting tools for that.
Does AI Builder work with Business Central?
Yes, through Power Automate and the Business Central connector or API v2.0. Business Central also has its own Copilot features, including e-document and purchase processing capabilities that may cover simple cases without AI Builder.
Related guides
AI for accounts payable invoice matching in your ERP
On-prem AI reads vendor invoices, runs 3-way match against your ERP PO and receipt, and routes only real exceptions to your AP team. No invoice data leaves your network.
Business Central + private AIAI-powered Dynamics 365 Business Central solutions, on-premises or SaaS, beyond Copilot
AI-powered Dynamics 365 Business Central solutions beyond Copilot: grounded answers over BC finance, inventory and project (job) data via OData and APIs, on-premises or SaaS.
D365 F&SCM + private AIAI for Dynamics 365 Finance and Supply Chain beyond Copilot
AI for D365 Finance and Supply Chain beyond Microsoft Copilot: private LLM grounded on data entities and OData, on-prem-capable via Local Business Data.
Dynamics 365 agentsDynamics 365 AI Agents for ERP: Prebuilt Agents, Copilot Studio and When to Build Your Own
How Dynamics 365 AI agents work in Supply Chain and Finance, how to build your own in Copilot Studio, and when a private agent on your servers fits better.
D365 F&SCM procurementAI for Dynamics 365 Finance and Supply Chain Procurement
AI for Dynamics 365 Finance and Supply Chain procurement: purchase orders, vendor invoices, product receipts and approvals via OData and data lake exports.
AX 2012 + private AIAI for Dynamics AX 2012, Without the Forced Migration
Dynamics AX 2012 R3 left mainstream support in 2021. Add a private LLM over AX data now, use it to de-risk a future migration, without a forced move to D365.
Plan it with numbers
Document Processing Automation Savings Calculator
Quantify what manually keying invoices, POs, packing slips, and forms costs you today, and what intelligent document processing would save each year.
Free ToolDocument Capture Confidence Threshold Simulator
Simulate where to set the auto-accept confidence threshold by weighing review labor against the cost of errors that slip through.
Free ToolAP Invoice Automation ROI Calculator
Estimate the annual savings, payback period, and three-year ROI of automating accounts payable invoice capture, matching, and posting.
GuideAI Document Processing for ERP: Invoices, POs, and Packing Slips
Automate invoice, PO, and packing slip processing into ERP with AI document extraction. Covers OCR, layout analysis, validation rules, and ERP posting.
GuideAP Invoice Automation in ERP: The Complete Guide
AP invoice automation in ERP explained: touchless capture, 3-way matching, approval routing, and AI agents that cut invoice processing costs by up to 80%.
GuideBuilding an AI Document Processing Pipeline: OCR to Validation
How to build an AI document processing pipeline: OCR quality, LLM extraction, schema validation, and the human review layer that catches what slips through.
Talk it through with an engineer who knows AI Builder
Bring one real question your team cannot answer from the ERP today. We will map the data path, the model, and where it runs, and tell you honestly if AI is the wrong tool for it.
Try it here, free
Business Central Setup Checklist (Finance and Manufacturing)
A step-by-step checklist for the first setup of a Business Central company, covering finance, inventory, manufacturing, users and go-live basics.
Keep exploring
Free tools
- Business Central Setup Checklist (Finance and Manufacturing)A step-by-step checklist for the first setup of a Business Central company, covering finance, inventory, manufacturing, users and go-live basics.
- Business Central API v2.0 URL BuilderGenerate correct Business Central API v2.0 endpoints, OData query strings, the OAuth token request and a test call for SaaS or on-premises.
- D365 Finance and Operations OData URL and Token Request BuilderGenerate the OData request and OAuth token call to read data entities from D365 F&O during an AX migration or validation.
ERP fixes and how-tos
- Dynamics 365 Supply Chain Management API: OData, Custom Services and Data PackagesD365 Supply Chain / F&O APIs explained: OData data entities, custom services, the data management package API, Entra ID authentication and when to use each.
- Business Central Manufacturing Setup: Items, BOMs, Routings and Production OrdersSet up Business Central manufacturing: Manufacturing Setup, work centers, production BOMs, routings, item settings, manufacturing policy and demo data.
- Business Central Item Templates and Customer TemplatesCreate and use item templates and customer templates in Business Central to default posting groups, costing method and dimensions on every new record.
Guides
- CRM to SyteLine ERP Integration PatternsIntegrate CRM systems with Infor SyteLine ERP. Sync accounts, quotes, orders, and pipeline data between Salesforce, Dynamics 365, HubSpot, and SyteLine.
- AI-Powered Document Processing for ERP SystemsAutomate invoice, PO, and packing slip processing into ERP with AI document extraction. Covers OCR, layout analysis, validation rules, and ERP posting.
- Scheduling an Aerospace Machine Shop With Outside ProcessingHow aerospace job shops schedule around CMM, FAI holds, source inspection and outside processing lead times, and where finite-capacity tools and AI help.
AI on your ERP
- Building a Document Routing Agent for Dynamics 365: Classify, Match, Attach and RouteBuild a document routing agent for Dynamics 365: classify inbound documents, match them to ERP records, attach and route them for review, privately if needed.
- Dynamics 365 AI Consulting: Copilot, Agents and Private AI for Finance, Supply Chain and Business CentralDynamics 365 AI consulting for Finance, Supply Chain and Business Central: Copilot, agents, Copilot Studio, private models and on-prem deployments, explained.
Integrations
- How to add AI agents to Dynamics 365 Business CentralHow to add AI agents to Dynamics 365 Business Central: API v2.0 and custom API pages as the tool layer, approval gates, SaaS vs on-prem, and build options.
- How to connect Slack to Microsoft Dynamics 365 Business CentralSend Business Central alerts and approvals to Slack: Power Automate, webhooks, slash commands and interactive messages, with honest notes on limits.
Software
- Microsoft Dynamics 365 Business CentralDynamics 365 Business Central explained for manufacturers: modules, APIs, AL extensions, deployment, strengths, limits and alternatives for small and mid-size firms.
- Microsoft Dynamics 365 Finance and Supply ChainDynamics 365 Finance and Supply Chain Management explained for manufacturers: modules, data entities, OData, deployment, strengths, limits and alternatives.