← Blog home
Applied AI · November 17, 2026 · 5 min read

Before You Deploy an AI Agent, Find the Spreadsheet That Actually Runs the Company

The hardest part of enterprise agent work is rarely model selection. It is discovering the unofficial rules, exception queues, and human negotiations that the formal process diagram leaves out.

Before You Deploy an AI Agent, Find the Spreadsheet That Actually Runs the Company

Most enterprise AI projects begin one abstraction layer too high. A team identifies a process called “vendor onboarding,” “claims review,” or “customer renewal,” draws a clean sequence of boxes, and asks an agent to automate it. The pilot works on the happy path. Production then reveals that the real process lives in a shared spreadsheet, two inboxes, an employee’s memory, and a weekly call where exceptions are quietly negotiated.

The model is blamed because it is the most visible new component. Often the deeper problem is that nobody specified the system the model was entering. The official workflow describes what should happen. The operational workflow includes what happens when an identifier is missing, two systems disagree, an approver is away, a customer has a special contract, or the rules produce an obviously absurd result.

Successful applied AI therefore begins with workflow archaeology. Before selecting a model or agent framework, a team must reconstruct how work actually moves: where information originates, which transformations occur, who can override them, and which unofficial artifacts keep the organization functioning.

The shadow system is usually load-bearing

Engineers naturally regard side spreadsheets and manual trackers as technical debt. Sometimes they are. But they are also evidence. A spreadsheet maintained beside an enterprise platform often records distinctions the platform cannot express. A color-coded inbox may function as a priority queue. A veteran employee’s personal template may embody years of learned risk control.

Deleting these artifacts in the name of automation can erase the organization’s adaptive layer. The better move is to study them. What event causes someone to add a row? Which columns determine urgency? Where does the information come from? Who trusts it, and who checks it? Every recurring manual correction is a candidate requirement for the future system.

This is why the common “human in the loop” phrase is too vague. It can mean genuine oversight, or it can mean assigning people to repair an automation that was never designed around exceptions. A useful design names the loop: who reviews what, with which context, before which deadline, and with authority to do what next.

Automate decisions only after mapping consequences

Agent design guidance such as Anthropic’s Building Effective Agents distinguishes simpler workflows from more autonomous systems. That distinction should be treated as an organizational choice, not merely an architectural one. Autonomy expands the set of states a system can reach. It therefore expands the consequences that must be understood, observed, and reversed.

A useful first deployment often has less autonomy than the demo. The agent gathers records, identifies inconsistencies, drafts a recommendation, and packages the evidence for a human decision. That may sound conservative, yet it attacks expensive coordination work while preserving accountability. As evidence accumulates, bounded decisions can be delegated one class at a time.

The boundary should be drawn according to consequence and reversibility. Classifying an internal document is different from sending a contractual notice. Drafting a database migration is different from applying it. Preparing a refund is different from issuing one. The proper question is not whether the model is generally capable. It is whether this action, in this context, can be verified before damage propagates.

Exceptions are the product requirements

Process discovery sessions often spend most of their time on the standard path because it is easy to explain. Agent projects should invert that allocation. The standard path is usually already supported by forms, business rules, or conventional automation. The value—and risk—lies in the long tail.

Ask operators for the cases they dread seeing on a Friday afternoon. Collect examples where two competent colleagues made different decisions. Examine work that bounced between teams, required a supervisor, or forced someone to call the customer. These are not annoying edge cases to append later. They reveal ambiguity in policy, gaps in data, and conflicts between local optimization and the organization’s actual goals.

The traces discussed in Anthropic’s guide to evaluating agents are especially useful here. In production, a trace should make the agent’s operational path inspectable: which records it consulted, which tools it called, what changed, what uncertainty it detected, and why it escalated. This is less about exposing internal prose than about creating an accountable event history.

That history should feed an evaluation set. Every consequential exception encountered in production can become a sanitized regression case. Over time, the suite grows into a living description of the business process—more precise than a slide deck and more durable than any individual prompt.

The first deliverable should be an exception map

Before building an agent, XioX recommends producing four connected artifacts: a state map of the workflow, an inventory of systems and permissions, an exception taxonomy, and a consequence ladder for available actions.

The state map records not only steps but waiting states, ownership changes, and termination conditions. The systems inventory identifies sources of truth and places where records conflict. The exception taxonomy groups failures that require different responses rather than treating all uncertainty alike. The consequence ladder ranks actions from read-only retrieval through drafting, reversible updates, external communication, and irreversible commitments.

This work can feel slower than connecting an agent to tools. It is usually the fastest route to a production system because it prevents the team from discovering fundamental process ambiguity through live incidents. It also clarifies where ordinary software remains superior. Deterministic validation, permission checks, idempotency controls, and transaction boundaries should surround the model, not be delegated to its judgment.

Practitioners such as Simon Willison have consistently emphasized examining how language-model systems behave through concrete experiments rather than mystical claims. Enterprise teams need the same temperament. Treat the agent as a fallible component whose actions can be observed and constrained, not as a digital employee who somehow absorbs institutional knowledge by being shown a handbook.

The spreadsheet that “should not exist” may be the best requirements document available. It contains evidence of where the formal system failed to meet reality. Read it before replacing it. The companies that obtain durable value from agents will not be those that automate the prettiest process diagram. They will be those willing to learn why the messy process survived.

Advertisement

#agents #workflows #enterprise-ai #automation

Building something in AI? Let's talk.

Start a project
More from the blog

© 2026 XioX. All rights reserved.
Home Solutions Products Blog AI Updates Contact Us RSS