Skip to content
dvnt.io

Automation and integrations16 min read3068 wordsRedakcja dvnt

AI automation in business — what a model can do instead of a person, and what it shouldn't

AI automation for a Polish business: five tasks a model can do instead of a person, three it shouldn't, human review and what the tokens cost in PLN.

AI automation means handing a language model one repetitive step that used to need a person to read or write text: routing an email to the right team, copying data out of a document, drafting a reply. It pays off where the input is text or a document and the result can be checked faster than the whole job could be done from scratch. It does not pay off where a mistake cannot be undone and nobody will notice it in time.

If you keep hearing that "AI can automate everything", here is the concrete version: five patterns that work, three situations where a model should not be left on its own, how to set up human review, what the model calls cost according to the price lists of 28 October 2026, and which tools to build with. For the wider picture, from assistants to regulation, see our guide to AI in business.

AI automation, ordinary automation and agents — three levels

Before you ask what to automate with AI, decide which of the three levels of automation you need, because each one costs more than the last and is less predictable.

Level one: a rule. "If the form has 'invoice' ticked, send it to accounts." The program does exactly what it was told, the same way every time, and you pay no model provider for each run. Most of what companies call automation — notifications, moving data between systems, reminders — runs on rules and needs no AI. We collected examples from different departments in our article on business process automation.

Level two: a model in one step. The path is still written in advance, but at one point a rule is not enough, because a person wrote the input: an email from a customer, a scanned contract, meeting notes. That is where a language model works — it reads and returns a result in a fixed format, and after that rules take over again. In its guide "Building effective agents" of 19 December 2024, Anthropic calls such systems workflows, in which models and tools are "orchestrated through predefined code paths". That is what this article means by AI automation. What the model itself is and where its limits come from is explained in our article on large language models (LLMs).

Level three: an agent. The model decides for itself what to do next and which tool to use — the same guide describes agents as systems where models "dynamically direct their own processes and tool usage". An agent makes sense for tasks whose steps cannot be written down in advance. When it pays off is covered in our article on the AI agent, and how to build one in our guide to building an AI agent.

Both large providers give the same advice: start at the simplest level. Anthropic recommends "finding the simplest solution possible, and only increasing complexity when needed". OpenAI, in its practical guide to building agents from 2025, asks you to check before choosing an agent whether the task really involves complex decisions, rules that are hard to maintain or work on unstructured data: "Otherwise, a deterministic solution may suffice."

We take the same approach with our own tools. When we connected the company mailbox to our CRM, matching a message to a company, filtering out automatically sent mail and pulling a first draft of contact details out of the email signature could all be described with rules — so rules do it, and signature data reaches the CRM only after a person approves it. A model would have been more expensive there and less predictable. In the AI projects we implement for clients, the model gets exactly the step where a rule stops being enough because someone has to understand text written by a person.

Comparison in three columns and five rows, without numbers. Columns: rule, model in one step (AI automation), agent. Row one, who picks the next step: rule — path written in advance; model in one step — path written in advance, the model performs one step; agent — the model picks the steps and tools itself. Row two, input: rule — data in a fixed format, such as a form field; model in one step — text written by people, such as an email, a contract, notes; agent — a task described in words. Row three, predictability: rule — the same result every time; model in one step — result in a fixed format, content to be checked; agent — the run may differ every time. Row four, cost per run: rule — no model fee; model in one step — one model call; agent — many calls in a loop. Row five, example: rule — a form with "invoice" ticked goes to accounts; model in one step — a customer email assigned to the category complaint; agent — handling a request from reading it to checking the order in the system. Arrow underneath: start on the left and move right only when the previous level is not enough.
Rule, model in one step, agent — three levels of automationSource: dvnt analysis based on: Anthropic, "Building effective agents", 19.12.2024; OpenAI, "A practical guide to building agents", 2025; read 28.10.2026

Five AI automation patterns that work in a small business

AI automation works best in five repetitive tasks on text: classification, data extraction, drafting replies, summarising, and translation and proofreading. What they have in common is that the result can be compared with the input, so a person checks it faster than they could do the task themselves.

