Microsoft DynamicsUse Case

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. 1

    Intake

    Mailboxes, SharePoint libraries or scanners feed documents into flows.

  2. 2

    Extraction and classification

    AI Builder prebuilt or custom models, or a private OCR and model pipeline for restricted documents.

  3. 3

    Validation

    Vendor, customer and item matching against ERP masters; confidence thresholds route low-confidence fields to review.

  4. 4

    ERP write

    Draft documents created through F&O data entities or Business Central APIs under a service identity.

  5. 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.

  1. What is our monthly page volume by document type, and what will it cost in capacity?
  2. What happens to low-confidence extractions?
  3. Are any documents restricted from cloud processing?
  4. Does the flow create drafts or post directly?
  5. Who maintains the custom models when vendors change layouts?
  6. 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

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)

Open full tool

A step-by-step checklist for the first setup of a Business Central company, covering finance, inventory, manufacturing, users and go-live basics.

Get ERP alerts and new tools

Support deadlines, release changes and new free tools for the ERP you run. A couple of emails a month at most.

Free. Unsubscribe with one click from any email.

ArchRay builder
Design the on-prem AI stack: model, GPUs, RAG pipeline, guardrails
See memory, speed and cost as you swap parts, then export the diagram. Free, in your browser.
Open the builder

Keep exploring

Free tools

ERP fixes and how-tos

Guides

AI on your ERP

Integrations

Comparisons

Software