Share via


Key concepts - Use Power Automate flows in Copilot Studio

Important

Power Virtual Agents capabilities and features are now part of Microsoft Copilot Studio following significant investments in generative AI and enhanced integrations across Microsoft Copilot.

Some articles and screenshots may refer to Power Virtual Agents while we update documentation and training content.

Extend the capabilities of your copilot with cloud flows that you build in Power Automate using low-code, drag-and-drop tools. You can use flows that already exist in your Power Apps environment or create a flow from the Copilot Studio authoring canvas.

Important

To use cloud flows in custom copilots in Copilot Studio, the flows must:

  • Have the Run a flow from Copilot trigger.
  • Be located in a solution within the same environment as the copilot. Existing flows can be added to a solution to be available when adding actions to your copilot.
  • Return a response synchronously with the Respond to Copilot action, within the 100-second action limit. To avoid timeouts, optimize the flow logic, queries, and the amount of data returned so that a typical run is below this limit. Actions that need to run longer can be placed after the Respond to Copilot action to continue executing for up to the flow run duration limit, which is typically 30 days.

In this section

The examples in this section help you learn to use flows to do more with your copilots.

Article Description
Create a flow Create a Power Automate flow that provides a weather forecast.
Call a flow as an action Call a Power Automate flow from a copilot topic using an action node.
Add input and output variables Pass variables between a Power Automate flow and a Copilot Studio copilot.
Return a list of results Return a list of results from a Power Automate flow to a Copilot Studio copilot.