Use Power Automate flows in Copilot Studio
Extend the capabilities of your agent 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 agents 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 agent. Existing flows can be added to a solution to be available when adding actions to your agent.
- 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 agents.
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 an agent topic using an action node. |
Use input and output variables to pass information | Pass variables between a Power Automate flow and a Copilot Studio agent. |
Return a list of results | Return a list of results from a Power Automate flow to a Copilot Studio agent. |