1. Classification — "who does this go to?" The model reads a message and assigns it to one of the categories you define: order, complaint, invoice, sales enquiry, spam, "other". Anthropic calls this pattern routing and gives exactly this example: directing different types of customer service queries — general questions, refund requests, technical support — into separate downstream processes. The most important category is "other": a model with nowhere to put a message that does not fit will squeeze it into the nearest one.

2. Extraction — "put this into a table". From an invoice, an order sent by email, a CV or minutes of a meeting, the model pulls out fields: number, date, amount, counterparty, list of items. The Gemini API documentation on structured outputs (updated 21 October 2026) names the first two patterns directly — data extraction from text and classification into predefined categories — and lets you force an answer that follows a JSON schema. The same page warns that syntactically correct JSON does not guarantee correct values: "always validate values in your application."

3. Draft replies. The model prepares an answer to a common question based on your material — price list, terms and conditions, earlier replies — and a person edits and sends it. The saving comes from the fact that editing takes less time than writing. If the model is to answer from company documents, you need a mechanism that feeds it the right passages; we describe it in our article on RAG. What this looks like in an online shop is covered in our article on ecommerce customer service.

4. Summaries. A long email thread, a meeting transcript, a report or a batch of customer reviews turned into a few sentences and a list of decisions. A summary is safest when it goes to someone who already knows the subject, and riskiest when it replaces reading a document on which someone will base a decision — the model may leave out a caveat or add something that was never in the text. Why this happens is explained in our article on AI hallucinations.

5. Translation and proofreading. Product descriptions in another language, a consistent style across proposals, fixing typos. Here human review is cheapest, because an error shows up on an ordinary read. How to write product descriptions that also work for search engines is shown in our article on product description SEO.

The quality of each pattern depends largely on the instructions: clear categories, a few examples, a description of the output format. How to write them is covered in our article on prompt engineering.

Matrix with five rows and four columns, without numbers. Columns: input, output, how to check, what can go wrong. Row one, classification: input — email, ticket, form; output — one category from a closed list, including "other"; how to check — "other" always goes to a person, random sample of the rest; what can go wrong — a message squeezed into the wrong category. Row two, data extraction: input — invoice, order, CV, minutes; output — fields according to a schema; how to check — rules in code, such as the NIP checksum and matching amounts; what can go wrong — a correct format with a wrong value. Row three, draft reply: input — a customer question and passages from company material; output — a draft to edit; how to check — a person approves before sending; what can go wrong — a promise the company does not make. Row four, summary: input — thread, transcript, report; output — a few sentences and a list of decisions; how to check — read by someone who knows the subject; what can go wrong — a missing caveat or an added fact. Row five, translation and proofreading: input — description, proposal, email; output — text in another language or corrected; how to check — reading before publication; what can go wrong — a sentence whose meaning has changed.
Five AI automation patterns — input, output, check, riskSource: dvnt analysis based on: Anthropic, "Building effective agents", 19.12.2024; Google, Gemini API "Structured outputs", updated 21.10.2026; read 28.10.2026

What not to automate with a model — three situations

Do not leave a model on its own where an error cannot be undone, where a conversation with a customer has no way out to a person, and where the automation decides about a person. In these three places the model can prepare the material, but the last step belongs to a human.

Irreversible and high-stakes actions. OpenAI's guide says that actions that are "sensitive, irreversible, or have high stakes should trigger human oversight until confidence in the agent's reliability grows", and gives examples: cancelling customer orders, authorising large refunds, making payments. Add to that list a mailing to your whole customer base, changing prices in your shop and deleting data. A model can prepare a bank transfer or a credit note, but the "approve" button stays with a person.

A customer conversation with no handover to a person. A chat or an automatic email reply that cannot say "I'm passing you to a colleague" will sooner or later promise something the company does not offer. OpenAI lists exceeding failure thresholds as the first trigger for escalation, for example when the system "fails to understand customer intent after multiple attempts". On top of that comes the disclosure duty under the AI Act, described below.

