New Tool Radar

AI Agents & Automation

How to Build a Flowise Agentflow That Routes Work Between Two Agents

Build a Flowise Agentflow with two agents and a routing step so each question goes to the agent that can answer it.

Schematic diagram with three steps: Add the Start node, Add two agent nodes, then Route and test.

A chatflow is a single-agent pipeline, while an Agentflow is the bigger canvas for multi-agent systems, with branching, looping and routing. When one agent cannot cover two different jobs, an Agentflow routes each question to the agent that fits it.

Before you start

You need a running Flowise instance and two distinct jobs for the agents, for example answering product questions and handling returns. Write one line per agent stating its job before you open the canvas.

Lay out the Agentflow: Start, route, two agents, reply

Create a new Agentflow and add a Start Node. Add an Agent node for each job, a Condition node to route between them, and a Direct Reply Node at the end. Connect the Start Node to the Condition node, and each branch to its agent, then to the reply node. Agentflow V2 uses standalone nodes whose connections define the execution queue and data path.

Test with one question per branch

Send a question for each branch and check the reply comes from the right agent. If both questions land on the same agent, the routing condition is too vague: name the exact words or topic that pick each branch.

Worked example: Two agents for a fictional shop help desk

Maple Shop is a fictional online shop. Its Agentflow routes product questions to one agent and returns questions to another. The table shows the routing.

Question Route Agent that answers
Is the city bike in stock? Product branch Product agent
How do I return a helmet? Returns branch Returns agent
What is the delivery time? Product branch Product agent

Expected result (UNTESTED): each question is answered by the agent on its branch, and the reply quotes the right information. We checked the Flowise documentation summary, which describes Agentflow as the multi-agent canvas with branching and routing, but we did not build the flow on a live Flowise instance.

Limits

An Agentflow costs a model call for the routing step plus a call for the answering agent. A wrong route gives a confident wrong answer, so test the routing with edge questions that could fit either branch. Note also that Flowise is reported as archived and sunsetting, so check the official site before starting a new Flowise build.

Sources

See all