Starbase / 02 RecipeAgents

RecipeAgents / Guide

the pillar guide

How to create an AI agent (no code, 6 steps)

To create an AI agent, connect three things: a trigger that hands it work (an email, a form, a chat message or a schedule), a model with clear instructions and at least one tool it can use, and an action that saves or sends the result. Then test it on 20 real examples and keep a person approving its output until you trust it. You can build one this afternoon in Zapier, Make or n8n without writing code. The six steps below take you from idea to a tested agent, and the section after them shows what 4,247 real, public n8n agent workflows actually contain, so you can see which parts most builders add and which ones they skip.

1. Pick one boring, repeated job

Good first agents have three things in common: the input arrives on its own (an email, a form, a file), the decision is small (which label, which category, which fields), and a mistake is cheap. Sorting invoices fits. Replying to angry customers on your own doesn't, at least not yet. Browse the collections and pick one from Personal admin if you're nervous, because those only touch your own stuff.

2. Write down the input and the output

Before you open any tool, write one real example of what comes in and what should come out. Every recipe here has a sample run, written for illustration, that shows the format. If you can't write the output by hand, the model can't produce it reliably either.

3. Write the prompt like a form, not a chat

Ask for JSON with named fields, give the allowed values ("one of: PRICE, TIMING, COMPETITOR…"), and say what to do when information is missing ("null, never guess"). That last rule prevents most of the bad outputs we describe in the failure-mode sections. In n8n, a Structured Output Parser attached to the agent enforces the format; 38.6% of public agent workflows use one.

4. Build it: trigger → agent → action

In Zapier it's a trigger, an AI step and an action, and each recipe has a blueprint file you follow by hand (Zapier has no import format). In n8n it looks like this:

  1. Trigger node: Gmail, a Form, a Schedule or a Chat Trigger.
  2. AI Agent node with a chat model attached (OpenAI, Gemini, Anthropic or another provider) and your instructions in the system message.
  3. At least one tool. Per n8n's AI Agent docs, you must connect at least one tool sub-node, for example Google Sheets to look something up. Since n8n 1.82.0 every AI Agent node works as a Tools Agent, so older tutorials that pick an "agent type" are out of date.
  4. Optional memory if people chat with it, so it remembers earlier messages in the conversation. Per the Tools Agent docs, memory doesn't persist between sessions.
  5. Action node: append a row, create a Gmail draft or post to Slack.

You can skip the setup and download ready-made files from n8n templates. Our inbox triage walkthrough shows every setting. For a chat agent with all four parts wired up (Telegram trigger, AI Agent, chat model, memory), download the Telegram AI agent with memory: eleven nodes, each explained in our n8n node library.

5. Test on 20 real examples

Put inputs and outputs side by side in a sheet and mark each one right or wrong. Fix the pattern, not the single case: one new line in the prompt per type of mistake. Keep drafts and approvals in place until the error rate is one you'd accept from a new hire.

6. Then let it run, and watch it

Tag every AI-made action so you can review a sample weekly. Add a failure alert: in n8n that's an error workflow that starts with the Error Trigger node, chosen under Error workflow in the agent workflow's settings (n8n error-handling docs). One catch: a failing tool inside the agent doesn't always trigger it, so also check the agent's output (see caveat 4). Watch costs too: each AI step is billed by the model provider and each run by the automation tool. On n8n, a run is one execution however many nodes it has, and self-hosting is free (n8n pricing: is n8n free?); Zapier and Make count steps or credits instead (n8n vs Zapier, n8n vs Make). Filtering inputs before the AI step is the cheapest optimisation there is.

SPONSOR SLOT · AVAILABLEFeature your product here

Five things most "how to create an AI agent" guides skip

