Study guide

16.2 AI Builder Prebuilt & Custom Models in Apps and Flows

Microsoft Power Platform Functional Consultant PL-200

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Dataverse Tables, Relationships & Core Columns

1.1 Dataverse Table Types, Properties & Ownership 1.2 Table Relationships & Cascading Rules 1.3 Column Types, Formats, Primary Keys & Alternate Keys 1.4 Rollup, Calculated & Formula Columns with Power Fx

2 Chapter 2: Dataverse Data Management & Governance

2.1 Dataverse Search, Quick Find & Relevance Indexing 2.2 Auditing Configuration & Log Management 2.3 Duplicate Detection Rules & Settings 2.4 Bulk Record Operations, Data Import, Export & Templates

3 Chapter 3: Dataverse Security Model & Access Control

3.1 Business Units, Ownership Models & Modern BU Matrix 3.2 Security Roles, Privileges & Depth Levels 3.3 Teams Architecture: Owner, Access, and Microsoft Entra (AAD) Group Teams 3.4 Column-Level Security & Hierarchy Security Models

4 Chapter 4: Model-Driven App Fundamentals & Information Architecture

4.1 Model-Driven App Design, Site Map Navigation & Modern App Designer 4.2 Form Types: Main, Quick Create, Quick View & Card Forms 4.3 View Configuration, System Views, Personal Views & Filters

5 Chapter 5: Advanced Model-Driven App Components & Custom Pages

5.1 Custom Pages & Modern Commanding with Power Fx 5.2 Form Component Controls & Specialized UX Elements 5.3 Embedding Canvas Apps in Model-Driven Forms 5.4 Embedding Power BI Reports, Dashboards & Tiles

6 Chapter 6: Canvas Apps Structure, Formulas & Data Operations

6.1 Canvas App Architecture, Screens, Containers & Controls 6.2 Power Fx Formulas, Delegation & Data Source Limits 6.3 Variables (Context, Global), Collections & State Management 6.4 Triggering Power Automate Cloud Flows from Canvas Apps

7 Chapter 7: Power Pages Site Design, Navigation & Content

7.1 Power Pages Design Studio & Site Structure 7.2 Power Pages Templates, Styling & Responsive Layouts 7.3 Web Pages, Navigation Menus & Content Snippets

8 Chapter 8: Power Pages Data Integration, Forms & Web Roles

8.1 Power Pages Lists, Basic Forms & Advanced Forms 8.2 Table Permissions, Web Roles & Page Access Security 8.3 External Identity Providers & Authentication Configuration

9 Chapter 9: Power Automate Cloud Flow Fundamentals & Triggers

9.1 Cloud Flow Types: Automated, Instant, Scheduled & Desktop Overview 9.2 Dataverse Connector Triggers & Operational Filters 9.3 Standard Connectors, Custom Connectors & Connection References

10 Chapter 10: Cloud Flow Actions, Expressions & Logic Controls

10.1 Logic Controls: Conditions, Switches, Apply to Each & Do Until Loops 10.2 Variables, Data Operations & Dynamic Content Manipulation 10.3 Power Automate Expression Language (WDL / Functions) 10.4 Error Handling, Configure Run After & Scope Controls

11 Chapter 11: Business Process Flows & Guided Processes

11.1 Business Process Flow Architecture, Stages, Steps & Data Steps 11.2 Branching Rules & Multi-Entity Business Process Flows 11.3 BPF Action Steps, Workflows & Cloud Flow Execution 11.4 BPF Security Roles, Order & Process Lifecycle

12 Chapter 12: Classic Workflows, Business Rules & Modern Logic Extensibility

12.1 Classic Dataverse Workflows: Real-Time vs. Background (Async) 12.2 Business Rules: Scope & Actions 12.3 Low-Code Plug-ins in Dataverse: Automated vs. Instant 12.4 Troubleshooting Automations, Run History & Analytics

13 Chapter 13: Power Platform Environment Architecture & Security