Decisions about people and special categories of data. Rejecting a job applicant, refusing a service or assessing an employee entirely by machine falls under Article 22 of the GDPR (RODO): "The data subject shall have the right not to be subject to a decision based solely on automated processing, including profiling, which produces legal effects concerning him or her or similarly significantly affects him or her." Take separate care with data under Article 9 of the GDPR — including data concerning health, political opinions, trade union membership and biometric data used to uniquely identify a person — whose processing is prohibited in principle, with narrow exceptions. Before you send such documents to an external API, find out where they will go and who will have access to them; in some cases it makes more sense to run the model on your own server.

Human in the loop — how to set it up without checking everything

Human in the loop is a planned point at which the model's output waits for a person's approval; set up well, it covers only the cases that need it, not every result. If you check everything, the automation saves nothing. If you check nothing, the first serious error will be seen by a customer.

Set up four elements:

  1. Output in a rigid format, and rules that check it. The model returns a category from a closed list or fields according to a schema, and code checks whether the NIP (the Polish tax identification number) has a valid checksum, whether the gross amount matches the net amount and the VAT rate, and whether the date falls within a sensible range. Any result that fails a rule goes to a person. Google's Gemini API documentation recommends exactly this: "robust error handling for schema-compliant but semantically incorrect outputs".
  2. An "I don't know" route. The "other" category in classification, an empty field instead of a guess in extraction. Everything that lands there is looked at by a person. Do not base the threshold on how confident the model sounds in its answer — stated confidence is also text generated by the model.
  3. A gate before action. Anything irreversible or anything that leaves the company — a message to a customer, a payment, a change in the accounts — waits for approval. The tools have this built in: in n8n you can require human review before selected tools are used, and the documentation lists "Deleting data, sending external communications, or making purchases" as typical cases. Microsoft's Power Automate documentation shows an approval step for text generated by a prompt, in which the reviewer can edit it before it is used further.
  4. A random sample of what went through automatically. From time to time someone reviews randomly selected results that nobody approved. Errors found in the sample are fixed in the instructions or the category list, not in the individual result.

Check more at the start and less later. The n8n documentation says it plainly: "Start with human review enabled, then reduce oversight as confidence grows." OpenAI adds that human intervention is "especially important early in deployment", because it helps identify failures and uncover edge cases.

Flow diagram without numbers. Step one: input, such as an email or a document. Step two: the model returns a result in a fixed format — a category from a closed list or fields according to a schema. Step three: rules in code check the result, such as the NIP checksum, matching amounts and a date range; a result that breaks a rule goes to a person. Step four: is the result "other" or an empty field? Yes — to a person. Step five, the gate: is the next action irreversible or does it leave the company, such as a message to a customer, a payment, a change in the accounts? Yes — a person approves or corrects. No — automatic execution. Feedback loop: a random sample of automatically executed results goes to review, and the errors found improve the instructions and the category list. Note: at the start more cases go to a person, fewer later as confidence grows.
Human in the loop — where the model's output waits for a personSource: dvnt analysis based on: OpenAI, "A practical guide to building agents", 2025; Google, Gemini API "Structured outputs", 21.10.2026; n8n, "Human-in-the-loop for tools"; Microsoft Learn, "Use your prompt in Power Automate", 14.01.2026; read 28.10.2026

What AI automation costs — tokens for three patterns

A single model call in an automation costs from a fraction of a grosz to about PLN 0.05; the bill grows with the number of documents and with the choice of model, not with the fact of automating. Providers charge for tokens, that is, chunks of text, separately for the text sent to the model (input) and the text the model returns (output), in US dollars per million tokens.

We calculated three patterns at three price levels. The assumptions are ours: classifying an email — 1,000 input tokens (instructions and the message) and 50 output tokens; extracting data from a document — 3,000 and 300; drafting a reply with passages from your terms and conditions — 4,000 and 500. Standard prices from the price lists as read on 28 October 2026:

  • cheapest models: Claude Haiku 5.5 — $0.10 per million input tokens and $0.50 per million output tokens (Anthropic pricing, rate for prompts up to 100,000 tokens); gpt-6-luna costs the same (OpenAI pricing, short-context rate);
  • middle: Gemini 3.8 Flash — $0.75 and $3.75 (Gemini API pricing, updated 27 October 2026); from 1 January 2027 Google doubles these rates to $1.50 and $7.50;
  • upper tier: Claude Sonnet 5.5 — $2 and $10; gpt-6.1-sol costs the same.

