DEV Community

druve
druve

Posted on Fully Autonomous

I read the system prompts of the most-viewed n8n AI agents. Most never say what to do when they don't know.

The system prompt is usually the most valuable part of an n8n AI workflow.
The nodes around it are plumbing; the prompt is the part somebody actually
thought about. So I pulled the 200 most-viewed free AI templates from n8n's
public templates API and read the prompts.

What's in the set. 200 templates, 164 AI Agent nodes. 116 of those
agents have a system prompt
, spread across 93 templates. Everything below
is about those 116.

How long they are

Median about 990 characters, roughly 160 words. The middle half runs
from 347 to 1,805 characters. The shortest is 19 characters; the longest is
8,270.

So the typical prompt is a few short paragraphs, not a page.

How they start

53% begin with the words "You are." 80% contain them somewhere. Only 22%
use markdown headings to structure the prompt, and only 6% lean on all-caps
words like IMPORTANT or MUST.

Which models they're wired to

Of the 162 templates with a chat model node:

Provider Templates
OpenAI 71%
Google Gemini 19%
OpenRouter 5%
Anthropic 4%
Ollama (local) 3%

(Some templates use more than one, so this adds to more than 100.)

Finding 1: almost none say what to do when they don't know

This is the one that surprised me. I searched every prompt for any
instruction about the case where the agent can't find the answer: "if you
don't know," "if the information isn't available," "say so," "don't make
anything up," "only answer from the context," and similar phrasings.

22 of 116 (about 19%) have anything like it. It's a keyword search, so
treat it as approximate, but even generously that's fewer than one in four.

That matters most for RAG chatbots and support bots. An agent with a
knowledge base and no fallback rule will fill the gap with something
plausible, and the customer can't tell the difference.

The fix is one or two lines:

If the answer is not in the documents you retrieved, say you don't know
and offer to pass the question to a person. Never guess prices, dates or
policy.
Enter fullscreen mode Exit fullscreen mode

Finding 2: some agents have tools they're never told about

87 of the 116 agents have tools wired in (search, vector stores, HTTP
requests, calculators). 16 of those 87 prompts never mention their tools
at all
, by name or as tools.

The model does see each tool's name and description, so it isn't blind. But
the prompt is the only place you can say when to use which tool and in
what order, and those 16 leave it entirely to the model.

Finding 3: calendar agents that don't know today's date

20 agents deal with calendars, bookings or availability. 8 of them never
give the model the current date
, in either the system prompt or the user
message. Some may get it from a tool call. Any that don't are booking "next
Tuesday" without knowing what today is.

In n8n it's one expression:

Today is {{ $now.toFormat('cccc, d LLLL yyyy') }}.
Enter fullscreen mode Exit fullscreen mode

Finding 4: rules are mostly prohibitions

46% of prompts contain "never," "do not" or "don't." Only about a third
mention an example at all. A single example of the output you want often
does more than a list of things to avoid.

A five-line checklist

Pulled together from what the more careful prompts in the set do:

  1. Role and audience. Who the agent is, and who it's talking to.
  2. Tools and when. Which tool for which question, and in what order.
  3. The fallback. What to do when the answer isn't there.
  4. Time. Today's date, injected, if anything is time-sensitive.
  5. One example. A real good answer, in the exact format you want back.

Most of the 116 have the first. Far fewer cover the fallback (about 19%)
or the date (about 25%).

Method and disclosure

Data: n8n's public templates API, the 200 most-viewed free templates in its
AI category, pulled 2026-11-11. Counts of phrases are regex searches over the
prompt text and are approximate; counts of nodes, tools and models come
straight from the workflow JSON.

I work on Druve, a marketplace for AI agents. We pulled
these while testing a tool that turns n8n agents into standalone ones, which
is why I was reading prompts in bulk in the first place.

Top comments (0)