13.1 Environment Types: Default, Sandbox, Production, Trial, Developer 13.2 Environment Governance, Groups, Routing & Capacity Management 13.3 Data Loss Prevention (DLP) Policies & Connector Classifications

14 Chapter 14: Application Lifecycle Management (ALM) & Solutions

14.1 Unmanaged vs. Managed Solutions & Solution Layering Mechanics 14.2 Solution Components, Dependencies, Publishers & Prefixes 14.3 Exporting, Importing, Upgrading & Patches 14.4 Solution Checker, App Checker & ALM Best Practices

15 Chapter 15: Enterprise Interoperability & Service Integration

15.1 Exchange / Server-Side Synchronization & Email Integration 15.2 SharePoint & OneDrive Document Management Integration 15.3 Microsoft Word & Excel Document Templates

16 Chapter 16: Copilot, AI Capabilities & Exam Strategy

16.1 Copilot Studio & Generative AI across Power Platform 16.2 AI Builder Prebuilt & Custom Models in Apps and Flows 16.3 PL-200 Exam Strategy, Time Management & Question Analysis

16.2 AI Builder Prebuilt & Custom Models in Apps and Flows

Key Takeaways Explain This Topic AI

AI Builder is the turnkey Microsoft Power Platform AI capability that brings turnkey prebuilt and custom machine learning models into Power Apps and Power Automate without requiring pro-code Python or data science expertise.

Prebuilt Models are ready to use instantly with zero training, covering common operational domains including Invoice Processing, Receipt Processing, Business Card Reader, Text Recognition (OCR), Sentiment Analysis, Language Detection, and Key Phrase Extraction.

Custom Models require supervised training on organization-specific datasets and encompass Document Processing (structured, unstructured, and invoice templates), Object Detection, Text Classification (category classification), and Binary Prediction models.

Training custom Document Processing models requires a strict minimum of 5 sample documents per collection / layout type, followed by field/table tagging, model evaluation scoring (0-100), and explicit publishing before consumption.

AI Builder is licensed via monthly pooled Capacity Credits allocated to environments in the Power Platform Admin Center and consumed dynamically as models process transactions.

Last updated: August 2026

AI Builder Prebuilt & Custom Models in Apps and Flows

Modern enterprise workflows demand automated data extraction from unstructured files, cognitive sentiment analysis, intelligent routing, and predictive business analytics. AI Builder is the native Power Platform capability that packages advanced Azure Cognitive Services and Azure Machine Learning models into accessible low-code components. Functional consultants can incorporate prebuilt turnkey models or train custom machine learning models directly within Power Apps and Power Automate. On the PL-200 exam, you must master the complete taxonomy of AI Builder models, custom model training data requirements, Canvas app UI controls, Power Automate connector actions, and tenant capacity governance.

1. AI Builder Architecture & Model Taxonomy

AI Builder divides its capabilities into two distinct architectural classes: Prebuilt Models (instant consumption with zero training) and Custom Models (trained and tailored using organization-specific data). +-----------------------------------------------------------------------------------+

  • | AI BUILDER MODEL TAXONOMY |
  • | |
  • | +-------------------------------------+ +------------------------------------+ |
  • | | PREBUILT MODELS | | CUSTOM MODELS | |
  • | | (Ready Out-of-the-Box) | | (Trained on Customer Data) | |
  • | | | | |
  • | | - Invoice Processing | | - Document Processing | |
  • | | - Receipt Processing | | * Structured (Fixed Forms) | |
  • | | - Business Card Reader | | * Unstructured (Contracts, Docs)| |
  • | | - Text Recognition (OCR) | | * Invoices / Receipts Tuning | |
  • | | - Sentiment Analysis | | - Object Detection | |
  • | | - Language Detection | | - Text Classification | |
  • | | - Key Phrase Extraction | | - Prediction (Binary / Multi) | |
  • | | - Identity Document Reader | | |
  • | | - Text Translation | | |
  • | +------------------+------------------+ +------------------+-----------------+ |
  • | | | |
  • | v v |
  • | +-----------------------------------------------------------------------------+ |
  • | | CONSUMPTION LAYER |
  • | | | |
  • | | POWER APPS (UI CONTROLS): POWER AUTOMATE (ACTIONS): | |
  • | - Document Processor Control - 'Extract information from...' |
  • | - Business Card Reader Control - 'Process and save...' |
  • | - Receipt Processor Control - 'Predict' Action (Custom Models) |
  • | - Object Detector Control - Dynamic Tokens & JSON Parsing |
  • | +-----------------------------------------------------------------------------+ |
  • +-----------------------------------------------------------------------------------+
  • Prebuilt vs. Custom Models Comparison
  • Dimension Prebuilt Models Custom Models
  • Training Required None (Pre-trained by Microsoft) Yes (Supervised training on uploaded samples)

