Lesson 2 of 3 AI in Power Apps

Designing AI Components into Canvas App Processes

This lesson explains how to include AI components in a business process supported by a canvas app.

Learning outcomes

After completing this lesson, you will be able to:

  • Identify AI components available to canvas apps.
  • Explain how to design AI steps with human checkpoints.
  • Describe how to handle confidence and failure.

AI components available to canvas apps

A canvas app can include AI in several ways. AI Builder models, such as document processing, text recognition and prediction models, can be used through components or called in Power Fx formulas. Prompts built with the prompt builder can be called to summarize, classify or draft text. Power Automate flows called from the app can run prompts, models and agents in the background. Microsoft Copilot in canvas apps lets users ask questions about the app's data.

One component must not be designed into new apps: the Copilot control for canvas apps, a preview component that answered questions about a Dataverse table, cannot be added to new canvas apps since 2 February 2026, and existing apps that use it will eventually lose support. Microsoft recommends Microsoft Copilot in canvas apps instead.

Designing the process

Designing an AI-enabled process starts with the process, not the technology. The architect maps the current steps, identifies where people spend time on reading, typing, searching or judging, and selects the AI component that addresses each one. Each AI step then needs a human checkpoint proportional to its impact, a way to handle low confidence, and a record of what the AI contributed.

  • Capture: replace typing with extraction, such as reading fields from a photographed delivery note.
  • Understand: classify or summarize free text, such as a technician's notes.
  • Decide: recommend an action with a prediction model, such as the likelihood that an order will be late.
  • Review: show AI output as an editable suggestion, not as a final value, and require confirmation for consequential steps.
  • Record: store the AI result, its confidence and the user's correction, which provides audit evidence and training data.

Handling confidence and failure

AI components return results with varying confidence, and some return a confidence score. The process design decides what happens at each level. The following table shows a typical design for an extraction step.

SituationApp behaviour
High confidence for every fieldPrefill the form; user confirms with one tap
Low confidence for some fieldsHighlight those fields for the user to check
Extraction fails or the service is unavailableFall back to manual entry; the process continues

The app must keep working when the AI component fails, because the business process cannot stop for an unavailable model. Capacity is also part of the design: AI Builder models and prompts consume capacity that must be planned for the expected volume.

Worked example

A field inspection app

Inspectors use a canvas app to record safety inspections. They type equipment serial numbers from labels, write free-text findings, and choose a severity. Supervisors complain that severities are inconsistent. The company wants to reduce typing and make severities consistent, while inspectors remain accountable for each report. What should the process design include?

The capture step uses text recognition to read the serial number from a photo of the label, with the value shown for confirmation and manual entry as a fallback. The understand step uses a prompt that proposes a severity from the findings text, using the company's severity definitions and examples, with low temperature for consistency. The proposed severity is shown as a suggestion that the inspector accepts or changes, and the app records both the suggestion and the final value, so that supervisors can see where inspectors disagreed and the prompt can be improved. The design must not use the canvas Copilot control, which cannot be added to new apps.

Check yourself

What should a canvas app do when an AI extraction service is unavailable?

Show answer

Fall back to manual entry so that the business process continues.

Exam Tips

Remember for the exam

  • Canvas apps can use AI Builder models, prompts, flows and Microsoft Copilot in canvas apps.
  • The canvas Copilot control cannot be added to new apps since 2 February 2026.
  • Show AI output as editable suggestions with human confirmation for consequential steps.
  • Design fallbacks so the process continues when an AI component fails.