Use Adaptive Cards to show data in API plugins for declarative agents

Intermediate
Developer
Microsoft 365
Microsoft Copilot

Learn how to enhance the user experience of declarative agents by using Adaptive Cards to render API data visually. Create and configure Adaptive Card templates, integrate them into API plugins, and test the setup in Microsoft 365 Copilot. Learn the practical steps for building and previewing Adaptive Cards in Visual Studio Code.

Learning objectives

By the end of this module, you're able to:

  • Create an Adaptive Card template that shows the data from the API.
  • Verify that the Adaptive Card template correctly renders API data.
  • Configure the API plugin to render the data using the Adaptive Card template.
  • Upload your declarative agent to Microsoft 365 Copilot and validate the results.

Prerequisites