Training Data Requirement Zero customer data needed Strict minimums (e.g., 5 docs/layout for document processing)

  • Customization Fixed schemas and standard fields Custom fields, custom tables, and custom labels
  • ALM & Solutions Globally available across environments Solution-aware (must be packaged and exported)
  • Deployment Lifecycle Ready immediately Draft -> Train -> Quick Test -> Publish -> Consume

Common Use Cases Standard utility bills, retail receipts, business cards, sentiment detection Proprietary claim forms, custom delivery notes, defective part detection, customer churn prediction

2. Deep Dive: Prebuilt AI Builder Models

Prebuilt models allow functional consultants to deliver immediate business value without the overhead of collecting training data or evaluating statistical model fit.

1. Invoice Processing (Prebuilt)

Automatically extracts key header fields: Vendor Name, Vendor Address, Customer Name, Invoice ID, Invoice Date, Due Date, Purchase Order Number, Subtotal, Total Tax, and Total Invoice Amount.

Extracts line-item tables including Description, Quantity, Unit Price, and Amount.

2. Receipt Processing (Prebuilt)

Optimized for printed and handwritten thermal and paper retail receipts.

Extracts Merchant Name, Merchant Address, Transaction Date, Transaction Time, Subtotal, Tax, Tip, and Total Amount.

3. Business Card Reader (Prebuilt)

Scans physical business cards captured via mobile camera or image upload.

Extracts Full Name, First Name, Last Name, Job Title, Company Name, Email Address, Phone Number, Mobile Number, and Address.

4. Text Recognition (OCR) (Prebuilt)

Extracts all printed and handwritten text lines from images ( .jpg , .png ) and document files ( .pdf ).

Returns raw text strings, bounding box coordinates [X, Y, Width, Height] , and word-level confidence scores.

5. Sentiment Analysis & Text Analytics (Prebuilt)

Sentiment Analysis: Classifies text into Positive , Negative , Neutral , or Mixed , providing individual sentiment scores per sentence and for the document as a whole.

Language Detection: Identifies the language of incoming text and outputs the standard ISO language code (e.g., en , es , fr , de ) with confidence percentage.

Key Phrase Extraction: Identifies the main talking points, key noun phrases, and thematic concepts from customer feedback, emails, or case descriptions.

Identity Document Reader: Parses worldwide passports, US driver's licenses, and state IDs, extracting names, birthdates, expiration dates, and document numbers.

3. Deep Dive: Custom AI Builder Models & Training Lifecycle

When standard prebuilt schemas do not match proprietary corporate documents, products, or historical data schemas, consultants must build and train custom models. +-----------------------------------------------------------------------------+

  • | CUSTOM MODEL TRAINING & ALM LIFECYCLE |
  • | |
  • | [1. MODEL TYPE] [2. SAMPLE DATA] [3. TAGGING & LABELS] |
  • | Choose Document Upload minimum 5 Define fields/tables and |
  • | Processing, Object sample documents per tag bounding boxes on |
  • | Detection, Text, etc. collection / layout. training documents. |
  • | | | | |
  • | v v v |
  • | [6. ALM & DEPLOY] [5. PUBLISH MODEL] [4. TRAIN & EVALUATE] |
  • | Add published model Publish model to make Train model; inspect |
  • | to Solution; export as available to Apps and Model Performance Score |
  • | Managed to Prod. Cloud Flows. (0-100 / Grade A-D). |
  • +-----------------------------------------------------------------------------+
  • 1. Document Processing (Form Processing)

