Zum Inhalt springen

AI automation:
workflow or LLM?

AI automation without the jargon

"We want to automate this with AI" is one of the sentences we hear most often in first calls. This article sorts out the terms, so you pick the right tool for your next project.

Two tools, two ways of thinking.

Often the task behind the wish for AI needs no AI at all, just a clean workflow. Sometimes it is the other way round: a team has spent weeks writing rules for something a language model handles in one step.

[01.1]Automation: rules that always run the same way

Classic automation is deterministic. A trigger starts a fixed sequence, and the same input always produces the same result. Typical triggers are a webhook (a form is submitted), a schedule (every morning at seven) or an event in a system (a new email, a new record).

We usually build these flows with n8n, self-hosted. Examples from our day-to-day work:

  • CRM sync: keeping records aligned between the CRM and the ERP.
  • Lead qualification: a customer form lands in the CRM, and a welcome email and a calendar invite go out with it.
  • Alerts and approvals: messages from monitoring and deployments land in chat, and the approval happens right there.
  • None of this needs a language model: the data is structured, the rules are clear, and that is exactly why these workflows run reliably, cheaply and traceably.

[01.2]LLM: understanding language where rules fall short

A large language model (LLM) such as Mistral, Claude or Gemini works with language. Its strength is where the input is fuzzy: an email every customer phrases differently, a PDF without a fixed layout, minutes someone needs summarised. An LLM can classify, summarise, pull fields out of free text, translate and write drafts.

  • The price: an LLM is not deterministic. The same question can get two slightly different answers, and sometimes the model invents something that sounds plausible and is wrong.

[01.3]Agent: an LLM with tools and boundaries

An agent is an LLM that may trigger steps itself, such as running a search or creating a record. For us an agent is always a small tool with a clear job: what it may do, what it hands on and where a human takes a look. More on that in the AI pillar.

When to use which.

The rule of thumb: if you can write it down as a rule, it belongs in a workflow. If it needs language understanding, an LLM gets that one step.

Question
Workflow (e.g. n8n)
LLM
Is the input structured (form, API, table)?
Workflow (e.g. n8n)Yes, ideal
LLMNot needed
Is the input free text, an email or a PDF without a fixed layout?
Workflow (e.g. n8n)Only with lots of special cases
LLMYes, this is what it is built for
Must the result be exactly the same every time?
Workflow (e.g. n8n)Yes
LLMOnly with a check afterwards
Does it run thousands of times a day?
Workflow (e.g. n8n)Costs next to nothing
LLMWatch the cost per call
Is personal or confidential data involved?
Workflow (e.g. n8n)Stays on your infrastructure
LLMChoose vendor and region deliberately, or go local
Does someone need to trace later why something happened?
Workflow (e.g. n8n)Every step is logged
LLMLog input and output

Best together: the LLM as one step in the workflow.

In practice the question is rarely "either or". The most robust solutions are workflows in which the LLM takes exactly one step and everything else stays deterministic. n8n has LLM nodes for this, and the model is interchangeable. We build these three patterns regularly. Concrete numbers and flows always depend on your systems, so we deliberately keep them general here.

NoPatternContentRole of the LLM
01Invoice import into DATEVA workflow collects invoice emails, OCR and an LLM read the metadata from the PDF, and the workflow files the document in DATEV. The LLM reads, the workflow decides where the invoice goes.Reads
02Ticket routing with LLM triageA support email comes in, an LLM assigns it to a category, and the workflow routes the ticket to the right person. If the model is unsure, the ticket goes to a shared queue for a human.Classifies
03Meeting minutesA workflow fetches the recording, a model transcribes it and pulls out decisions and to-dos, and the workflow distributes the minutes.Summarises

Where it goes wrong.

