Viewing pro-code workflows in the workflow builder

Agentic workflows can be authored using either the pro-code (ADK) or the workflow builder (low-code) in the user interface, depending on a builder’s preferences and expertise. While workflows created in pro-code provide flexibility and control through code, a visualization or a canvas during authoring is not available in pro-code, unlike workflows created in the workflow builder.

However, you can open the pro-code workflows on the canvas of the workflow builder as a read-only visualization. This enables builders to view the overall structure and flow of a pro-code workflow using the same visual experience that is available in the workflow builder.

In addition to visualizing the workflow structure, builders can also inspect runtime data for pro-code workflows using the flow inspector. When opened in the workflow builder, pro-code workflows are displayed in a read-only mode.
  • The pro-code workflow structure can be viewed, but not modified.
  • Any changes to the pro-code workflow must be made in the ADK.
To add a pro-code workflow to your agent, and open it in the workflow builder:
  1. Configure access to remote environments.
  2. Import the workflow from the ADK.
  3. Navigate to your agent builder page, select the toolset option, and click Add tool > Local instance.
  4. Select the pro-code workflow and click Add to agent.
  5. To open the pro-code workflow in the workflow builder, click the Options icon option icon, and select Open in flow builder.

    Alternatively, from the menu Menu, navigate to Build > All tools. Select the pro-code workflow, click the Options icon option icon, and select Open in flow builder.