Extracts structured data, tables, and checkboxes from standard company documents.

Structured Documents: Fixed layouts where form elements always appear in the exact same physical coordinates (e.g., standard tax forms, standardized loan applications).

Unstructured Documents: Free-form documents where data appears anywhere in varying layouts and paragraphs (e.g., contracts, letters, resumes, statements of work).

Training Requirement:

Strict Minimum: 5 sample documents per collection / layout.

A collection represents a distinct document layout. If an organization receives invoices in 3 distinct layout formats, the model requires 3 collections with at least 5 sample documents in each collection (minimum 15 total documents).

Best practice recommendation: 10 to 20 realistic samples per collection for production accuracy.

2. Object Detection

Identifies and counts specific physical objects in images, drawing bounding boxes around each occurrence.

Training Requirement: Minimum 15 sample images per object class / label (e.g., 15 images of "Damaged Valve", 15 images of "Intact Valve").

Used in field service and inventory management to inspect stock levels or identify equipment defects.

3. Text Classification (Category Classification)

Categorizes unstructured text into one or more user-defined categories (e.g., routing incoming support emails into "Billing", "Hardware", "Software", or "Account Access").

Training Requirement: Minimum 10 sample text entries per category/tag (50+ recommended).

4. Prediction Models (Binary & Multi-Outcome Classification)

Analyzes historical Dataverse tabular records to predict binary outcomes (e.g., Will lead qualify? Yes/No , Will customer churn? Yes/No ) or numerical values.

Evaluates relationships across historical columns and generates a Model Performance Score (0 to 100) and feature influence chart showing which fields drive the prediction.

Important

Custom Model Lifecycle Rules:

A newly trained model cannot be used in Power Apps or Power Automate until it is explicitly Published .

Custom models are Solution-Aware components. When deploying across environments (Dev -> Test -> Prod), models must be added to a Dataverse Solution and exported as Managed Solutions.

4. Consuming AI Builder in Power Apps

Power Apps Studio provides dedicated Canvas App UI controls designed for real-time document capture, processing, and visual inspection. +-----------------------------------------------------------------------------+

  • | CANVAS APP: AI BUILDER UI CONTROLS |
  • | |
  • | +---------------------------------+ +----------------------------------+ |
  • | | DOCUMENT PROCESSOR CONTROL | | BUSINESS CARD READER CONTROL | |
  • | | - Drag & drop / upload file | | - Mobile camera scan / file | |
  • | | - Bound to Custom/Prebuilt | | - Extracts Contact info | |
  • | | - `DocProcessor.Fields` | | - `BusinessCardReader.FirstName`| |
  • | | - `DocProcessor.Tables` | | - `BusinessCardReader.Company` | |
  • | +---------------------------------+ +----------------------------------+ |
  • | |
  • | +---------------------------------+ +----------------------------------+ |
  • | | RECEIPT PROCESSOR CONTROL | | OBJECT DETECTOR CONTROL | |
  • | | - Real-time mobile receipt OCR | | - Live camera view with boxes | |
  • | | - `ReceiptProcessor.Total` | | - `ObjectDetector.GroupResults` | |
  • | | - `ReceiptProcessor.Items` | | - Counts items per class label | |
  • | +---------------------------------+ +----------------------------------+ |
  • +-----------------------------------------------------------------------------+
  • Binding Extracted Properties in Power Fx

When a user scans or uploads a document in a Canvas App, the AI Builder control exposes extracted data as strongly-typed Power Fx record and table objects: // Populating a form field from the Business Card Reader control:

  • Txt_FirstName.Default = BusinessCardReader1.FirstName
  • Txt_LastName.Default = BusinessCardReader1.LastName
  • Txt_Email.Default = BusinessCardReader1.Email
  • Txt_Company.Default = BusinessCardReader1.CompanyName

