23 Giugno 2025

Customize model-driven forms to leverage Copilot Studio content in your apps (Preview)

We’re excited to announce the public preview of two powerful new capabilities in Microsoft Power Apps: Agent APIs and Agent response component. These features were shown in the Microsoft Build session Extend your Copilot Agent in Power Apps with Copilot Studio and new SDK’s. With them, you unlock new ways to integrate Microsoft Copilot Studio (MCS) into your model-driven apps, enabling richer, more contextual, and more intelligent user experiences.

Agent APIs

The Agent API provides a robust set of methods that allow makers to programmatically interact with topics created in Copilot Studio. Available through both the Xrm.Copilot and PcfContext.Copilot namespaces, these APIs enable two core operations:

executeEvent: Triggers a topic based on a registered event name and returns a structured response.

executePrompt: Sends a natural language prompt to MCS and receives a response based on trigger phrases defined in the topic.

These APIs are designed for use within model-driven apps and can be embedded in XRM event handlers or custom PCF controls. They return rich JSON responses that include markdown, adaptive cards, and media giving makers full control over how to use and display Copilot-generated content.

During Microsoft Build, we demonstrated adding a custom PCF which provided rich interaction of the content in the model-driven form.

Agent response component

The Agent response component allows a maker to easily add the Copilot Studio content into a model-driven form using a provided component. The component supports rendering markdown, adaptive card, image or video content.

The Build session showed how to render a rich adaptive card for a polished experience.

For more information about the capabilities, see

Bring intelligence into your component using Agent Xrm APIs (preview)

Bring intelligence into your app using Agent Xrm APIs (preview)

Use Agent Response component in the model-driven app forms (preview)

Please reach out using our community forum Agent APIs and Component – Public Preview to ask questions or report issues.

The post Customize model-driven forms to leverage Copilot Studio content in your apps (Preview) appeared first on Microsoft Power Platform Blog.
Source: Microsoft Power Platform

Share: