Systems & Infrastructure · Paper-to-Practice

The Hidden 70 Percent of Enterprise AI Is Integration

Models attract attention, but legacy interfaces, duplicate events and partial failures often consume most of the work required to make AI useful.

Key Thesis

In enterprise AI, the model is often the smallest uncertainty; the costly work is coordinating it with systems that can fail, repeat events and disagree about state. Budget for durable workflow controls, explicit recovery paths and reconciliation before estimating the model call.

A model can summarize a customer case in seconds. Getting that summary into the right CRM record, without creating a duplicate, overwriting a newer update or losing the result when an ERP endpoint times out, is a different kind of problem.

That gap explains why integration-heavy AI programs can spend roughly 70 percent of their effort outside model development. The percentage is a planning warning, not a universal benchmark: the more consequential the workflow and the older the systems, the more time goes into making every handoff safe.

The model is not the transaction

A useful way to understand this work is through the saga pattern, introduced by Hector Garcia-Molina and Kenneth Salem in 1987. Their paper addressed long-running database transactions that could not hold one lock across many steps. Instead, a saga broke the work into local transactions, each with a compensating action if a later step failed.

The intuition is familiar. Booking a trip may reserve a seat, charge a card and issue a ticket. If ticketing fails after payment, the system cannot rewind time. It must issue a refund. The refund is not a true undo, but an explicit second action that restores an acceptable state.

Enterprise AI workflows have the same shape, with an extra uncertain step. A model may classify an invoice, recommend a credit or draft a response, but its output still has to pass policy checks and be written into systems with their own rules. The model proposes. The workflow decides what is allowed to happen next.

Think of the boundary as a sequence of durable steps rather than one long API call:

CRM event AI decision ERP write verify / compensate durable state and recovery path

Duplicate events are normal

Most enterprise APIs do not promise exactly-once delivery. A client sends a request, the server performs the change, and the response disappears in transit. The client cannot tell whether the operation failed or succeeded, so it retries. If the retry creates a second invoice or sends a second customer message, the system has converted an ordinary network failure into a business incident.

An idempotency key makes repeated attempts refer to the same intended operation. The caller creates a stable key for that action, and the receiving service stores the key alongside the result. On retry, the service returns the original result instead of performing the action again. The key needs a defined scope and retention period. Otherwise, accidental reuse can suppress a legitimate later change.

Webhooks need the same discipline. Providers may retry delivery, events may arrive out of order, and payloads can be incomplete or malformed. An inbox ledger records each event identifier and processing state, while validation checks schema, timestamps and the entity version before a workflow acts. A queue can absorb bursts, but it cannot decide whether an old event should overwrite new state.

Budget for the failure path

The scale of the work becomes clearer when a project is estimated as a whole. The following allocation is an illustrative plan for 100 units of delivery effort, not an industry survey. A team with clean APIs and strong test environments may spend less on integration. A team facing undocumented SOAP services, bespoke permissions and fragile data contracts may spend more.

Work areaEffort unitsWhat the effort buys
Model selection and evaluation15Quality tests, latency and cost limits
ERP and CRM integration40Adapters, mappings, auth and rate-limit handling
Workflow reliability30Idempotency, retries, compensation and reconciliation
Security and operations15Access controls, monitoring and incident procedures
Total100A production workflow, not just a model demo

The numbers show why a polished prototype can mislead. A notebook proves that a model can produce a useful answer. It says little about what happens when a legacy endpoint accepts a write but times out before replying. SOAP and REST systems may both expose an interface, yet differ in rate limits, validation rules, transactional behavior and the quality of their error messages.

A production design makes those differences explicit. Put a durable queue or workflow engine between event intake and slow systems, persist each step’s status, and use bounded retries with backoff for transient failures. Keep a dead-letter path for events that cannot be processed automatically, and expose enough traces to connect a model decision to the input, policy checks and resulting writes.

Reconciliation is part of the product

Compensation deserves particular care because not every action can be undone. A duplicate internal note may be harmless. A sent payment, external notification or compliance record may require a correction rather than deletion. For each step, define whether it can be retried, compensated, escalated to a person or only reconciled against the source system.

That last path is often the one teams forget. A scheduled reconciliation compares the workflow’s recorded state with the ERP or CRM’s actual state, identifies mismatches and routes them for repair. It catches failures that escaped immediate detection, including manual edits and partial outages. This is not housekeeping. It is how an organization learns whether its automation is still telling the truth.

The economics follow the architecture. Every undocumented field mapping, rate limit and permission boundary adds implementation time, but also creates future maintenance cost. A small adapter layer with contract tests can isolate those quirks. A direct chain of model calls and vendor-specific requests spreads them through the product and makes changes harder to reason about.

So the practical question is not whether a model can perform a task. It is whether the whole workflow can explain what it did, survive a repeated event, recover from a partial write and show where human judgment remains necessary. Treat those requirements as part of the AI feature from the first estimate, and the model stops being a demo attached to old software. It becomes one well-controlled step in a system that can be trusted to act.

References

Discussion (0)

No reader notes yet.