// Populating a Gallery from Document Processor Line Items:

Gallery_InvoiceLines.Items = DocumentProcessor1.Tables.InvoiceLines

// Saving an invoice record to Dataverse using Patch:

  • Patch(
  • Invoices,
  • Defaults(Invoices),
  • {
  • 'Invoice Number': DocumentProcessor1.Fields.InvoiceId.Value,
  • 'Vendor Name': DocumentProcessor1.Fields.VendorName.Value,
  • 'Total Amount': Value(DocumentProcessor1.Fields.TotalAmount.Value),
  • 'Confidence Score': DocumentProcessor1.Fields.TotalAmount.Confidence
  • }
  • )
  • 5. Consuming AI Builder in Power Automate Cloud Flows

Automated document processing pipelines execute AI Builder models silently in the background when emails arrive, files are uploaded to SharePoint, or records are created in Dataverse. +-----------------------------------------------------------------------------+

  • | AUTOMATED INVOICE PROCESSING FLOW PIPELINE |
  • | |
  • | [TRIGGER] -> When an email arrives with an attachment (PDF) |
  • | | |
  • | v |
  • | [ACTION 1] -> 'Extract information from invoices' (AI Builder) |
  • | - Document: Attachment Content |
  • | | |
  • | v |
  • | [ACTION 2] -> 'Condition': Confidence Score > 0.80 |
  • | ├─ IF YES: |
  • | │ ├─ Action: 'Add a new row' (Dataverse Invoices table) |
  • | │ └─ Action: 'Apply to each' (Line Items) -> Add rows to Invoice Lines |
  • | └─ IF NO: |
  • | └─ Action: Send approval email to AP Team for manual review |
  • +-----------------------------------------------------------------------------+
  • Power Automate Action Types

Dedicated Prebuilt Actions: Direct actions such as Extract information from invoices , Extract information from receipts , Recognize text in an image , Classify text with AI Builder , and Detect sentiment in text . Dynamic content tokens for all standard fields are surfaced directly in the flow designer.

The Generic Predict Action: Used to call Custom Trained Models . The maker selects the Model from a dropdown (or passes the Model GUID) and supplies the input payload (e.g., document payload or tabular parameters). Output properties are parsed using standard dynamic tokens or JSON parsing.

6. AI Builder Capacity & Credits Governance

AI Builder does not bill per API call or per user seat. Instead, it utilizes an enterprise resource pooling model called AI Builder Capacity Credits . +-----------------------------------------------------------------------------+

  • | AI BUILDER CAPACITY ALLOCATION MODEL |
  • | |
  • | [TENANT POOL] ───> Purchased AI Builder Add-on Units (e.g., 1,000,000 / mo)|
  • | │ |
  • | ├── Allocates 500,000 credits ──> [PRODUCTION ENVIRONMENT] |
  • | │ - Runs Invoice Processing Flow |
  • | │ - Runs Canvas App Receipt Scans |
  • | │ |
  • | ├── Allocates 100,000 credits ──> [UAT / TEST ENVIRONMENT] |
  • | │ - Model Testing & Validation |
  • | │ |
  • | └── Unallocated Pool (400,000) ──> Available for on-demand allocation |
  • +-----------------------------------------------------------------------------+
  • Capacity Management Rules

Tenant-Level Add-On: AI Builder credits are purchased as tenant-level add-ons (or bundled with Power Apps Premium licenses) and pooled across the organization.

Environment Allocation: In the Power Platform Admin Center (PPAC) under Resources -> Capacity -> Add-ons , administrators explicitly allocate specific quantities of monthly credits to designated production and test environments.

Consumption Rate: Different model operations consume varying amounts of credits (e.g., processing an invoice document consumes more credits than running sentiment analysis on a short sentence).

Monitoring & Over-Quota: Administrators monitor consumption in the PPAC AI Builder capacity reporting dashboard. If an environment exhausts its allocated credits, AI processing may be throttled or blocked until additional capacity is assigned.