Business: Operations · Lesson N.ops.2

Connecting AI to the shop floor of operations

How to make AI work with your operation's real data, WMS, TMS, Zendesk, shift spreadsheet, and sensor, choosing the right path by the data's format and connecting safely.

Examples for

You ask AI why the distribution hub has had a line since seven in the morning. It answers with an analysis full of pretty logistics jargon. And made up. AI never opened your WMS or the dock occupancy sensor, so it guesses a plausible cause.

Notice something: the problem is almost never that AI is bad at math. The problem is that it's answering off the top of its head, without ever having opened YOUR shop floor of operations. It's like hiring the best operations manager on the market, sitting them in your office, and never giving them access to your WMS, your TMS, the cold chamber sensor. They'll talk a good game and get it badly wrong, because they're guessing. Connecting AI to your operation's real data is exactly what pulls it out of the generic. Except connecting it wrong is worse: either it leaks sensitive shop floor information, or it scrambles three different data formats together and hands you a diagnosis that looks certain and matches nothing.

The core idea of this lesson. AI only really delivers when it works WITH your operation's real data, and the FORMAT of the data decides the path. A structured system (WMS, TMS, Zendesk) often doesn't even call for vector search: AI reasons over the schema and the statistics. A shift spreadsheet looks structured, but it's messy, kept by hand, and needs normalization before any calculation. A sensor is continuous data: it's not text to search by meaning, nor a fixed table to sum, it calls for aggregation over a time window. And before anything else comes the security question: what can leave the shop floor of operations, and what can't.

01The data's format decides the path

The first thing that changes everything is to stop treating "my operation's data" as a single thing. There's no single path to connect AI to your factory or distribution floor. What exists is the data's format, and the format dictates the road.

Think of three natures of data that live in every operation. There's the structured system, which lives in rows and columns: the WMS export, the TMS table, the Zendesk report. There's the shift spreadsheet, which looks structured but is kept by hand by supervisors, with merged cells, free text in the notes column, a format that changes from shift to shift. And there's the sensor, continuous data: cold chamber temperature, a machine's cycle time, a vehicle's location in transit, a signal every second or every minute.

These are three different natures, and each calls for a different tool. Trying to force all three down the same path is mistake number one. The @datasciencebrain study hits exactly this note: the data's format decides the memory architecture, not the other way around.

The format decides the path Structured system WMS, TMS, Zendesk Shift spreadsheet kept by hand Sensor continuous data Reason over the schema Normalize before calculating Aggregate over a time window Same shop floor, different formats, different tools. Getting this wrong here costs months.

02Structured system: WMS, TMS, and Zendesk almost always call for reasoning over the schema

Here lives the most common mistake of someone who just learned RAG: thinking ALL data needs to become vector search. It doesn't. And in operations this is especially true, because a good chunk of what you use every day already lives structured, in rows and columns, inside the WMS, the TMS, or Zendesk.

When the data is a WMS export with pallet positions, or a TMS table with time per route stage, AI gains almost nothing from turning every cell into a coordinate of meaning. What it needs is to understand the STRUCTURE: what the columns are, what each one means, the total row count, the sum of each column, the range of values. Instead of "searching for similar snippets", it reasons over the schema, over the statistics, and over a sample of representative rows.

Think about the practical difference. To answer "which dock has the longest wait time today", AI doesn't need a fuzzy semantic search. It needs to look at the WMS table, sort by the wait time column, and read the first row. That's reasoning over structured data, not vector search. It's cheaper, more accurate, and doesn't run the risk of the search pulling up the wrong dock.

03Shift spreadsheet: looks structured, but it's deceiving

Now the format that most deceives people who work in operations. The shift spreadsheet DOES have rows and columns, so it seems like the same thing as the WMS export. It isn't. It's filled in by hand by different supervisors, on different shifts, under time pressure, and that leaves marks: a merged cell that breaks the column reading, a note written as free text where there should be a fixed code, one shift that logs the time as 07:00 and another that logs "seven in the morning".

