Call agent flows

Completed

You can use agent flows effectively on their own. But one of the key advantages of agent flows is that you can add them to other agents as actions to create larger agent-based automation scenarios.

For an agent flow to be added to another agent, it needs to meet the following criteria:

  • Have the Run from a trigger and a Respond to Copilot action.
  • Be configured to respond in real time, not asynchronously.
  • Respond to the agent within the 100-second action limit.

Optimize the flow logic, queries, and the amount of data returned so that a typical run is below the action limit. Actions in the flow that need to run longer can be placed after the Respond to Copilot action to continue to run up to the flow run duration limit of 30 days.

To add an agent flow to an existing agent as action, open the agent that you want to add the flow to. On the Actions tab, select Add an action.

Important

If the flow that you want to add isn't listed, make sure that it has the When an agent calls a flow trigger and a Respond to the agent action. If it doesn't, you can't add it as an action to an agent.

For more information and step-by-step directions, see Add an agent flow to an agent as a tool.