Converted at the average rate of the National Bank of Poland (NBP) of 28 October 2026 (USD 1 = PLN 3.9624), a thousand classifications cost about PLN 0.50 on the cheapest model, PLN 3.71 on Gemini 3.8 Flash and PLN 9.91 on Sonnet 5.5. A thousand extractions — PLN 1.78, PLN 13.37 and PLN 35.66. A thousand draft replies — PLN 2.58, PLN 19.32 and PLN 51.51. This is our own calculation, excluding VAT and the cost of the tool the automation runs in.

Three things follow from it. First, the same pattern costs twenty times as much on Sonnet 5.5 as on Haiku 5.5, so match the model to the task: try classification and simple field extraction on the cheapest one first, and use a more expensive one where the cheaper one clearly gets your data wrong. Second, tasks that do not have to run immediately are cheaper: Anthropic advertises a 50% saving with batch processing, and the OpenAI and Google price lists give batch rates at half the standard ones. Processing a whole day's invoices overnight does not have to happen in a second. Third, instructions repeated in every call can be kept in the provider's cache (prompt caching): on Sonnet 5.5 a cache read costs $0.10 per million tokens instead of $2.

Your numbers will differ, because they depend on the length of your documents and instructions. With every response, the API reports how many tokens the call used — run a few dozen real documents through it and multiply the result by your monthly volume. That also gives you the figure you need if you ever consider running a model on your own server.

Grouped bars, Polish zloty per 1,000 operations, standard prices, NBP rate PLN 3.9624 per USD 1 of 28.10.2026. Group one, email classification (1,000 input tokens, 50 output): Claude Haiku 5.5 or gpt-6-luna PLN 0.50; Gemini 3.8 Flash PLN 3.71; Claude Sonnet 5.5 or gpt-6.1-sol PLN 9.91. Group two, data extraction from a document (3,000 input, 300 output): PLN 1.78; PLN 13.37; PLN 35.66. Group three, draft reply (4,000 input, 500 output): PLN 2.58; PLN 19.32; PLN 51.51. Rates per million input and output tokens: Haiku 5.5 and gpt-6-luna $0.10 and $0.50; Gemini 3.8 Flash $0.75 and $3.75 until 31.12.2026, $1.50 and $7.50 from 1.01.2027; Sonnet 5.5 and gpt-6.1-sol $2 and $10. Note: batch mode costs half; excluding VAT and the cost of the tool.
What 1,000 operations cost — three patterns, three model tiersSource: dvnt calculation based on the price lists of Anthropic (claude.com/pricing), OpenAI (developers.openai.com/api/docs/pricing) and Google Gemini API (updated 27.10.2026); NBP average rate, table 210/A/NBP/2026; read 28.10.2026

How to build AI automation: n8n, your own code or your office suite

You have three routes: an automation platform with ready-made AI blocks, your own code calling a model's API, or the automation features in Google Workspace and Microsoft 365. The choice depends on where the data lives and who will maintain the automation, not on which model is "the best".

An automation platform, such as n8n or Make. The process is built from blocks on a canvas, and the model step is one of them. n8n has ready-made blocks for the patterns in this article: Text Classifier for classifying into the categories you give it, Information Extractor for pulling out structured data and Summarization Chain for summaries. It is the fastest route when a process connects several systems — mailbox, CRM, spreadsheet, accounting. How n8n differs from Make and Zapier and how to get it running is covered in our article on n8n.

Your own code and an API. When the automation is part of your application — a shop, an order system, a customer portal — the model call goes into the code. That gives you full control over validation, logs and costs, but it needs a developer to maintain it.

Features in your office suite. Google describes Workspace Studio as a way to "automate everyday work, from simple tasks to complex processes—no coding required", generally available with all Business and Enterprise Workspace plans and managed from apps such as Gmail, Chat and Drive. Microsoft lets you add a prompt as a step in a Power Automate flow (the "Run a prompt" action). This is a good route when the process does not leave the suite. How the assistants themselves differ is compared in our article on ChatGPT, Copilot and Gemini for business.