If you treat the shift spreadsheet as if it were as clean as the WMS, AI will calculate on top of a structure that doesn't really exist, and the result comes out wrong without warning you. The right path is to first ask AI to NORMALIZE: identify where the structure breaks, standardize the time format, separate the free text from the fixed data, and only then reason over the normalized table. It's an extra step the shift spreadsheet demands and the WMS doesn't, and skipping that step is where the diagnosis starts to lie.

04Sensor: continuous data calls for a window, not RAG and not line by line

Here comes the third format, the one that looks least like the other two: the sensor. Cold chamber temperature every thirty seconds, a machine's cycle time per unit, a vehicle's location every minute. It's not text to search by meaning, because it has no semantic meaning at all, it's just numbers over time. And it's not a fixed table to sum row by row, because an isolated reading almost never tells the story: what matters is the pattern over a window.

Throwing a raw sensor stream at AI, question by question, point by point, is expensive and it's noise. Nobody decides anything by looking at an isolated temperature reading at 2:32:12 PM. The right path is to aggregate first: the hourly average, the shift's peak, the deviation from normal, how many times the signal crossed the safety threshold. Only once it's aggregated into windows does AI interpret it with meaning, and what it hands you back becomes a decision, not pretty noise.

From raw signal to aggregated window raw sensor a signal every second windowed aggregation average, peak, threshold AI interprets the pattern, not the point Rule of thumb Reading point by point is noise. Aggregating over a window is signal. The decision lives in the window's pattern, not in the isolated reading.

05Security: what doesn't leave the shop floor of operations

Everything up to here is about making AI get it right. Now the point that, in operations, can take you down: what leaves your factory or distribution floor and goes outside.

The moment you connect AI to your operational systems, answer this before anything else: can this data leave? Some data can go to a cloud model without a problem. And some data can't leave under any circumstances: real time location of high value cargo in transit, exclusivity contract terms with a carrier, WMS access tokens, customer data that lives inside the TMS. Sending that outside without thinking isn't optimization, it's a leak.

The same three layers of protection from the lesson on connecting financial data apply here, just applied to the operational shop floor. Anonymization: strip out identifiers before sending, swap a vehicle's license plate for a code, aggregate whatever can be aggregated. Choosing where it runs: sensitive cargo location data may call for a local model or a closed environment, not the public cloud. Gateway: the gate between you and the model, blocking whatever can't pass through and logging everything that did. It's not bureaucracy, it's what separates "I used AI on my WMS" from "I leaked my most valuable cargo's route to a third party without noticing".

Do it now

Do it yourself

Take a real case from your operation where AI answered off the top of its head and got it wrong, or where you haven't even tried using AI yet: your real task.

  1. List 3 data sources that would contain the right answer (WMS or TMS export, shift spreadsheet, sensor log).
  2. For each source, classify the FORMAT: structured system, shift spreadsheet kept by hand, or continuous sensor.
  3. Mark the path for each one: a structured system leads to reasoning over the schema, a shift spreadsheet leads to normalization before calculating, a sensor leads to windowed aggregation.
  4. Do the security check for each source in one line: can this data leave the shop floor of operations? Does it need anonymizing? Does it run in the cloud or does it call for a closed environment?
  5. Point out which of the three sources is the most sensitive and write, in one sentence, what the gateway should block on it.

You've just designed the connection between your shop floor of operations and AI, through the right path, with the security gate in place.

Practice

1. You need AI to answer 'which dock has the longest wait time today' from the WMS export. What's the most suitable path?

2. Why does throwing a temperature sensor's raw signal, point by point, straight into a question for AI usually give a bad answer?

For the board

On the diagnosisit is guessing because it never opened your WMS, your TMS, your sensor.
On formata structured export calls for reasoning over the schema, not vector search.
On sensorscontinuous data calls for a window. Reading point by point is noise; aggregating is what becomes a decision signal.
What did you think of this page?
Would you recommend this page to someone on your team?