๐Ÿง 
๐Ÿ”Œ
๐Ÿงฉ
Tool port
gpt-4o-mini
๐Ÿ”
โœ‰๏ธ
โš™๏ธ
$json.chatInput
swipe โ†’
Daily Drop ยท Carousel

Multi-agent systems in n8n

Be10x ยท Daily Drop

One question.
A team of
AI agents.

One report in your inbox โ€” built in n8n, with one Code node.

Swipe โ†’
01
MAIN LINE โ€” READ IT LEFT TO RIGHT Trigger AI Agent Gmail ONE NODE = ONE JOB ยท ONE RUN = ONE EXECUTION

Nodes on a
canvas

A node does one job and hands its data to the next. Every run is an execution, and n8n saves all of them.

02

Exactly one
trigger

When chat message received โ†’ {{ $json.chatInput }} // no trigger = nothing runs

The Chat Trigger is where a workflow starts. It catches the question and hands it down the line.

03
SOLID โ†’ MAIN LINE ยท DOTTED โ†“ SUB-NODES AI Agent Chat Model Memory Tool required optional 0 or many

The ports
underneath

Input left, output right โ€” plus a row of sub-node ports below. That row is the whole trick.

04

Three ports.
One is required.

1Chat Modelthe brain โ€” gpt-4o-mini. Empty, and it won't run.
2MemorySimple Memory keeps the earlier turns of the chat.
3ToolSerpAPI, a Code tool โ€” or another agent entirely.
05
one agent, one promptnews + charts + verdict + email
a teamone short job description each

One prompt,
four jobs

A jack of all trades goes deep on none of them โ€” and one bad line poisons the whole answer.

06
Orchestrator Agent Tool Tool Fundamental Analysis Agent Technical Analysis Agent

Promote one
to manager

The Orchestrator Agent delegates and merges. It never researches anything itself, and the two specialists never meet.

07

An agent can
be a tool

Orchestrator Agent โ”” Tool โ–ธ Fundamental Agent โ”” Tool โ–ธ Technical Agent

Hang a second agent off the Tool port and it stops being a chat partner. It becomes a function you call.

08
vague โ€” never gets picked"Analysis tool."
specific โ€” gets picked"Company fundamentals: news, results, sentiment."

The description
does the calling

The orchestrator chooses tools by reading their descriptions. Write a fuzzy one and yours is ignored.

09
// "Analyze Infosys" Fundamental โ†’ Bullish ยท deal wins Technical โ†’ Neutral ยท resistance

What to buy.
When to buy.

One specialist reads the business, the other reads the chart. The manager merges both into one summary.

Educational build โ€” not financial advice.
10

The last
mile

// Code in JavaScript const html = `<h2>${title}</h2>`; return [{ json: { html } }];

The Code node styles the report; Gmail sends it. Set Message Type to HTML or tags arrive raw.

Build the line
first.

Trigger โ†’ agent โ†’ Code โ†’ Gmail. Get those four talking, then hang the sub-nodes underneath. Tomorrow: the system prompts that make the merge readable.

Follow for daily drops โ€
Be10x ยท Eshmith Saideep
swipe ยท arrow keys ยท tap the dots
Be10x ยท Daily Drop ยท Eshmith Saideep