Skip to content
← Notebook

Architecture

Why 90% of Companies Fail When They Bring in AI

The 4 architectural mistakes that burn budgets on LinkedIn: automating chaos, swatting flies with tokens, dirty data and no circuit breakers.

Date
Sep 30, 2026
Reading time
5 min
Result
Critical Analysis • Real Case • Best Practices

Translated from the Spanish original. The code, data and READMEs on GitHub are in Spanish.

90% of the companies trying to bring Artificial Intelligence into their operations aren’t innovating: they’re throwing banknotes into the fireplace so they can show off in press releases.

After years dealing with data integrations at large multinationals and experimenting at the @Yeswelab_OU lab, the failure pattern always repeats itself in the same 4 blind spots.


1. Automating an Existing Mess

If your current manual process is a mess held together by 4 outdated Excel files and crossed emails, adding a language model won’t fix it.

AI multiplies speed, but it doesn’t fix a lack of logic. If you try to automate a disorganised process, all you achieve is generating chaos at breakneck speed.

Lab Rule: If you can’t draw the workflow step by step on a napkin, with predictable inputs and outputs, don’t throw prompts at it.


2. Swatting Flies with Token Cannons

One of the biggest absurdities we see every day is using calls to giant language models (GPT-4/Claude 3.5) to solve deterministic problems:

  • ❌ Validating whether a string has an email format.
  • ❌ Converting date formats (DD/MM/YYYY to ISO).
  • ❌ Classifying simple statuses based on fixed keywords.

The Consequence:

  • Outrageous bills from token consumption.
  • Non-deterministic answers that fail 2% of the time.
  • 800ms of added latency where a script takes 0.1ms.

A 3-line Python script or a basic regular expression will always be infinitely better, cheaper and 100% reliable.


3. “Garbage In, Garbage Out”: The Myth of Magic

It doesn’t matter which model you use: if your source database contains duplicates, orphan fields, inconsistent nulls and broken encodings, the AI’s answer will be garbage in a suit and tie.

80% of the success of any intelligent system lies in cleaning, modelling and validating the data beforehand. Cleaning data isn’t glamorous enough to sell at conferences, but it’s what separates a system that makes money from a broken prototype.


4. Not Designing for Failure (Circuit Breakers)

Language models naturally hallucinate and third-party APIs suffer outages. Building a pipeline without planning for catastrophic failure is a ticking time bomb.

Essentials in Production:

  1. Strict schema validation (JSON Schema / Pydantic): Reject any output that doesn’t exactly match the expected types.
  2. Circuit Breakers and Fallbacks: If the main LLM fails or takes longer than 3 seconds, degrade gracefully to a lightweight model or traditional logic.
  3. Human supervision (Human-in-the-loop): Any step involving moving money, deleting data or mass-sending to customers must require explicit confirmation.

The Lab’s Golden Formula

  80% CAST-IRON TRADITIONAL LOGIC
  (native APIs, clean databases, scripts and regex)
  ────────────────────────────────────────────────────────
  20% APPLIED AI
  (summarising unstructured text, extracting ambiguous context)

Less consultancy hype and more well-crafted engineering from the trenches.

Discuss the experiment on X →

#Data Pipelines#Schema Validation#LLM Guardrails#n8n