The top results for this question are written for developers: Python SDKs, agent loops and API calls. If you're building in a no-code tool, these are the details that cost people an evening. Each one comes from n8n's own docs or a thread on its community forum, so check the links against your version.

  1. "No prompt specified" on a non-chat trigger. The AI Agent node reads its prompt from a Chat Trigger by default. If your trigger is Gmail, a form or a schedule, change the node's Prompt setting from the connected chat trigger to Define below and map the field yourself (n8n common issues).
  2. An agent needs at least one tool, and a chat model. The node errors with "A Chat Model sub-node must be connected" if the model is missing, and the docs say you must connect at least one tool sub-node (AI Agent docs).
  3. A loop limit exists, so set it on purpose. The Tools Agent's Max Iterations option defaults to 10 tries to reach an answer (Tools Agent docs). For a one-step job like labelling an email, lower it, so a confused agent stops sooner and costs less.
  4. A failing tool doesn't fail the workflow. In a community forum thread on this exact problem, users report that when a tool fails the AI Agent node itself doesn't fail, so an error workflow never fires. The workarounds suggested there: have tools return a structured result such as success true or false, check it with an IF node after the agent, and turn on "Never Error" on HTTP Request tools so the agent can read the error and retry. So an Error Trigger alone isn't a complete safety net; also check the agent's result.
  5. Memory forgets between sessions. Simple Memory keeps chat history for the current session only (how memory works). If the agent must remember a customer next week, store what matters in a sheet or database and look it up with a tool.

What 4,247 real AI agent workflows contain

Most guides to creating an AI agent describe the parts in theory. We counted them. In our study of 13,574 public n8n templates (public pages, snapshot 2026-10-20), 4,247 templates (31.3% of all) use n8n's AI Agent node. Here's what those agent workflows include. A workflow can contain several of these, so the shares overlap.

Part of the agentAgent workflowsShare
Started on a schedule1,27630.0%
Started from a chat (n8n chat, Telegram, WhatsApp and similar)1,23129.0%
Started by a webhook83419.6%
Started by a form55513.1%
Calls web pages or APIs (HTTP Request)1,92645.3%
Structured output parser1,63838.6%
Google Sheets1,46234.4%
Chat memory1,23229.0%
Vector store (searches your documents)4119.7%
Error Trigger (failure alerts)1022.4%
Guardrails node190.4%
Evaluation node170.4%

Three things stand out. First, most agents aren't chatbots: 30.0% run on a schedule and only 29.0% start from a chat, so "agent" mostly means a background job that makes a decision. Second, the plumbing is ordinary: web requests and Google Sheets show up far more often than vector stores. Third, almost nobody adds safety nets. Only 102 of 4,247 agent workflows (2.4%) have a failure alert, and 19 (0.4%) use the Guardrails node. If you import a public template, steps 5 and 6 above and the five caveats are the parts you'll most likely have to add yourself.

On models: of the 7,487 public workflows that use any AI node, 58.4% use an OpenAI node and 21.4% use Google Gemini, followed by OpenRouter (7.2%) and Anthropic (6.7%). Popular doesn't mean best for your job: test two models on your 20 examples. Method and limits are on the study page; we're not affiliated with n8n.

Every recipe, by job

Sales

Ops

Support

Content

Personal admin

Bigger builds

Questions

Do I need to code to create an AI agent?
No. Every recipe here uses Zapier, Make or n8n with a prompt. Code helps later, for custom logic and testing, but isn't needed to start.
What does an AI agent need to work?
A model, instructions, and at least one tool it can use to look something up or act, plus a trigger that hands it work. In n8n the AI Agent node won't run without a connected chat model and at least one tool sub-node.
What's the difference between an AI agent and an automation?
An automation follows fixed rules. An agent lets a model decide something along the way, such as which label fits or which tool to call. Most useful agents are automations with one AI decision in the middle.
Can I create an AI agent for free?
Mostly, yes. n8n can be self-hosted. Make's Free plan includes 1,000 credits a month. Zapier's Free plan has 100 tasks a month and two-step Zaps only, and AI by Zapier needs a paid plan, but Zapier Agents has its own free tier of 400 activities a month. Model calls are billed by the AI provider. Checked on zapier.com/pricing and make.com/pricing on 2026-10-22; plans change, so re-check.
Which AI model do most n8n agents use?
OpenAI. In our study, 58.4% of public n8n workflows with an AI node use an OpenAI node, ahead of Google Gemini at 21.4%. That shows what's popular, not what's best for your task.
How long does it take?
Our setup estimates per recipe range from about 15 minutes to 2 hours. Those are estimates, not measurements.
Which tool should I use?
Zapier is quickest for straight-line flows. Make shows branching more clearly and is cheapest at low volume. n8n can be self-hosted, bills one execution per run, and we provide importable n8n files. We priced one agent on all three in n8n vs Zapier vs Make for AI agents.
Newsletter

One small automation every Friday

Each Friday email has one recipe, the prompt for it, and the way it broke when we wrote it up. It's free, and every email has an unsubscribe link.