Agent or fixed workflow?

A typical bad buy is an agent for a task that five fixed steps could handle. An agent is good when the input varies and judgement is needed. A fixed flow is better when you know the steps in advance. Often the answer is both.

Last checked:

Why the question matters

A fixed flow does the same thing every time. It is cheap to run, easy to test and fails in a way you can find. An agent chooses its own steps. That is flexible, but every step is a model call, and the same input can take another route next time.

Both can fail silently. In a salon reminder workflow, 12 of 207 SMS were never sent while every single run showed “success”. The cause was a text with a \ that broke the message. That was a fully fixed flow with no AI. An agent on top would not have found the fault – a check of whether the message was actually sent did.

Six questions

QuestionFixed workflowAI agent
Do you know the steps in advance?yes, the same every timeno, they depend on the case
What does the input look like?fixed fields, forms, webhooksfree text, e-mails, documents
How many times a month?thousands – cost per run countsa few to hundreds – value per case counts
What does a mistake cost?must be explainable step by stepcan be caught by an approval
Must it be auditable?yes, every step is in the flowonly with a log of every tool call
Who maintains it?whoever built the flowwhoever owns instructions and tools
If most answers fall in the left column, build a fixed flow

Our answer: fixed flow first, agent where judgement is needed

Our own operations checks are built as a hybrid. Every hour a fixed check runs that uses no AI tokens when everything is fine. Only when the check finds something does an agent start – capped at 150 steps and one hour. You get the best of both: the boring, frequent part is cheap and predictable, and the unexpected gets something that can think.

We use the same pattern in n8n. Monitoring of our two instances checks every hour, takes a daily backup of all flows kept for 30 days, and looks every day for AI models that are about to be retired. That is fixed code. The AI part only sits where a customer writes free text.

Our pick

Our pick: start with a fixed flow and put the agent in one place

Build the steps you know as an ordinary flow. Find the one place where a person reads and judges today – an e-mail, a complaint, an error message – and let an agent take exactly that step, with few tools and an approval.

In favour

  • Frequent steps cost almost nothing
  • Faults in the fixed steps can be found and tested
  • The agent gets a narrow job and few tools

Watch out for

  • The agent still needs logging and a cap
  • Both parts need upkeep when models and APIs change

What costs in upkeep

Agents and AI flows have a cost fixed flows don’t: models disappear. On 27 October 2026 several older OpenAI models stopped working, and we had to move all 56 workflows on both n8n instances. By 11 November, 111 nodes ran on the new model. Expect that kind of work a couple of times a year.

Agent parts can have their own bugs too. In n8n 1.x the AI Agent node can lose the previous node’s output after a tool call, so $('Node').item no longer points to anything. The fix is $('Node').all(…)[$itemIndex] or .first(). It shows up as a customer without an answer, not as a red run.

And test on real data. In our own product JaKonto every test was green while the reports from e-conomic were wrong: our demo showed a result of +2,555.50, e-conomic itself −7,803.13. Test data hid the bug; a test against a real demo account found it. For an agent that chooses its own routes, that matters even more.

Concrete recipes with a language model inside a flow – inbox triage, invoices into bookkeeping – are collected on ai-automatisering.best-choice.dk. If you want to run n8n yourselves, see n8n-hosting.best-choice.dk.

Questions about agent vs workflow

Can n8n build agents?

Yes. n8n has an AI Agent node where a model chooses between the tools you connect. You can require human approval before specific tools. See the platforms.

Is an agent more expensive than a flow?

Per run, yes, often many times over. A flow costs almost nothing per run, while an agent makes several model calls per task. See the worked example.

What is a good first agent project?

A task with free text in, few possible actions and a person who approves today anyway – for example drafting replies to enquiries.

Can we move from flow to agent later?

Yes, and that is the easy route. A working flow gives you data on where cases actually vary.

Fixed price, no commitment

Get a fixed price for your AI agent

Tell us briefly what you use today and what you want to achieve. A person answers by e-mail with a proposal and a fixed price before any work starts.

  • A fixed price before we start
  • An answer by e-mail, no calls
  • Your details are used only to answer you

Fields marked with * are required.

What is it about?