Systems & Integration

The Pattern Behind Endless CSV Exports

When staff keep exporting CSV files to move data around, the file is a sign that the systems cannot talk to each other. Here is what the habit hides, what it costs, and what to do instead.

Mellorca Patterns2026-11-13

Observable condition

On the first working day of the month, someone in finance exports a list of invoices from the accounting package. Another person pulls a sales extract from the CRM. A third downloads stock levels from the warehouse system. The files are opened in a spreadsheet, columns are renamed, a few formulas are applied, and the results are pasted into a report or loaded into another system.

Nobody planned it as an integration. It began as a one-off favour, and now it has a name, a checklist, a person who does it and a person who covers when they are away. When a system update changes a column heading, the routine breaks and someone spends an afternoon repairing it.

An illustrative example: a Bloemfontein agricultural-supplies company exports its sales ledger every Friday, reformats it, and uploads it to the system its sales representatives use to see customer balances. Between Fridays, the balances the representatives see are out of date by definition.

Realisation

The realisation is that a CSV file is not a tool. It is a stand-in for a connection. CSV is a deliberately plain format: the specification published as RFC 4180 describes records as lines of fields separated by commas, and notes that implementations vary and that there is no single formal standard in the strict sense. The format carries values and very little else. It has no data types, no definition of what a date looks like, and no way to say which system the data came from or when.

That plainness is why it is so widely used, and why it is so brittle as a link between systems. Every export-and-import routine rests on the person's knowledge of what the columns mean, how dates and amounts are expected to look, and what to fix before loading. When that knowledge lives in one head, the integration is as dependable as that person's attendance.

Realisation prompt: how many CSV or spreadsheet exports does your business produce in a month purely to feed another system or report, and how many of them are exactly the same as last month's?

Identification

This is a pattern of manual integration. The visible symptom is the recurring export. The common assumption is that exporting is a normal part of working with software. The structural cause is that two systems hold related facts but have no automated route between them, so a person has been appointed as the route.

It is close to why staff keep a spreadsheet between two business systems, but the focus here is the file that travels, not the spreadsheet where it stops.

Diagnosis

  • The export is on a calendar, not on an event. Data moves when someone remembers, not when something changes, so the receiving system is always as old as the last export.
  • Cleaning steps are undocumented. Remove the first three rows, convert the dates, delete duplicates, pad the account number. The recipe is in someone's memory.
  • Formats drift. A system update, a changed report layout or a regional setting alters a date or decimal format, and a file that loaded last month fails or, worse, loads incorrectly.
  • Errors are silent. A comma inside a customer name, a lost leading zero or a truncated field changes the data without any message.
  • There is no audit trail. Nobody can say which version of the file was loaded, who changed what, or whether the same file was loaded twice.
  • Volume grows faster than patience. Routines that took ten minutes with 200 rows take an hour with 5,000, and eventually someone stops doing them.

Commercial impact

The commercial value at stake is staff capacity, timeliness of information, accuracy and continuity.

The first cost is time. Each export, clean and load cycle takes a fixed amount of skilled attention, and it repeats indefinitely. Summed across a finance or operations team, it is a regular, unrecorded cost that never appears on a budget line.

The second is stale information. Decisions are made on data that is as old as the last cycle. The Discovery note batch integrations leave systems hours out of date describes the delay that any scheduled transfer builds in, and a manual one adds the delay of whoever is busy that day.

The third is hidden error. Because the process is manual and unlogged, a mistake may surface weeks later as a reconciliation difference, and tracing it means reconstructing what was done by hand.

The fourth is key-person dependence. If the one person who knows the recipe leaves, the business discovers how much of its operation depended on a file.

Common misidentification

The usual response is to improve the spreadsheet: add macros, lock the template, write a longer checklist. That makes the routine slightly faster and much harder to replace, because the macros become a second system that nobody else understands. Another is to treat each export as a separate problem, so the business ends up with twenty small routines instead of one clear map of how data should move. A third is to ban exports, which removes the workaround without supplying the connection.

Possibility

In a better state, the data the receiving system needs reaches it without a person in between. Routine movements are automated at the source: the same fields, in the same format, at a defined interval or when an event occurs, with failures reported rather than silent. Where a human decision is needed, the person approves a prepared result instead of building it by hand.

Several levels of help exist. Many business systems offer a built-in integration or an application interface that makes the export unnecessary. Where transformation is the real work, a tool such as the one described in Microsoft's overview of Power Query records each cleaning step as a repeatable query, so the recipe is stored and can be re-run rather than redone. For event-driven transfers, the Power Automate cloud flows overview describes flows that start when something happens and carry data between services. Choosing among these depends on the systems you have, so treat each as an option to test.

See also when one change has to be made in every system you own.

Intervention

Map the exports before replacing any. A single page that shows what leaves which system, for whom and how often is usually enough to show where to begin.

Practical next actions

  1. Inventory the exports. For one month, record every export that feeds another system or a recurring report: source, destination, frequency, owner, time taken.
  2. Rank by frequency and time. The weekly one-hour export beats the annual four-hour one. Pick the top one or two.
  3. Write down the recipe. Document every cleaning step in order, including the ones the owner does without thinking, such as fixing dates or removing test rows.
  4. Check for a built-in route. Ask each system's supplier whether a direct integration, scheduled export or application interface exists for the pair you are connecting.
  5. Replace one routine end to end. Automate the chosen export, run it in parallel with the manual version for a few cycles, and compare the results line by line.
  6. Add a failure signal. Whatever replaces the manual step should say when it fails, so that nobody finds out at month end.

Diagnostic questions

  • Which three exports does your team repeat most often?
  • Could anyone other than the usual owner run each one correctly tomorrow?
  • How old is the data in the receiving system on an average day?
  • When did a changed column or format last break one of these routines?
  • If the routine loaded the wrong file, how would you find out?

Bottom line

An endless series of CSV exports is not a sign of diligence. It is a sign that two systems need to exchange information and have been left without a way to do so. Mapping the routines, writing down the recipe and automating the most frequent ones turns an invisible, person-dependent link into something the business can see, trust and keep running.

Sources and further reading

Related Mellorca reading

The Mellorca Briefing

Practical notes on systems, operations and automation.

New articles and field notes on fixing disconnected systems and manual work, sent when there is something worth reading. No sales sequence.