Whichever route you take, check two things: on what terms the data reaches the model provider, and who in your company or at your contractor will look after the automation when the provider changes the model or the price list — as Google is changing the Gemini 3.8 Flash rates from January 2027.

AI automation and the law — the AI Act and the GDPR in brief

Most AI automations in a small business are affected by two pieces of law: Article 50 of the AI Act and the GDPR. Since 2 August 2026, the provider of an AI system intended to interact directly with people must ensure that they are informed they are interacting with an AI system, unless this is obvious from the circumstances (Article 50(1)). A company that publishes AI-generated text with the purpose of informing the public on matters of public interest must disclose it, unless the text has undergone human review or editorial control and someone holds editorial responsibility for the publication (Article 50(4)). Classifying emails internally or copying invoices into your system falls under neither case. The GDPR works as it does with any other tool: customer data sent to a model is processing of personal data, and decisions about people made solely by automated means are subject to Article 22. Roles, deadlines and fines are covered in our article on the EU AI Act; this is a description of the rules, not legal advice.

Where to start with AI automation in your business

Start with one process in which someone reads and retypes text every day, and test it on real data before you switch anything on.

  1. Choose the process: many similar messages or documents, a clear input, a result that can be checked. Typically: the general company inbox, supplier invoices, enquiries from the website.
  2. Write down the categories or fields and what should happen with each result. If you cannot explain it to a new employee, the model will not do it well either.
  3. Test on your archive. Run a few dozen old cases through the model, compare the output with what a person did, and count the tokens.
  4. Launch with full review, then narrow it down — gates, the "I don't know" route and the sample, as in the section on human in the loop.
  5. Name an owner for the automation: the person who fixes the instructions when a new type of document appears or the model changes.

If you would like to do this with a partner, see how we run AI implementation and process automation projects.

Frequently asked questions about AI automation

What can AI automate in a small business?

Repetitive tasks on text whose result can be checked work best: classifying messages (who an email goes to), extracting data from documents (invoices, orders, CVs), drafting replies to common questions, summarising threads and meetings, and translation and proofreading. Where an ordinary rule is enough — notifications, moving data between systems — you do not need a model.

How does AI automation differ from an AI agent?

In AI automation the path is written in advance and the model performs one step in it, for example assigning an email to a category. An agent decides for itself what to do next and which tool to use. Anthropic and OpenAI both advise starting with the simplest solution and moving to an agent only when the simpler one is not enough.

How much does classifying one email cost?

With our assumption of 1,000 input tokens and 50 output tokens, a thousand classifications cost about PLN 0.50 on Claude Haiku 5.5 or gpt-6-luna, PLN 3.71 on Gemini 3.8 Flash and PLN 9.91 on Claude Sonnet 5.5 or gpt-6.1-sol (price lists and NBP rate of 28 October 2026, our own calculation, excluding VAT). A single email therefore costs from a fraction of a grosz to about one grosz (PLN 0.01). Batch mode halves the rates.

Can AI answer customers on its own?

It can prepare drafts, but a conversation with no way of passing the matter to a person will sooner or later end in a promise the company does not make. OpenAI recommends escalating to a person when the system repeatedly fails to understand the customer, and human oversight of irreversible actions such as refunds or cancelling orders. Since 2 August 2026 an AI system that talks to people must also make clear that it is an AI (Article 50(1) of the AI Act).

Does AI automation need a developer?

Not always. You can build simple flows in n8n or Make from ready-made blocks (n8n has Text Classifier and Information Extractor, among others), or in Google Workspace Studio and Power Automate if the process stays inside your office suite. You need a developer when the automation is to be part of your own application — a shop or an order system — and when you want full control over validation and costs.

Do I have to label AI-generated content?

Not always. Article 50(4) of the AI Act requires disclosure when you publish AI-generated text with the purpose of informing the public on matters of public interest, unless the text has undergone human review or editorial control and someone holds editorial responsibility for it. Classifying emails internally or copying invoices does not trigger that obligation. Details and deadlines are in our article on the EU AI Act.

Related articles