Agent node
What shipped
The Agent node lets you drop a single-turn AI agent directly into any workflow. The agent follows a goal you define, can call tools (other workflows), and returns a structured result — all without leaving the flow builder. You no longer need to build separate Dynamic Chat conversations to use LLM-powered reasoning inside a workflow.
Who it's for
| Persona | How they benefit |
|---|---|
| Bot builder / developer | Wire LLM reasoning into any workflow step without extra configuration outside the builder |
| Admin | Control which bots can use the Agent node via the LLM Config toggle |
How to use
1. Enable the Agent node for your bot
Before the node appears in the flow builder, an admin must enable it:
- Go to Settings → LLM Configuration.
- Under Use Cases, find Agent Node and toggle it on.
- Select the LLM account and model to use.
2. Create an agent
- Navigate to Studio → Agents.
- Click + New Agent and give it a name/slug.
- Write the agent's goal — plain-language instructions for what the agent should accomplish (supports
{{variable}}templating). - Optionally configure a response format (plain text or a JSON schema).
- Save the agent.
3. Add the Agent node to a flow
-
Open any flow in the flow builder.
-
Drag a connection from an existing node — the node picker will appear.
-
Select Agent node under Action nodes.
-
In the right sidebar, configure:
Field Description Agent Select the agent slug you created in Step 2 Messages Optional — provide conversation context as static turns (user/assistant) or reference a variable that resolves to a message array Model override Optional — override the bot-level LLM account and model for this node only Output variable Variable to store the agent's response ( status,data,error) -
Connect the Success and Failure output handles to the next steps in your flow.
4. Use the output
The output variable contains:
{
"status": "success",
"data": [{ "type": "output_text", "text": "Agent's response here" }]
}
On failure:
{
"status": "error",
"data": null,
"error": { "code": "MAX_ITERATIONS_EXCEEDED", "message": "..." }
}
Access the response text downstream with {{variables.yourOutputVar.data.0.text}}.
Screenshots
Related
- Related docs: LLM Configuration
- Related docs: Variables node
- Related docs: Execute Flow node