RecipeAgents / Guide
the pillar guideHow 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:
- Trigger node: Gmail, a Form, a Schedule or a Chat Trigger.
- AI Agent node with a chat model attached (OpenAI, Gemini, Anthropic or another provider) and your instructions in the system message.
- 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.
- 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.
- 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.
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.
- "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).
- 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).
- 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.
- 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.
- 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 agent | Agent workflows | Share |
|---|---|---|
| Started on a schedule | 1,276 | 30.0% |
| Started from a chat (n8n chat, Telegram, WhatsApp and similar) | 1,231 | 29.0% |
| Started by a webhook | 834 | 19.6% |
| Started by a form | 555 | 13.1% |
| Calls web pages or APIs (HTTP Request) | 1,926 | 45.3% |
| Structured output parser | 1,638 | 38.6% |
| Google Sheets | 1,462 | 34.4% |
| Chat memory | 1,232 | 29.0% |
| Vector store (searches your documents) | 411 | 9.7% |
| Error Trigger (failure alerts) | 102 | 2.4% |
| Guardrails node | 19 | 0.4% |
| Evaluation node | 17 | 0.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
- Turn a website form lead into a CRM note: A lead fills in your contact form with three rambling sentences.
- Prep brief when a sales call gets booked: Someone books a call with you.
- One specific first line per prospect: You have a list of 50 prospects and their websites.
- Tag why deals were lost: Your CRM's “lost reason” field is a mess of free text.
- Draft a reply to a quote request with Claude: A customer emails “can you quote me 40 sheets of plywood and 6 boxes of screws?” and you open a price list, type the same lines again and do the sums.
Ops
- Invoice PDFs from email into a sheet: Invoices arrive as PDF attachments.
- Alert when a supplier changes a price: Supplier invoices quietly creep up.
- Monday digest of what's due this week: Deadlines live in three apps.
- Remind me 30 days before a contract renews: Software subscriptions auto-renew while you're on holiday.
- Summarize a contract PDF with Claude: A supplier or client sends a 20-page contract and you need to know what you're agreeing to.
- Daily Slack channel digest with Claude: A busy Slack channel moves faster than anyone can read, and the decisions get buried between the chatter.
Support
- Draft support replies from your help docs: A customer emails a question your docs already answer.
- Flag upset customers before they churn: The angry email sits in the queue behind ten easy ones.
- Find the questions your FAQ doesn't answer: Once a week, collect the questions customers asked and list the ones your FAQ doesn't cover yet..
- Draft replies to Google reviews: New Google review in, draft reply out, written in your voice for both the five-star and the two-star..
- Telegram AI agent with memory in n8n: Customers message your Telegram bot with the same questions every day.
Content
- One blog post → one LinkedIn post: You wrote a blog post.
- Show notes from a podcast transcript: An episode is uploaded and the transcript is ready.
- Weekly link roundup from your saved bookmarks: You save interesting links all week.
- Alt text for every image you upload: Your CMS has 200 images with empty alt text.
- YouTube video to blog draft with Gemini: You made the video; the blog post that should go with it never gets written.
Personal admin
- Snap a receipt, get an expense row: Photograph a receipt on your phone and an expense row appears in your sheet, with the category guessed but editable..
- Bill emails into due-date reminders: Utility and phone bills arrive by email with a due date buried somewhere inside.
- Booking emails into one itinerary doc: Flight, hotel and train confirmations arrive in three formats.
- Weekly list of newsletters you never open: Every Sunday, you get a list of senders you got five or more emails from this week and didn't open, with unsubscribe links..
- Voice memo into a to-do list: Ramble into your phone while walking, and get a clean to-do list in your task app..
- Order emails to a Google Sheet with Gemini: Order confirmations pile up in Gmail, and when you need a return date or an order number you're searching again.
Bigger builds
- AI email triage agent
- AI lead research agent
- Meeting notes to tasks
- Invoice extraction
- Customer support agent
- Competitor monitoring
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.