01-03 / 05
Hallucination
An LLM can invent invoice numbers, amounts or names. That is why the workflow checks the result against rules (format, totals, known suppliers) before anything gets booked or sent.
Cost
Self-hosted workflows cost next to nothing per run. Cloud LLMs bill per token. At large volumes a smaller model or a local setup with Ollama pays off.
Data protection
Every LLM call to a cloud provider sends data outside. Which provider, which region and which contract fit is a deliberate decision you make with your data protection officer.
Reproducibility
A new model or a new version can answer differently. Pin the model version, log input and output, and test with real examples before you switch.
Silent failure
This applies to both worlds: a workflow that quietly stops is more dangerous than one that fails loudly. Every workflow needs monitoring.

Checklist before you start.

Can the task be written down as a rule?
Then build it without an LLM first, as a classic workflow. Structured data and clear rules run reliably, cheaply and traceably that way, and you do not need a language model that is occasionally wrong.
Where exactly is language understanding needed?
Find the one step where free text, an email or a PDF without a fixed layout has to be understood. Only that step goes to the LLM, everything before and after stays deterministic in the workflow.
What happens when the LLM is wrong?
Decide upfront how the workflow checks the result, for example against format, totals or known suppliers. If the model is unsure or the check fails, the case goes to a human for approval.
Which data flows into the model?
That decides the provider: cloud in the EU, cloud with a suitable contract or a local model on your own infrastructure. With personal data you make that choice deliberately, together with your data protection officer.
How often does it run?
That decides cost and model size. Cloud LLMs charge per token, so with thousands of calls a day a smaller model or a local setup often pays off, while the workflow itself costs next to nothing.
Who notices when it fails?
Monitoring belongs in from day one. A workflow that quietly stops is more dangerous than one that fails loudly. Decide who gets the alert and what happens next.

Workflow, LLM or both?

If you want to know what your task needs, we tell you honestly in an intro call. The first 30 minutes are always free.

Frequently asked.

FAQ.01What is the difference between automation and AI automation?

Classic automation is deterministic: the same input always produces the same result. In AI automation an LLM takes over one step that needs language understanding, such as classifying an email or pulling fields from a PDF. The rest of the process remains a workflow that checks, decides and logs.

FAQ.02Does every automation need an LLM?

No. Anything that can be written down as a rule belongs in a workflow, for example CRM sync, lead qualification or approvals in chat. Such processes run more reliably, more cheaply and more traceably without a language model. An LLM only gets the step that needs language understanding, such as a freely worded email or a PDF without a fixed layout.

FAQ.03How do you stop an LLM from passing on wrong values?

The workflow checks the result against rules such as format, totals and known suppliers before anything is booked or sent. If the model is unsure, a human decides, for example via a shared queue for unclear tickets. We also log input and output of every LLM step, so every decision can be traced later.

FAQ.04Can the data stay in-house with AI automation?

Yes. Smaller open models run locally with Ollama on a workstation with a GPU, entirely without the cloud. Many Mistral models are available with open weights under Apache 2.0. If you use cloud models, choose provider, region and contract deliberately, for example Claude via AWS Bedrock or Google Cloud Vertex AI in Europe, together with your data protection officer.

Ollama
FAQ.05What does AI automation cost to run?

The workflow itself costs hardly anything per run when self-hosted. The LLM step can get expensive, because cloud models bill per token. If a process runs thousands of times a day, a smaller model or a local setup with Ollama pays off. That is why we clarify before the start how often the process runs, and choose model size and hosting accordingly.

FAQ.06What happens if a new language model answers differently?

It can happen: a new model version does not necessarily answer the same input in the same way. That is why we pin the model version in the workflow, log input and output and test an update with real examples before switching. Because the model is only an exchangeable step in the n8n workflow, the rest of the process stays untouched.

All set to get to know each other.

Tell us about your vision and we will tell you how to make it real. A free intro call, no sales pressure and an honest assessment of whether it is a match. If not, our network helps.

[K] Contact

Let's get started.

A 30-minute intro call to get to know each other, free and with no sales pressure. Tell us about your vision - we listen and check honestly whether it fits.

* Required field