Overview
The Web Tool Node lets you use Web Tools within a flow agent, with structured control over how the tool’s response is handled. You can extract specific values from the response, use them in variables, and route the conversation based on the results.For a full explanation of what web tools are, how to register them, and code examples, see the Web Tools documentation. This page covers the flow-specific aspects of using them in nodes.
Adding a Web Tool Node
- Open your Flow Agent
- Click Add Node and select Web Tool Node
- Configure the node to reference a registered web tool
- Add transitions based on the tool’s response
Extracting Data from Responses
The key advantage of using web tools in a flow agent (vs. a single prompt agent) is output mapping. You can extract specific values from a web tool’s JSON response and store them in variables for use later in the flow.In a single prompt agent, the web tool’s response goes directly to the LLM without extraction. In a flow agent, you control exactly which values are extracted and how they’re used.
Transitions
Web Tool Nodes support all transition types:- Always: Proceed to the next node regardless of response
- Natural Language: Route based on the meaning of the response
- Equation: Route based on extracted values from the response
Processing Message
Configure a message the agent speaks while the web tool executes:- Static:
"One moment while I look that up..." - Prompt-based:
"Let me find the {{product_category}} for you..."