Content/Blog
    BlogData Foundations

    Production Systems vs. System of Record: Where to Build Reporting and AI

    AI makes querying your e-shop, ERP and ad platforms directly easy. For numbers that drive decisions, the reasons BI has avoided it since the 1990s still apply. Nine points, side by side.

    Juraj Kapasný··7 min read

    Production systems

    The live tools that run the business: e-shop platform, ERP, GA4, Google Ads, Meta and their APIs. Direct access means AI or reports query these one by one, on every question.

    System of record

    A data warehouse (for example BigQuery) where data from all those systems is loaded, cleaned, combined and modelled once. AI, dashboards and other tools all read from it.

    In Short

    AI Made Querying Easy. The Old Reasons Still Apply.

    Reporting and AI should run on a system of record, not directly on production systems. AI makes querying source systems easy, but the reasons BI has avoided it since the 1990s still apply.

    Direct access works for quick operational lookups. For numbers that drive decisions, the system of record wins on all nine points below.

    At a Glance

    Nine Points, Side by Side

    1Metric definitions

    Production systems

    Worked out again on every question; two people can get two numbers

    System of record

    Each metric defined once and reused by everyone

    2Checkable accuracy

    Production systems

    AI arithmetic on API exports; hard to audit

    System of record

    Every number backed by a SQL query anyone can rerun

    3Data cleaning

    Production systems

    Repeated on every question, or skipped

    System of record

    Done once in the pipeline

    4Security, GDPR, access control

    Production systems

    Separate permissions in every tool and AI connection

    System of record

    One place to control who sees what, read-only

    5Reuse beyond AI

    Production systems

    Answers stay in a chat

    System of record

    Same data feeds dashboards, ad platforms, models, forecasts

    6System load

    Production systems

    Analysis competes with orders and integrations

    System of record

    Analysis runs on separate infrastructure

    7Stability when systems change

    Production systems

    Every system change breaks reports and prompts

    System of record

    Rebuild one connector; reports and history keep working

    8Data ownership

    Production systems

    History lives with the vendor and can disappear

    System of record

    History stored in your own project

    9Consistency across the team

    Production systems

    Everyone asks their own way; spreadsheet chaos returns

    System of record

    One shared, trusted source

    What About Skills and Artifacts?

    A Real Improvement, Still Built on Production Systems

    Teams that want to avoid the warehouse often reach for skills and artifacts: a saved skill that encodes how to calculate net revenue, or a shared artifact that shows the same KPI dashboard to everyone. These are real improvements over ad-hoc prompting, and they should be used.

    But they are still built on production systems. A skill that calls the Shopify or Google Ads API every time it runs still competes with operational integrations for rate limits, still breaks when an API version changes, and still repeats the cleaning and joining logic on every run.

    A saved definition makes the answer more consistent, but it doesn’t create a single source of truth.

    The definition lives in the skill, and each copy has to be kept in sync.

    Detailed Comparison

    Point by Point

    1

    One definition of every metric

    Revenue can be gross or net, with or without VAT and shipping, before or after cancellations and returns. The same is true for margin, new customers, ROAS and almost every KPI.

    On production systems

    Each tool uses its own definition, and AI works out which one to use on every question. Two people asking the same thing can get two different numbers.

    On a system of record

    “Net revenue” is defined once, in one place. Every dashboard, report and AI answer uses the same definition.

    2

    Accuracy you can check

    On production systems

    AI pulls data from several APIs and does the joins and arithmetic itself. Nobody can reliably check how a number was produced or reproduce it next week.

    On a system of record

    Every number is backed by a SQL query. Anyone can review it, rerun it and get the same result. That matters for any number used to set budgets or report to management.

    3

    Cleaning happens once, not on every question

    Real data always needs cleanup:

    • removing duplicate and test orders
    • converting currencies
    • mapping SKUs between the e-shop and the ERP
    • fixing inconsistent UTM tags and campaign names
    • matching the same customer across channels

    On production systems

    Cleaning rules written into a skill (remove test orders, convert currencies, map SKUs) run again on every use, and the rules are only as good as the person who maintains them. The logic is repeated rather than done once, and it runs against live data that may change between runs.

    On a system of record

    Cleaning is done once in the pipeline, and every user gets clean data.

    4

    Access control works in one place

    Security and GDPR.

    On production systems

    Each SaaS tool has its own permission model, often with admin-level API keys. Giving AI access to the e-shop or ERP risks accidental changes and exposes personal data broadly.

    On a system of record

    One place decides who sees what. Margins can be limited to management, personal data masked for marketing, and AI access kept strictly read-only.

    5

    The same data serves more than AI

    On production systems

    An AI answer stays in the chat where it was asked.

    On a system of record

    The same modelled data also feeds:

    • dashboards and scheduled reports
    • profit-based conversion values sent back to Google Ads, so bidding optimises for margin, not revenue
    • customer lifetime value and churn models
    • audience segments for marketing
    • demand and stock forecasting
    6

    Production systems are built for transactions, not analysis

    An e-shop database or ERP is designed for many small, fast writes: create an order, update stock, take a payment. Analysis does the opposite and scans millions of rows at once.

    On production systems

    Heavy queries slow down the systems that make money. API rate limits are shared with operational integrations such as ERP sync, product feeds and shipping tools, so an AI making hundreds of calls can throttle them.

    On a system of record

    Analysis runs on infrastructure built for it, completely separate from operations.

    7

    Reporting stays stable when the systems behind it change

    Source systems change all the time: API versions are retired, the ERP is upgraded, the business moves to a new e-shop platform.

    On production systems

    Every change breaks the reports, queries and AI prompts built on top.

    On a system of record

    One connector is rebuilt. Reports, history and AI questions keep working as before.

    8

    You own your data, not the vendor

    SaaS vendors change pricing, restrict API access and shorten data retention. Universal Analytics is the clearest example: Google retired it, and from the week of 1 July 2024 all historical data and API access were removed (Google). Companies that never exported it lost years of history.

    On production systems

    History lives with the vendor and can disappear.

    On a system of record

    History is stored in your own project and stays yours.

    The GA4 BigQuery export is a current example of the same point. It is the only way to get raw event-level GA4 data, and it only collects data from the day it is switched on.

    9

    Direct AI access is the new spreadsheet chaos

    For years BI teams fought the habit of everyone exporting their own Excel from the source systems. Each department had its own numbers, and meetings were spent arguing about whose were right.

    On production systems

    Skills and shared artifacts reduce the spreadsheet problem: they give a team the same calculation and the same dashboard. But they standardise the method, not the data. Each person’s run still pulls from the source systems at a slightly different moment, with a different filter or date range, and the results can still differ.

    On a system of record

    A shared, modelled source makes the “whose number is right” argument disappear, because there is only one set of numbers to argue about.

    When Direct Access Is Fine

    Live Status from One System

    Direct AI access to source systems is useful for questions that need live status from one system, not trusted numbers across several:

    • Operational lookups, such as “what is the status of order 12345”
    • Live checks, such as “which campaigns are over budget today”
    • Ad-hoc questions about a single system
    • Very early-stage businesses with little history and few channels

    The two approaches work best together: direct access for live operations, the system of record for reporting, analysis and decisions.

    Recommendation

    Connect AI to the Warehouse, Not to Each System

    Skills and artifacts make direct access to production systems more consistent. They do not make it more stable, more auditable or more shareable. The best use of them is on top of the system of record, where the definitions, cleaning and history already exist.

    Build reporting and AI on a system of record, and connect AI to it rather than to each production system.

    AI made asking questions easy. The warehouse is what makes the answers trustworthy.

    Next Steps

    Five Steps to Get There

    1

    Switch on the GA4 BigQuery export now, since it cannot be backfilled.

    2

    Load the core sources into the warehouse: e-shop orders, ERP costs and stock, ad platforms, returns.

    3

    Agree and model the key metric definitions: net revenue, margin, new customers, marketing cost.

    4

    Connect AI and dashboards to the modelled layer with read-only access.

    5

    Keep direct production access only for live operational lookups.

    Want AI answers you can trust? We build and guarantee the data underneath.