Build an Agent from a Form in Microsoft Power Pages

Build an Agent from a Form in Microsoft Power Pages

Microsoft Power Pages allows you to create intelligent AI-powered Agents directly from existing forms. These Agents automatically understand form fields, business logic, security roles, and data structures, enabling users to interact with forms through natural language conversations.

Tip: Form-based Agents automatically integrate with Microsoft Copilot Studio, allowing you to extend functionality with advanced AI capabilities and conversational experiences.

What is a Form Agent?

A Form Agent is an AI assistant generated from a Power Pages form. The Agent understands the form structure, fields, validations, and business rules, helping users complete forms more efficiently through conversational interactions.

Benefits of Form-Based Agents

Prerequisites

Important: Power Pages Agents rely on Microsoft Copilot Studio services and may require additional licensing and AI message capacity.

Create an Agent from a Form

  1. Open your Power Pages website.
  2. Select Edit.
  3. Navigate to the Pages workspace.
  4. Select a page containing a Basic Form.
  5. Select the form component.
  6. Choose Agent.
  7. The Add Agent dialog opens.

Configure the Agent

Within the Add Agent dialog, provide the required details to configure your AI assistant.

Option Description
Description Describe the purpose of the form and how the agent should assist users.
Autofill from Files Allow AI to extract information from uploaded documents and populate form fields.
Agent Name Create a new agent or select an existing agent.
Copilot Studio Automatically connects the agent to Copilot Studio.

Create or Update the Agent

  1. Select Continue.
  2. The Agent is created or updated in Microsoft Copilot Studio.
  3. Configure authentication manually if required.
  4. Review the generated conversational experience.

Configure Security

To ensure secure access, configure web roles and Web API permissions for the Agent.

Success: Power Pages automatically creates the required site settings needed for Agent functionality.

Publish the Agent

  1. Review all configuration settings.
  2. Select Continue.
  3. Publish the website.
  4. Test the Agent experience.
  5. Verify that form assistance is working correctly.

How Form Agents Work

When users interact with a form Agent, the Agent analyzes the form structure, available fields, validation rules, and business logic. It then guides users through the process using natural language conversations, making complex forms easier to complete.

Best Practices

Summary

Building an Agent from a Form in Microsoft Power Pages enables organizations to create intelligent, conversational experiences that simplify form completion and improve user engagement. By leveraging Copilot Studio integration, AI-assisted data collection, and automated form understanding, businesses can deliver faster and more intuitive digital interactions.