Flow is an agentic workflow tool with built-in agentic capabilities and automations that support arbitrarily complex orchestration of multiple Agents, Tools and People. Each node can represent an agent, a tool, or built-in capabilities such as user interactions, prompts, or decision logic. With flows, you can design workflows using various control structures, including conditional branching (if-then-else or switch-case), iteration over lists using foreach, and loops that repeat actions until specific conditions are met. A flow is composed of nodes and edges. You define nodes of different types and connect them using edges. Because flows can take several seconds to execute depending on their complexity, they run asynchronously. The sections below introduce the key concepts and components you’ll use when working with flows:
Note: 
  • As flow can be long running, when you call a flow tool, the system will provide an instance ID and will wait for the response.
  • In the meantime, you can use the Get Flow Status tool (in a new chat session) to query the status of a flow using its instance ID.