perfectdesign.

Search visibility · Guide hub

AI assistants, automation and business data explained

An AI assistant is not one thing but a stack of parts that can be designed and checked separately: the business data it may read, the instructions and context it is given, the model or the plain rules that process them, any retrieval that fetches supporting material, any tool that acts on another system, and the approval and monitoring around both. A language model produces the most likely next piece of text from patterns it has learned, which means it can be fluent, specific and wrong at the same time, and nothing in the way it phrases an answer tells you which it is. That is why anything customer-facing needs a human path: a way for a person to take over, and a rule that an action with real consequences is not taken without approval. This page explains the parts in the order they have to be decided.

For
Business owners, operations leads and marketing leads deciding how one bounded task should use rules, generated output, retrieval and human approval.
Reading time
9 min
Last reviewed
On this page

A business AI system is a stack of separate parts

Read a working assistant as a stack, because each layer has its own owner, its own failure and its own test.

  • Business data and permissions: which sources the system may read, on whose behalf, and what it must never see.
  • Instructions and context: the standing instructions, plus whatever is placed in front of the model for this particular request.
  • Model or rules: either a language model producing text, or explicit conditions producing a predictable outcome.
  • Retrieval: fetching material from a permitted source so an answer can rest on something specific.
  • Tools: requests that ask another system to do something, which is where real consequences begin.
  • Validation and human approval: the checks before an output is shown or an action is taken.
  • Monitoring and evidence: what is recorded, so a wrong answer can be found, explained and corrected.

Separating the layers matters because they fail differently. A wrong answer caused by an out-of-date document is a retrieval problem. A wrong answer the model invented is a grounding and review problem. A message that should never have been sent is an authorisation problem. One label for all three, usually that the AI got it wrong, hides which part actually needs fixing.

The separate parts behind one answer. Each layer is replaceable and testable on its own, which is what makes the result inspectable. A full text version follows.

The separate parts behind one answer

Editorial framework. Each layer is replaceable and testable on its own, which is what makes the result inspectable.

Basis: IBM: Retrieval-augmented generation. Reviewed .

Read the graphic as text
  • Question. What the person actually asked
  • Retrieval. Your data, fetched and grounded
  • Model. Language, not judgement
  • Check. Rules and permissions before anything happens
  • Action or answer. With a human path when it matters
Download this infographic (SVG)

How a chatbot, workflow automation and an agent differ

IBM describes a chatbot as "a software application that communicates with people through text or voice", and is clear that the labels overlap: rule-based chatbots "follow predefined rules, decision trees and scripted conversation flows", AI chatbots use language models to interpret intent, and the term virtual agent is used both interchangeably with chatbot and for more advanced systems that reach business applications and complete tasks. Take the labels as approximate and look at the behaviour instead.

Anthropic's engineering write-up draws the distinction that matters for planning. Workflows are "systems where LLMs and tools are orchestrated through predefined code paths", while agents are "systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks". Its advice is to start simple: begin with a prompt, evaluate it properly, and "add multi-step agentic systems only when simpler solutions fall short", because the autonomy of agents "means higher costs, and the potential for compounding errors". That is a dated practitioner description rather than a standard.

A three-question test is usually enough to classify a candidate task. Is the input predictable in shape, or does it arrive as free-form language? Is the output information for a person to read, or an action that changes something outside the system? Can a person realistically review the result before it takes effect? Most real tasks mix all three: deterministic routing, a retrieved and drafted answer, and a human approval before anything leaves the building.

What a language model needs from context and business data

IBM describes large language models as deep-learning models that work as "giant statistical prediction machines that repeatedly predict the next word in a sequence", generating one token at a time by calculating probabilities for the possible next tokens. Everything follows from that. The model is producing plausible continuations of the text it was handed, which is why it can state a refund policy that has never existed in exactly the tone it uses for one that has. IBM lists the behaviour plainly among the limitations: models "generate information that is false or misleading while sounding plausible", and they reflect and amplify biases in their training data.

Context is what the model is given for this request: standing instructions, the conversation so far, and whatever business material has been placed in front of it. Modern models hold large context windows, which IBM notes now run to hundreds of thousands of tokens in newer models, but a window is working space, not knowledge. Material that is neither in the window nor in the training data is simply absent, and material that is in the window is being read this time, not learned or stored. Deciding what may be placed there, and on whose behalf, is a permissions decision before a technical one.

