Meta Pixel Saltar al contenido
Artificial intelligence

How to build an AI agent without coding: step by step with n8n

Building an AI agent without coding is no longer a marketing promise: with n8n you assemble one in an afternoon with visual nodes, a language model and your company's documents. The hard part is not the tool but deciding which task it solves, with what information and how to know it works. This guide walks through the six steps we use in our projects, in the order that avoids rework.

Geedle Team Published 6 min read

Pantalla de n8n con un flujo de agente de IA: disparador de WhatsApp, nodo de agente, modelo, memoria y herramientas conectadas
In this article
  1. What is a no-code AI agent?
  2. Step 1: Which task does it solve, and for whom?
  3. Step 2: Which documents does the agent need (RAG)?
  4. Step 3: Where does the conversation come in?
  5. Step 4: How is the agent assembled in n8n?
  6. Step 5: How do you know it works before publishing?
  7. Step 6: How do you publish and measure it?
  8. Want to bring this to your team?

What is a no-code AI agent?

It is an automated flow that receives a question or an event, queries a language model with your documents and memory, decides which tool to use and replies or acts, all built with visual nodes instead of code. In n8n that flow is drawn by dragging blocks: a trigger, an agent node, a model, a memory and the tools you allow it to use. The automation that used to require a developer is now configured by someone in operations, HR or sales who understands the process well. To see how it differs from a button-based bot, read AI agents vs chatbots.

Step 1: Which task does it solve, and for whom?

A useful agent solves one concrete task for one concrete user; "handle everything in the company" is the recipe for nobody using it. Write in one line who asks, what they ask and what should happen next. Examples that work well as a first agent:

  • Employees asking about vacation, benefits and internal policies (the typical case for an HR chatbot).
  • Salespeople who need spec sheets, list prices and delivery terms without digging through ten folders.
  • Customers who want an order status or to open a ticket after hours.
  • Course participants reviewing questions after the session, as Geedle Bot does.

Also write down what the agent must not do: approve discounts, promise dates, give opinions on legal matters. Those limits go straight into the system prompt.

Step 2: Which documents does the agent need (RAG)?

The agent answers well only if it has the right documents at hand: gather manuals, policies, price lists and FAQs in one folder, clean them and load them into a vector store so the model can retrieve them by similarity. That technique is called RAG (retrieval-augmented generation) and it is what keeps the model from making things up. Three practical rules:

  1. Fewer, more current documents: one valid manual is worth more than five old versions.
  2. One document per topic, with clear headings: the retriever works better with well-delimited chunks.
  3. Remove what must not leak: personal data, per-customer net prices, drafts.

In n8n, the loading flow is one node that reads the files, one that splits them into chunks, one that generates embeddings and one that stores them in the vector store. It runs once and runs again whenever the documents change.

Step 3: Where does the conversation come in?

The trigger defines where the agent lives, and it pays to pick the channel the user is already on instead of asking them to open another app.

TriggerWhen it fitsWhat you need
WhatsAppCustomers, field sales, operational staffA WhatsApp Business number and its API
Microsoft TeamsAdministrative teams living in Microsoft 365Permissions on the company tenant
EmailFormal requests, tickets, quotesA dedicated mailbox and filtering rules
Web formLeads, surveys, request intakeAn n8n form or one on your site

You can start with one and add the others later: the same agent connects to several triggers without duplicating the logic.

Step 4: How is the agent assembled in n8n?

The heart of the flow is an agent node with three pieces connected to it: a language model, a memory and the tools it may use. The model generates the answers; the memory keeps each user's latest messages so the conversation has a thread; the tools are concrete actions, such as searching the vector store, querying the CRM, creating a ticket or sending an email. The system prompt describes the agent's role, its tone, the limits from step 1 and the instruction to say "I don't know" when the documents do not cover the question. This full build, with templates, is what gets practiced in the AI agents course.

Step 5: How do you know it works before publishing?

Test the agent with twenty real questions, taken from emails, chats or tickets from recent months, and grade each answer as correct, incomplete or wrong. Twenty is enough to see patterns: if it fails on prices, the price document is badly chunked; if it invents, the abstain instruction is missing; if it answers at length, the tone needs adjusting. Repeat until at least eighteen out of twenty come out right. Include trick questions (out of scope, with sensitive data, badly typed) to see how it reacts.

Step 6: How do you publish and measure it?

Publish the agent to a pilot group of five to ten users, log every conversation and review two indicators each week: the percentage of questions resolved without human intervention and the new questions that were not in the documents. With that you adjust the documents and the prompt in short cycles. When the pilot stabilizes, you open the channel to the rest of the company. If you would rather build it with us, documents, triggers and measurement included, see our AI agents for business service.

Want to bring this to your team?

We build your company's first agent on n8n with you, with your documents and your channel, and leave your team able to maintain it. Message us on WhatsApp, fill out the contact form or open this site's live chat: we send a proposal with three scope options and a closed price in under 24 business hours, with the DC-3 certificate and Geedle Bot included. The full program is at the AI agents course and the catalog at training courses for companies.

Share this article LinkedIn X Facebook WhatsApp
FAQ

Frequently asked questions

Keep reading

Professional con diadema conversando con un agente de voz con IA en su laptop; tarjetas: agente de voz con IA, escucha piensa responde, capacitación
Artificial intelligence

AI voice agents for training: what they are, how they work and how they differ from a call center

Almost everything written about AI voice agents is about phone calls: answering the line, booking appointments, collecting payments. It is the most visible use, but not the only one and not the most valuable for a training team. A voice agent can also teach an English lesson, run an audit interview or play a difficult customer, with a face that lip-syncs in real time. This guide explains what a voice agent is, how it works inside and what changes when you use it to teach instead of to serve.

Capacitadora y dos colaboradores frente a una pantalla donde habla un avatar con IA; tarjetas: avatar con IA, voz y rostro en tiempo real, práctica guiada
Artificial intelligence

AI avatars for team training: how they work, what they cost and when they are worth it

AI avatars stopped being a pre-recorded video with a synthetic voice: today they converse in real time, with lips, gestures and gaze synchronized to what they say. Business schools and multinationals already use them to teach and to rehearse difficult conversations. This guide explains how conversational avatars work, in which training cases they add something voice alone does not, and how to decide whether your company needs one.

Joven profesional practicando inglés en voz alta con un profesor virtual con avatar en su laptop; tarjetas: profesor de inglés con IA, nivel MCER, corrección al instante
Artificial intelligence

How to practice English with AI by speaking: a virtual teacher and your CEFR level in two minutes

Most people do not lack grammar: theand theck conversation time with someone patient. Practicing English with AI solves exactly that, as long as the practice is spoken and not a text chat. This guide explains how to get the most out of a virtual English teacher with voice and avatar, what it can and cannot assess in two minutes, how it compares with apps and how to use it to place a whole team before hiring a program.

Shall we start with a free assessment?

We review your case and tell you exactly what to improve. We reply the same day — no cost, no commitment.

Enter the VIP Zone

Geedle clients only. No passwords: we send a code to your email.

or

Not a client yet? Request your free diagnosis · Privacy notice

Choose your assessment

Answer 8 questions in 3 minutes and get your result with recommendations from a consultant.