The essentials

Start with an internal test chat, a language model and a calculator. A weekend may be enough for that exercise, but it does not produce an unattended business process. Error handling, records and access controls determine what comes next.

A small agent reveals what building it yourself involves

An n8n AI agent starts with a narrow task. For a one-person business, we recommend an internal calculation helper: it reads a short quantity description, uses a calculator and returns a proposal you can check. It places no orders, changes no customer records and sends no messages.

n8n connects individual components, called nodes, into a workflow. The AI Agent selects suitable tools; the language model interprets the request and the tool performs a bounded task. This guide uses fictional quantities. The examples are calculated reference answers, not measured n8n results.

If your task always involves the same numeric fields and formula, use a spreadsheet formula. An agent becomes more interesting when the wording varies. Our guide to rules versus AI in business workflows explains that distinction.

Step 1: Four components are enough for the exercise

The exercise stays inside the test chat. Use an existing n8n environment approved for your work. Without server administration experience, n8n Cloud is the easier starting point; self-hosting leaves setup and maintenance with you. Review the model service too before introducing real business data.

Create a new workflow and connect these components:

  • Add Chat Trigger. Leave “Make Chat Publicly Available” switched off; the documentation says this keeps access within the manual chat interface.
  • Connect AI Agent. Set Prompt to take input from the previous node automatically; it expects a field named chatInput.
  • Attach a supported language model to Chat Model, choose a model inside that node and use an approved connection. Credentials belong in the connection settings, never in a prompt.
  • Attach only Calculator to the Tool connector. It performs mathematical calculations. Do not attach an email, ordering or record-writing tool.
  • Under Options, paste the System Message from step 2. Initially leave Max Iterations at its default of 10 to allow for several calculations and the final response. Submit each case as a complete new request, initially without conversation memory.

Step 2: The prompt asks for facts rather than guesses

The prompt defines the task and output. Copy the following into System Message and submit only complete, fictional requests in the test chat:

“You help internally with quantity calculations. Use only information from the current message. Calculate numbers with Calculator. First list the values and units, then the calculation and result. Round up when whole packs are required. If a quantity or pack size is missing, respond only with: Clarification needed, followed by the missing information. Do not invent prices, stock levels or delivery dates. Do not place orders.”

The System Message and iteration limit guide the workflow, but do not restrict permissions. A politely worded request is not a door lock. Keep unnecessary tools disconnected.

Step 3: Three requests provide clear acceptance criteria

Acceptance means comparing results with fixed reference answers. Start with “37 kits need 6 screws each; a pack contains 20 screws. How many whole packs do we need?” The expected calculation is 37 × 6 = 222 screws, 222 ÷ 20 = 11.1, so 12 packs. That leaves 18 screws over.

The second request is “We need 240 screws, with 20 per pack.” Expect exactly 12 packs with none left over. The third is “37 kits need 6 screws each; how many packs?” Expect a request for the pack size, not a number. We verified this reference arithmetic with Python.

Enable Return Intermediate Steps in the agent. Open the execution and compare the input, actual tool call and answer. Calculator can only evaluate the calculation it receives: a misunderstood unit remains an error. Repeat each case with different wording. Keep the workflow in testing at the first unexplained discrepancy.

Step 4: Three gaps determine readiness for daily use

A working process needs an error path and an owner. One correct example answer covers neither an unavailable model service nor an incorrect permission. Address these three areas before automatic operation:

  • Error handling: Create a separate workflow beginning with Error Trigger, then select it as Error workflow in the main workflow’s settings. An internal alert needs a case identifier and someone responsible. Important: Error Trigger reacts to failures in automatic executions, not manual test runs. Test the alert separately later through a controlled automatic execution.
  • Records: Keep a case identifier, time, model used, result and error reason for troubleshooting. Decide who may read the records and when they are deleted. n8n supports selective saving of execution data; retaining complete inputs indefinitely is not necessary for a useful record.
  • Permissions: Give later integrations access only to the required data and actions. If an agent will send messages or change records, put a technical approval step before that tool. The reviewer must see the destination and content; rejection cancels the action. A prompt saying “ask first” is insufficient.

A weekend has a cost even without an invoice

DIY work mainly costs time. Our illustrative planning allowance is twelve hours: two for the task and reference cases, four for setup, three for failure cases and three for documentation and handover. At an assumed EUR 45 per hour of your time, that is EUR 540. This is a budget calculation, not a delivery promise.

For comparison, an assumed provider quote of 18 hours at EUR 95 comes to EUR 1,710 before VAT. The EUR 1,170 difference buys something worthwhile only if error handling, permission checks, documentation and training are explicitly included. A tidy workflow diagram alone does not cover them.

Ongoing costs are separate. As checked on 5 October 2026, n8n Starter lists EUR 20 per month, billed annually, with 2,500 executions per month. Add an illustrative EUR 10 model budget and two maintenance hours at EUR 45: EUR 120 per month before any applicable VAT. Model spending and maintenance time are assumptions. Every chat message starts an execution, rather than only each completed conversation.

The handover checklist makes both options comparable

The handover checklist defines the result before commissioning. Print these six lines and assign an owner and acceptance date to each. Apply the same checklist when building it yourself:

  • Task: Document the input, expected output and actions that are explicitly excluded.
  • Tests: Define expected behavior for normal cases, missing information, incorrect units and service outages.
  • Error path: An internal alert arrives and a manual fallback has a named owner.
  • Permissions: The model connection and integrated accounts provide only the access needed.
  • Traceability: Document the workflow, settings and deletion rules.
  • Operation: Agree responsibility, a monthly budget and retesting after changes.

Three answers determine your next step

Your decision depends on available support. Build it yourself if you can reserve the twelve planning hours and someone will investigate failures. Commission implementation if a live process spans several systems and that support is missing. What does an AI agent cost? covers the broader cost picture.

  • Can I use n8n for free? The self-hosted Community Edition is available free of charge. That does not automatically pay for infrastructure, maintenance or model usage.
  • Is a weekend enough? It may be enough for this bounded learning exercise. For an unattended process, the completed handover checklist is the standard.
  • What should I do today? Write down the three reference cases and connect the four components. To compare an implementation proposal, bring the completed checklist to a discussion about AI automation.

Sources and status

Sources last checked: 5 October 2026. Vendor statements and our own reading of them are kept apart in the text.

  1. n8n: AI Agent
  2. n8n: Tools Agent
  3. n8n: Calculator
  4. n8n: Chat Trigger
  5. n8n: Error Trigger
  6. n8n: Manage execution data
  7. n8n: Human-in-the-loop for tools
  8. n8n: Choose how to use n8n
  9. n8n: Preise

Corrections: [email protected].

What does this mean for your business?

We go through one concrete workflow with you and check whether AI can help.

Book a free first call →