We counted the nodes in our own agentic AI systems: 7 of 97 touch a model
Agentic AI sounds like the AI does the work. We went through six of our live workflows and counted what every single node actually is. Here is where the work really happens.
Agentic AI is a real thing with a specific meaning: the model does not just answer, it chooses an action and something executes it. The part nobody shows you is the ratio. In our own production systems, the model is a small component surrounded by a lot of ordinary software.
So we counted. Six live workflows, every node classified, sticky notes excluded. 97 functional nodes. Seven of them are a model, an embedding, an agent, or a memory store. The other 90 are HTTP calls, routers, code, database writes and webhook responses.
| Workflow | Functional nodes | AI-related | What the rest is |
|---|---|---|---|
| Website chatbot | 18 | 5 | 7 HTTP tools, 2 code, config, logging, response |
| Phone booking agent | 36 | 0 | 10 HTTP, 7 responses, 4 code, 4 inserts, 3 CRM, 2 routers |
| Knowledge base ingestion | 13 | 2 | forms, file split, metrics, logging |
| Referral and review | 11 | 0 | CRM reads, list add, code, logging |
| Cross-sell | 10 | 0 | webhook, CRM, list add, logging |
| Client reactivation | 9 | 0 | monthly cron, CRM query, filter, bulk import |
| Total | 97 | 7 |
The phone agent line is the one worth staring at. Thirty-six working nodes, zero model nodes, and it is the system clients describe as the most impressive AI they own. The model runs on the voice platform; everything our side does is receive a decision and carry it out.
Part 1. The deciding
THE ONLY PART THAT IS ACTUALLY A MODEL
When people say the agent decided to book an appointment, this is the mechanical event behind it: the model emits the name of a tool and a small blob of JSON arguments. That is the entire act of agency. It does not call anything. It names something and hands over the arguments.
the model emits: { name: "bookAppointment",
arguments: { ... } }
a Switch node routes on name:
"getOpenSlots" -> availability branch
"bookAppointment" -> booking branch
"updateAppointmentReschedule" -> reschedule branch
"updateAppointmentCancel" -> cancel branch
anything else -> clean 200, no actionA plain router dispatches on that string. Every branch after it is deterministic software that would run identically if a human had typed the tool name in. The intelligence is upstream and it is narrow: pick one of five names, fill in some fields.
A quirk worth knowing if you build this: the tool name can be read straight from the webhook payload, but the arguments cannot. n8n's expression sandbox blocks any property access through "arguments", so the payload has to be unpacked in a code node first.
Part 2. The doing
ORDINARY HTTP CALLS, WHICH IS WHERE THE VALUE IS
The booking branch is an HTTP POST to a calendar API. The CRM update is an HTTP POST to a CRM API. The confirmation text is an HTTP POST to a messaging API. Our phone agent workflow contains ten HTTP request nodes and seven webhook response nodes, and that is most of its body.
This is the honest answer to what is under the hood: an agentic system is a normal integration project with a model sitting at the front choosing which integration to fire. The model cannot book anything. The HTTP node books it. Which also means every classic integration problem is still yours, and it is where our real incidents cluster.
Part 3. The knowing
RETRIEVAL, NOT TRAINING
Agents that answer questions about a business are not trained on that business. Documents get chunked, converted to vectors and stored. At question time the system fetches the nearest ten chunks and hands them to the model as text. Our ingestion side is a 13-node workflow, two of which touch an embedding model.
[upload form] -> [split files] -> [data loader] -> [embeddings] -> [vector table]
|
[question] ------------------------------> retrieve top 10 chunks --+
|
pass as text to the modelIt also logs how many documents it ingested per run, because an ingestion that silently half-finished is the kind of thing you want on a dashboard rather than in a support ticket.
Part 4. The part with no AI in it at all
30 FUNCTIONAL NODES, ZERO MODELS
Three of the services clients think of as part of the AI system contain no model whatsoever. Client reactivation is a monthly cron that queries the CRM for contacts untouched past a threshold, filters out the closed-lost ones, and bulk-imports the rest into an email sequence. Cross-sell fires on a CRM field changing, maps the current tier to the next one, and adds the contact to a list. Referral and review fires when a deal closes won and does the same.
Thirty working nodes across the three. Cron triggers, webhooks, conditionals, CRM calls, list adds, logging. They are among the highest-return things we build and there is nothing intelligent in them, unless you count a correctly written filter condition, which honestly you should.
A business that thinks the model is doing the work will spend its money on the wrong dial and judge the system on the wrong thing. A business that knows the model picks a name and plumbing does the rest will ask better questions: what happens when the calendar API is down, who sees the failure, what gets written to the record. Those are the questions that decide whether the thing works in month six.
What actually breaks
Since the model is seven nodes out of 97, it is probably unsurprising that it is rarely the thing that breaks. The sharpest example from our own logs is a voice agent whose platform was configured to post eleven different event types to one webhook: conversation updates, speech updates, status changes, hangs, end-of-call reports, interruptions, and exactly one type that actually carried a tool call.
The workflow's first node assumed every incoming request was a tool call and read it accordingly. Ten out of eleven event types threw immediately. The symptom was a wall of empty failed executions with no recognisable tool call in them, which reads like the agent is broken and is in fact the agent working fine behind a webhook with no front door.
In the workflow: a router on the event type before anything else, with one branch per type you actually handle and a fallback that returns a clean acknowledgement for everything else. Never let an unhandled event reach code that assumes a tool call.
At the platform: trim the event subscription list down to the types you handle. Do both. The router is what makes it safe for someone to widen that list again later without knowing what it breaks.
That is what under the hood really looks like. Not a brain. A dispatcher, a pile of API calls, a vector table, a ledger, and a long list of edge cases somebody had to hit before they knew to handle it.
Count your own stack
The same census we ran on ourselves, as a Claude Skill. Point it at a folder of n8n workflow exports and it reports your real model-to-plumbing ratio plus every error branch that silently swallows failures. Nothing leaves your machine.
automation-stack-census/SKILL.md---
name: automation-stack-census
description: Classify every node in your n8n workflow exports to find the real AI-to-plumbing ratio and surface error branches that silently swallow failures.
version: 1.0.0
license: MIT
---
# Census your own automation stack
Counts what your automation actually consists of, so you can stop guessing
which parts are "the AI" and start seeing where the failure surface is. Run
it against n8n workflow JSON exports.
## When to use
- "How much of our system is actually AI?"
- "Where would this break, and would we know?"
- Before buying a bigger model, or before an audit or handover.
- Inherited a workflow set and need a map fast.
## Inputs
n8n workflow JSON exports (Workflow menu -> Download). Point this at a
directory of them. Nothing leaves your machine.
## Procedure
1. **Load every export.** For each file, read `nodes` and `connections`.
2. **Classify each node** by its `type`. Exclude `stickyNote` from all
counts; those are comments, not nodes. Bucket the rest:
- *Model-touching*: anything whose type contains `lmChat`, `embeddings`,
`langchain.agent`, `memory`, or `vectorStore`.
- *Integration*: `httpRequest`, provider nodes (CRM, email, DB).
- *Control flow*: `switch`, `if`, `merge`, `code`.
- *Entry/exit*: triggers, `webhook`, `respondToWebhook`, `form`.
3. **Report the ratio** per workflow and across the set: functional nodes
total, model-touching count, and the percentage. Expect the model share
to be small. A reference point from a real six-workflow production set:
97 functional nodes, 7 model-touching. Workflows where the model runs on
an external voice platform can legitimately contain zero model nodes.
4. **Find the silent failures.** This is the valuable half:
- For every node with `onError: "continueErrorOutput"`, follow output
index 1 through `connections` and confirm it terminates at something
that logs. An error branch that dead-ends swallows the failure.
- Flag any node calling an external service (HTTP, DB, email, SMS) with
no `onError` at all. On failure it aborts the whole execution.
- Flag any metrics/logging node that sits DOWNSTREAM of a notification
send rather than in parallel with it. A failed confirmation text will
then prevent a successful business outcome from ever being logged.
- Flag reversed wiring: a logger whose output feeds a metrics node is a
source, not a sink, and will never fire.
5. **Write the map**: one table of workflows x node buckets, then a list of
every unlogged failure path with its file and node name.
## Reading the result
- A low model share is normal and healthy. It means the value is in the
integrations, which is where it usually is.
- Workflows with zero model nodes are often the highest-return things you
own: scheduled reactivation sweeps, event-triggered cross-sell, post-close
referral sequences. Do not deprioritize them because they are not "AI".
- Every unlogged failure path is a future support ticket that will arrive
with no diagnostic trail. Fix those before touching the model.
## Pitfalls
- Counting sticky notes. They inflate node counts and mean nothing.
- Trusting the canvas over the connection list. A wire pointing at the wrong
node looks identical to a correct one on screen.
- Treating a 2xx response as success. Several of the worst failures return
200: a write that saved nothing, a booking that landed in the wrong
timezone, a confirmation that said something untrue.
- Assuming an error branch that reaches "the next step" is handled. It has
to reach something that LOGS.
- Adding a success-branch "is it really successful?" gate on an API that
signals failure via HTTP status. That branch is unreachable and reads like
a safety net while catching nothing.
## Verification
- [ ] Sticky notes excluded from every count.
- [ ] Every `onError` node's second output traced end to end.
- [ ] External-service nodes without `onError` listed explicitly.
- [ ] Metric nodes confirmed parallel to, not downstream of, side effects.
- [ ] Output names a file and node for each finding, not just a total.
Save it as automation-stack-census/SKILL.md in your skills directory. Works in Claude Code, Claude Desktop, or any agent that reads SKILL.md files.