Why the AI crawlers are visiting. Four fifths of AI crawling takes your content to train a model, not to send anyone to you. That is worth knowing before deciding what to publish and what to gate. A full text version follows.

Why the AI crawlers are visiting

Published statistic. Four fifths of AI crawling takes your content to train a model, not to send anyone to you. That is worth knowing before deciding what to publish and what to gate.

Source: Cloudflare: the crawl-to-click gap, 12 months to July 2025. Reviewed .

Read the graphic as text

AI crawling

  • Training: 80%. Collecting content to train a model
  • Search: 18%. Answering a query, with a chance of a link back
  • User actions: 2%. Fetching a page because somebody asked for it
Download this infographic (SVG)

Retrieval and tool use are different controls

Retrieval means fetching material from a permitted source and putting it in front of the model, so an answer rests on something specific. IBM describes retrieval-augmented generation as "an architecture for optimizing the performance of an artificial intelligence (AI) model by connecting it with external knowledge bases", where responses can carry citations back to those sources so a reader can check them. The same page states the limit directly: "While RAG can reduce the risk of hallucinations, it cannot make a model error-proof." It also notes that knowledge bases "must be continually updated", or the answers quietly drift out of date.

A tool request is a different act. Retrieval reads; a tool changes something, or asks another system to. Refunding a payment, sending a message, updating a record and confirming a booking are not answers, they are consequences, and they need their own controls: whether this user is authorised for this action, whether the parameters are valid, whether the action actually succeeded, and what is recorded about it afterwards. Keep the read path and the write path separate in the design, so that widening what an assistant may read never quietly widens what it may do.

Which AI crawlers reach your site. The order changed completely in twelve months. Any policy written into a robots.txt file in 2024 is already naming the wrong bots. A full text version follows.

Which AI crawlers reach your site

Published statistic. The order changed completely in twelve months. Any policy written into a robots.txt file in 2024 is already naming the wrong bots.

Source: Cloudflare: from Googlebot to GPTBot, May 2025. Reviewed .

Read the graphic as text
  • GPTBot: 30%. Was 5%
  • ClaudeBot: 21%.
  • Meta: 19%.
  • Amazonbot: 11%.
  • Bytespider: 7.2%. Was 42%

Chart scale: Share of AI crawler traffic on Cloudflare’s network, May 2025.

Download this infographic (SVG)

When plain rules are the better answer

Where the input is predictable and the decision is explicit, rules are usually easier to inspect, test and operate than generated text, and they fail in ways somebody can trace. Odoo's automation documentation shows the normal anatomy: a rule has a trigger that "defines what kind of event needs to occur for the automation rule to run", optional conditions narrowing which records it applies to, and actions that run when both are satisfied, with triggers including field changes, email events, timing conditions and external events.

Two details from that same documentation are worth carrying into any rules design. Timing-based rules run from a scheduled check, and the guidance is to run a new rule manually once after setting it up to "prevent the rule from running retroactively on historical records", which is exactly the failure that sends a thousand reminders on a Monday morning. And the available actions include sending a webhook notification to another system, which is the moment a rule stops being internal and starts having effects elsewhere. Those behaviours are specific to that product, and the caution generalises: write every rule as trigger, conditions, action, exception path and evidence to collect. A rule without a defined exception path still has one; it is just undocumented.

Rules or a model, decided by the task. Most work labelled AI is a workflow problem, and rules solve it more cheaply and more predictably. A full text version follows.

Rules or a model, decided by the task

Editorial framework. Most work labelled AI is a workflow problem, and rules solve it more cheaply and more predictably.

Basis: NIST: AI Risk Management Framework. Reviewed .

Read the graphic as text
  • Plain rules. Same input, same output, auditable, cheap to run
  • Language model. Handles wording it has never seen, can be fluent and wrong
  • The test. If the task has a correct answer you can encode, encode it
Download this infographic (SVG)

How outputs and actions can be checked

