Microsoft Power Pages has introduced a powerful capability that allows creators to build AI-driven agents directly from forms. These agents are powered by Microsoft Copilot Studio, enabling seamless interaction between users and the data collected through Power Pages forms.
This feature simplifies the process of embedding intelligent, conversational assistance directly into a webpage without requiring deep technical expertise or extensive setup. With just a few configuration steps, makers can generate an agent that understands the purpose of a form, assists users while filling it out, and performs actions such as submitting or validating data.
This blog explains how to create an agent for a Lead form on a blank Power Pages site, demonstrating how it integrates automatically with Copilot Studio to provide AI-based support.
The goal of this feature is to enhance a basic Lead form by embedding an AI agent that can:
This approach transforms traditional forms into intelligent, guided experiences that help users to complete tasks efficiently and accurately. It is particularly useful for data capture scenarios such as lead generation, contact forms, or inquiry submissions, where AI assistance can improve engagement and accuracy.
To implement this functionality, a blank Power Pages site is first created with a basic Lead form based on the Dataverse Lead table. The following steps outline the process to create and configure the agent:
Sign in to Power Pages and open the editing workspace. Select the page that contains the Lead form.
After selecting the form, a new option labeled “Agent” appears on the command bar. Selecting this option opens the Add Agent configuration dialog.
In the configuration dialog:
Under “Choose Roles for this Agent”, add the necessary web roles to define which users can access the agent.
Next, enable Web API table access so that the agent can securely interact with the Lead table data through the Power Pages Web API.
Once the setup is complete, select Continue → Publish. Power Pages automatically creates or updates the corresponding agent in Microsoft Copilot Studio, linking it directly to the selected form.
After publishing, the agent appears on the webpage that contains the Lead form. It greets visitors, understands the form’s purpose, and assists with data entry according to the configured settings. The LeadAssist option in the website bot allows users to select it and request guidance or support related to the form.
Key observed behaviors include:
Further customization can be achieved in Microsoft Copilot Studio, where prompts, actions, and workflows can be refined or extended. This integration allows the agent to perform advanced operations such as connecting to Dataverse workflows or executing specific business actions.
You can create an AI Agent directly from any form in Power Pages. Simply select your form, click the “Agent” option in the command bar, describe the form’s purpose, assign roles, and publish. Power Pages will automatically connect the agent to Copilot Studio for AI capabilities.
Copilot Studio powers the AI logic behind the agent. It helps the agent understand user intent, process natural language, validate data, and perform tasks like data lookup, submission, or integration with Dataverse workflows.
Yes. After the agent is created, you can open it in Microsoft Copilot Studio to customize its prompts, actions, and workflows. This allows you to tailor the agent to your business needs or extend its capabilities further.
Yes. If you enable the autofill option, the AI Agent can extract and map data from uploaded PDFs or images to the corresponding form fields, making data entry faster and more accurate.
AI Agents can be added to any form — such as Lead, Contact, or Inquiry forms — where user interaction or data entry assistance is needed. It’s especially useful for lead generation, customer support, or service request forms.
The ability to create an agent directly from a Power Pages form removes much of the manual effort previously required to integrate AI assistance with web portals. By combining Copilot Studio’s conversational intelligence with Power Pages’ security and data management, this feature provides a strong foundation for building AI-enhanced user experiences.
The post How to Create an AI Agent from a Form in Microsoft Power Pages using Copilot Studio first appeared on Microsoft Dynamics 365 CRM Tips and Tricks.
Original Post https://www.inogic.com/blog/2025/10/how-to-create-an-ai-agent-from-a-form-in-microsoft-power-pages-using-copilot-studio/