Level 100About 30 minutesAdapted November 2026

In-app agents in model-driven apps

Add focused in-app agents to a Northwind Traders model-driven app so people can query orders in plain language, generate charts, fill a form from unstructured text, and read a row summary without leaving the app.

IGOE AI learning resource. This is an independent adaptation of a Microsoft workshop lab, not official Microsoft courseware and not a promise of course inclusions.

Adapted from the official lab

Original Power CAT lab

Adapted from Bring AI Inside Your App: Natural Language Queries, Auto Charts and Smart Form Fill in Microsoft's Apps and Agents workshop (Power Series labs), built by Microsoft's Power CAT team. Source: https://microsoft.github.io/apps-agents-workshop/labs/lab.html?path=in-app-agents%2Fin-app-agents.md&branch=main&deck=in-app-agents%2FPower%20Series%20-%20In-app%20agents.pptx.

The lab documentation is licensed under CC BY 4.0. Copyright Microsoft Corporation. The licence text is in the repository LICENSE-DOCS file.

IGOE AI adapted it into this UK follow-along checklist, including wording changes, a progress checklist, and this page layout. This is not an official Microsoft page and is not endorsed by Microsoft.

0 of 0 steps complete

What you will build

A working walkthrough of the data exploration, data visualisation, data entry and row summary agents inside the Admin Management model-driven app from the Northwind Traders sample.

  • Time needed: About 30 minutes.
  • Who it is for: Information workers and Power Apps makers.
  • Environment: Use a sandbox or developer environment, not production. The official lab uses the Northwind Traders sample, so this checklist keeps that sample company rather than Contoso.

Licences and prerequisites

A Power Platform environment with maker access, Dataverse, and the shared Northwind Traders sample solution imported. A modern browser such as Microsoft Edge or Google Chrome. Follow the workshop prerequisites and the solutions README if the sample is not already in your environment. Shared workshop prerequisites: labs/prereqs.md. Shared sample setup: solutions/README.md.

Labs that use generative AI can look different from the screenshots. If the result varies, complete the task from the intended outcome and the UI you see, as the official workshop notes.

Follow the lab

Work through the official steps below as a checklist. Tick each step as you finish it. Your progress is saved in this browser on this device only. Use the reset button to start again. Each step has a stable address such as https://igoe.ai/learn/apps-agents-workshop/in-app-agents/#step-1 so a video can link to it.

Lab overview

This lab shows how to use in-app agents in a model-driven app to explore data, generate visuals, assist with form completion, and surface record summaries directly in the user workflow.

App scenario

Northwind Traders wants end users to work faster inside the Admin Management model-driven app without relying on separate analytics or manual data-entry workflows. In-app agents help users query orders, visualize trends, complete forms from unstructured content, and review AI-generated summaries directly in the app experience.

Prerequisites

Review the consolidated workshop prerequisites before you begin:

For this hands-on lab, use a dedicated Power Apps developer environment. Import the Northwind Traders unmanaged solution from the solutions folder and seed the sample data by following the instructions in the solutions README.

Note. Use the shared solution setup guidance in the solutions README rather than duplicating import instructions in each lab.

Use a modern browser such as Microsoft Edge or Google Chrome for best compatibility.

Note. This lab uses generative AI features. Generated content may differ between users and between the documentation and the live experience. If results vary, use your judgment to complete the task based on the intent and UI you see.

Learning outcomes

By the end of this lab, you will be able to:

  • Run natural language queries with the data exploration agent.
  • Generate charts with the data visualization agent.
  • Use form fill assistance to map unstructured input into record fields.
  • Configure row summaries so users can review record context more quickly.

Documentation & learning resources

Core concepts

The in-app agent experiences in this lab include:

Concept Why it matters
Data exploration agent Lets users query records with natural language and apply filters without building custom views.
Data visualization agent Creates charts from the current data context so users can inspect trends quickly.
Data entry agent Suggests field values from pasted or uploaded content to reduce manual entry.
Row summary agent Generates concise record summaries that surface key context directly in the app.

Lab steps

Use the data exploration agent

Use the data exploration agent to interact with order data using natural language queries that convert to filters.

Open the Admin Management app from the Northwind Traders solution
Figure: Open the Admin Management app from the solution.

List orders where payment was made via credit card in Chicago

Enter a natural language filter prompt in Orders
Figure: Enter a natural language query in the Orders view.

Review filtered order results after the agent applies the query
Figure: Filtered order results returned by the data exploration agent.

Orders paid by check in last 10 months

View filtered results for orders paid by check in the last 10 months
Figure: Filtered results for orders paid by check in the last 10 months.

Orders paid by credit card - Sort them by payment date, latest on top