Evaluation is evidence collection, and it covers more than whether an answer reads well. IBM's account of assessing language models asks for "multiple dimensions rather than a single benchmark", naming accuracy, efficiency, safety, fairness and robustness. The NIST AI Risk Management Framework, released on 26 January 2023 and "intended for voluntary use", organises the same ground into four functions, Govern, Map, Measure and Manage, aimed at incorporating trustworthiness into the design, development, use and evaluation of AI systems. NIST notes that AI RMF 1.0 is being revised. It is guidance, not a certification, and following it is neither legal advice nor a compliance conclusion.

For one bounded workflow, the evidence that matters is short and specific: which sources the answer used, whether they support it, what the system did when it was unsure, which tool it chose, whether that action was authorised, what happened when a tool failed, and where a person reviewed it. Those are observations to collect and read, not claims to make in advance.

A worked example: a fictional question and an approved action

The workflow below is invented for teaching. An unnamed business receives a customer question, answers it from permitted material, and then needs one external action taken. Every actor, policy and system response is an assumption, and the final column lists tests and observations to collect, never results already achieved.

Fictional support workflow: routing, a supported draft, and an action that waits for approval.
Workflow stepAssumed actorProposed system responseExceptionAcceptance evidence to collect
Route an incoming requestRules engine ownerApply an explicit routing condition to the requestMissing fields route the request to review rather than to an invented classificationThe rule inputs, the classification produced, and the tests covering each exception branch
Draft a supported answerAssistant userRetrieve permitted material and produce a draft that attributes what it usedConflicting or unsupported sources prompt an expression of uncertainty and a reviewWhich sources were reachable, what the draft attributed, and answer evaluations run against known questions
Approve an external actionAuthorised staff memberCheck the draft, then explicitly approve the scoped actionWithout approval the action stays unsent and no outcome is claimedThe authorisation record, the action request and its result, and the failure records for actions that did not complete

The shape of the table is the point. Deterministic routing handles the part that is predictable. Retrieval and generation handle the part that is language. A person holds the part that has consequences. Each stage hands to the next with something recorded, so a bad outcome can be traced to the layer that produced it rather than blamed on the system as a whole.

Limits, handoffs and what this page does not decide

Several limits are structural rather than temporary, and they belong in the design rather than in a disclaimer. A model can be confidently wrong. Retrieved knowledge goes stale unless somebody maintains it. What a system may read and what it may do are two separate permissions. Inputs arrive malformed. Tools fail, and a failed tool call must never be reported as a completed action. A workflow that quietly claims success when the outcome is unknown is worse than one that stops and says so.

A human handoff is a designed state, not a safety claim. It works when the person receives the customer's question, the relevant context, what the system was uncertain about and what it was asked to do, so they can continue the task rather than restart it. IBM's chatbot guidance makes the same point from the customer's side: a well-designed system recognises its limits and provides a clear path to a human representative. Deciding when to escalate, how data access and retention are scoped, and how retries and recovery behave are each their own piece of work.

Almost nobody has written an llms.txt. It costs almost nothing to publish and almost nobody has. Whether it does anything yet is a separate question, and the honest answer is that no major model provider has committed to reading it. A full text version follows.

Almost nobody has written an llms.txt

Published statistic. It costs almost nothing to publish and almost nobody has. Whether it does anything yet is a separate question, and the honest answer is that no major model provider has committed to reading it.

Source: HTTP Archive: Web Almanac 2025, Generative AI. Reviewed .

Read the graphic as text

Mobile pages

  • No llms.txt: 97.9%. The overwhelming majority, including most large sites
  • Has a valid one: 2.1%. 324,184 valid files found across the crawl
Download this infographic (SVG)

What to do next

  1. Name one task. Write down its input, the data it is permitted to use, the output a person would accept, and the side effect it could cause.
  2. Split it three ways: the part predictable enough for plain rules, the part that genuinely needs language, and the part that must wait for a person.
  3. Decide the uncertainty behaviour before anything is built. What does the system do when it cannot support an answer, and what does the customer see while that happens?
  4. Write down the evidence you will collect each week and name the person who reads it. An assistant nobody reviews is being trusted on faith.

Where to go next

  • AI assistants

    Where assistants are treated as a scoped piece of work rather than a concept.

  • Workflow automation

    The rules-first half of this page: triggers, conditions and actions inside a business process.

  • WhatsApp automation

    The same questions applied to a messaging channel, on the official WhatsApp Business API.

Sources and further reading