Sort credit card orders by payment date using a natural language prompt
Figure: Credit card orders sorted by payment date.

Use the data visualization agent

Use the data visualization agent to automatically generate charts based on the current data context.

Open the visualize action from the Orders view
Figure: Open the visualization experience from Orders.

Review the generated orders by city chart
Figure: Example visualization generated from the current Orders context.

Open chart options for the generated visual
Figure: Chart options for the generated visual.

Inspect the generated chart properties panel
Figure: Properties available for the generated chart.

visualize number of orders and payment type as a pie chart

Generate a pie chart for orders by payment type
Figure: Pie chart visualization created from a prompt.

Use the data entry agent

Use the data entry agent to assist with form completion by suggesting values and mapping unstructured input.

Open a new order form in the Admin Management app
Figure: New order form.

Show the form assist pane on the new order form
Figure: Form assist pane on the order form.

Open Smart Paste or upload options for form fill assistance
Figure: Smart Paste and upload options for form fill assistance.

I want to place a new order for customer AA. The order needs to be placed today and the paid date to 2 weeks from now. This order is taxable. Please ship this order to 1 Microsoft Way, Redmond, WA, 98052. The order will be paid via check. Also add a note that this order is for a big private company.

You can also upload the image below to test mapping.

Reference image that can be uploaded for form fill testing
Figure: Reference image for testing form fill mapping.

Review suggested field values returned by the data entry agent
Figure: Suggested field values returned by form fill assistance.

Note. Limitations:
- Suggestions appear only for fields on main and quick-create forms.
- Supported types: text, numeric, choice, date.
- Fields with column security are not supported.

Accept or reject suggested values one at a time
Figure: Accept or reject suggestions individually.

Accept multiple suggested values for the new order
Figure: Accept multiple suggested values on the form.

Save the populated order record after applying suggestions
Figure: Save the populated order record.

Confirm the saved order appears in the Orders view
Figure: Saved order displayed in the Orders view.

Configure the row summary agent

Use the row summary agent to generate concise record summaries for quick insight.

Open row summary settings for the Order table
Figure: Row summary configuration for the Order table.

Add table data references to the row summary prompt
Figure: Add data references to the row summary prompt.

Select columns to include in the row summary prompt
Figure: Select columns to include in the prompt.

Review prompt data selections for the summary
Figure: Review the selected data references for the prompt.

Write row summary instructions in the prompt editor
Figure: Prompt instructions for the row summary agent.

Test the row summary prompt against a sample record
Figure: Test the row summary prompt.

Add a related customer field to the summary prompt
Figure: Add a related customer field to the prompt.

Review the updated row summary test response
Figure: Updated row summary response after adding related data.

Apply the configured row summary to main forms
Figure: Apply the row summary to main forms.

Launch the Admin Management app to verify row summaries
Figure: Launch the Admin Management app.

Open the summary indicator from an order record in the grid
Figure: Summary indicator in the Orders view.

Review the generated summary card for the selected record
Figure: Generated row summary card.

Open an order form to review the row summary on the form
Figure: Open an order form to review the summary.

Review the generated row summary at the top of the form
Figure: Row summary displayed on the order form.

Summary & best practices

  • Use natural language queries and generated visuals to help users explore data without leaving the model-driven app.
  • Review AI-generated suggestions and summaries before saving changes to production data.
  • Keep shared environment and solution setup instructions in the central workshop prerequisite and solutions documentation.

Lab completion

Tip. You completed the in-app agents lab.

What is likely to go wrong

SymptomLikely causeWhat to try
You cannot find the sample app, tables or orders.The Northwind Traders solution is missing, or you are in the wrong environment.Check the environment picker, then import and seed the sample using the official solutions README.
A feature or preview button is missing.The environment region, early release setting, or a required role is not in place.Compare your environment with the official prerequisites for this lab, including early release and Copilot Studio Authors where the source lab requires them.
A connector or flow asks for a licence.The account is missing a required licence, such as Outlook for the supervised-agents lab, or a premium connector.Use a licensed test account in the sandbox, or follow the official trial steps if the source lab includes them. Do not run this in production to work around a licence gap.
A flow, workflow or agent run fails on the first test.A connection is not signed in, or sample data does not match the filter in the step.Open connections and sign in, then check the record values against the official filter or test data.
Generated wording or a chart looks different from a screenshot.Generative AI results vary, as the official workshop says.Judge the result against the intended outcome and continue if the task is complete.

Open the original Power CAT lab if a UI name has changed, and use what you see on screen rather than inventing a missing click.

Join the free monthly webinar. A 40-minute live taster on Microsoft Teams.

See where your organisation stands

Complete the short AI and automation scorecard. Your answers stay in your browser. Nothing is sent or stored, and there is no email sign-up.