More organizations are starting to ask a similar question
“We already have an ERP. Can we simply connect an AI agent to it and let executives ask questions directly?”
Technically, yes.
An AI agent can connect to a database, API, data warehouse, or tools such as MCP and retrieve information for analysis.
But there is an important difference between being able to read the data and understanding what that data means in the context of the business.
That distinction matters.
A company may have every sales transaction stored correctly, but even a simple term like “sales” can mean different things to different teams.
Sales may define it as confirmed Sales Orders.
Finance may use posted invoices.
Executives may care about recognized revenue.
A branch manager may refer to transactions completed at the POS.
All four numbers can be correct—and still answer completely different questions.
Now imagine connecting an AI agent directly to the database and asking
“What are our sales this month?”
The biggest risk may not be that the agent fails to query the data.
The bigger risk is that it successfully returns an answer—with confidence—using the wrong business definition.
In August 2026, Google Cloud released Cortex Framework v7 for SAP workloads. One of the core ideas is to transform business-system data into AI-ready data products enriched with metadata and business context before making that information available to analytics and AI agents.
Google describes this as creating a trusted semantic layer that translates raw technical data into something closer to “business speak.”
This idea is not limited to SAP.
The same issue appears in Odoo, Microsoft Dynamics, other ERP systems, CRM platforms, POS systems, e-commerce platforms, and even Excel files that companies rely on every day.
The fundamental question is not whether AI can connect to the system.
It is whether, once connected, the AI understands the data in the same way the business does.
Consider a simple inventory example.
An ERP may contain fields such as:
qty_on_hand
forecast_qty
reserved_qty
available_qty
Now ask an AI agent:
“How much stock do we have left for Product A?”
Which number should it use?
A warehouse employee may mean the physical quantity currently on the shelf.
Sales may want the quantity still available to sell after reservations.
Procurement may care about projected stock after incoming purchase orders.
The correct answer depends on who is asking, why they are asking, and what decision they are trying to make.
That is business context.
A database schema alone does not explain it.
This is why modern data platforms increasingly talk about data products, semantic layers, metadata, governance, and business logic—not just tables.
AI agents need context, not simply access.
From Data Story’s perspective, at least five areas should be prepared before allowing an AI agent to work with ERP or operational data.
Many organizations have the same information stored in several places.
Customer Master Data may exist in the ERP, CRM, and a separate spreadsheet maintained by Sales.
Product codes in the POS may not match product codes in the ERP.
A dashboard may calculate sales from a data warehouse while an AI agent queries transactions directly from the ERP.
Before introducing AI, the organization needs a clear answer to a very basic question:
If two systems disagree, which one is correct?
If people inside the company cannot agree on the answer, the AI will not be able to determine it reliably on its own.
Many KPIs share the same name across an organization but are calculated differently.
Examples include:
Revenue
Gross Margin
Active Customer
Repeat Customer
On-time Delivery
Inventory Turnover
Conversion Rate
Before an AI agent analyzes these metrics, the business should define how each one is calculated.
That includes:
Which fields are used
Which filters apply
What time period is included
Which records are excluded
How exceptions are handled
This is where a semantic layer becomes especially important.
A semantic layer allows dashboards, analysts, and AI agents to use the same business definitions rather than recreating their own logic every time a question is asked.
If management sees Revenue of THB 28 million in the dashboard, the AI agent should not answer THB 31.5 million simply because it used a different definition.
A single ERP can contain hundreds or thousands of tables.
Customer connects to Sales Order.
Sales Order connects to Delivery.
Delivery connects to Invoice.
Invoice connects to Payment.
Product connects to Category, Supplier, Bill of Materials, and Inventory Movement.
An AI agent may have access to all these tables and still produce an incorrect result if it does not understand the relationships between them.
Custom modules and custom fields make the problem even more complicated.
A field may have started with one meaning when the ERP was implemented and slowly evolved into something else after years of process changes.
Sometimes the real business rule exists only in the heads of experienced employees.
Anyone who has worked on ERP implementations will recognize this problem.
AI cannot automatically turn bad operational data into good business data.
If the same customer exists as three separate records,
if product codes are inconsistent,
if purchasing uses boxes while sales uses pieces and the conversion logic is unreliable,
or if one branch updates data in real time while another updates only once per day,
the AI agent will inherit those inconsistencies.
There is another problem: AI is very good at communicating.
An incorrect Excel report often looks obviously suspicious.
An incorrect AI answer can sound polished, confident, and completely reasonable.
That can make poor data even more dangerous.
Once AI agents begin working on behalf of users, access control becomes much more important.
Should a Sales agent be able to see product cost?
Should an inventory agent have access to personally identifiable customer information?
Should an agent working for one branch be able to query data from every branch?
And who has the authority to decide that the definition of “sales” has changed?
Data Owners therefore have a broader role in an AI environment.
They are responsible not only for data quality but also for business meaning, appropriate use, and access rules.
One useful shift in modern data architecture is to stop treating data as a collection of unrelated tables and start organizing it as reusable data products.
For example, a Sales Performance Data Product might contain:
Sales Orders
Invoices
Customers
Products
Salespeople
Branches
Revenue definitions
Gross margin logic
Data owners
Refresh frequency
Access permissions
Quality checks
The AI agent no longer needs to explore the entire database every time someone asks a question.
Instead, it can work with information that has already been structured, governed, and given a clear business meaning.
Google Cortex Framework v7 reflects this direction by preparing SAP data as reusable data products with metadata and semantic context for analytics and agentic workflows.
The technical implementation may differ between SAP, Odoo, Microsoft Dynamics, or a custom ERP.
The principle remains the same.
AI works better when the data has already been translated into the language of the business.
From ERP Data to AI-Ready Data
This is an area Data Story considers especially important.
Imagine a CEO opens Google Looker and sees:
Revenue this month: THB 28 million
The CEO then asks the AI agent:
“How are sales this month?”
The agent responds:
THB 31.5 million
Both systems may be technically correct according to their own logic.
But user trust disappears immediately.
Management does not want to hear that:
“The dashboard uses posted invoices while the AI agent uses confirmed sales orders.”
The dashboard and the agent should use the same business definitions.
This means the semantic layer or data model built for Business Intelligence does not become obsolete when AI arrives.
In fact, it may become even more valuable.
Those definitions are no longer used only to help people interpret dashboards.
They become part of the business language that AI must understand as well.
There is another issue organizations should prepare for.
AI agents can query data much more frequently than people.
A human may open a dashboard a few times per day.
An agent may execute several queries to complete a single workflow.
When an organization runs dozens of agents, query volume can increase rapidly.
This affects:
Performance
Cloud cost
Database load
Data access controls
Monitoring
Governance
That is another reason why allowing every agent to query raw ERP tables directly is rarely a good long-term architecture.
A structured data layer makes it easier to manage both meaning and workload.
If a company already has ERP, CRM, POS, or operational spreadsheets, it does not need to rebuild everything before experimenting with AI.
Start small.
For example:
“Which products are at risk of stocking out within the next 30 days?”
Avoid starting with:
“Build an AI that can answer everything about the company.”
The narrower question is much easier to define, test, and measure.
The use case above may require:
Inventory
Sales history
Purchase orders
Supplier lead times
Product master data
Run a Data Discovery exercise to identify where those datasets live, how they connect, and who owns them.
What exactly does Stockout Risk mean?
How many days should the forecast cover?
Should unconfirmed purchase orders be included?
How should discontinued products be treated?
What minimum stock level applies?
These rules need input from people who understand the business.
The AI should not be expected to invent them.
Before allowing an agent to answer independently, create a metric or dashboard that people can verify.
Once the business agrees that the logic and numbers are correct, the AI agent can use the same data product and semantic definitions.
Early AI use cases should have outcomes that can be checked against reality.
If the agent is wrong, the team should be able to identify exactly where the error came from.
That creates a much safer learning environment than starting with an agent expected to make executive decisions.
Data Story starts with Data Discovery to understand where information lives, how it is used, how reliable it is, and who owns it.
The next stage is Data Preparation—organizing, cleaning, connecting, and defining the information so it is ready for business use.
Prepared data can then be connected to Google Looker, giving executives and Key Users a visible and testable view of the information before AI is introduced.
Once the data foundation becomes reliable, the organization can move into AI Development, starting with use cases where the required data is available and the outcome can be measured.
Data Story works alongside client Key Users through an AI Activation Team to validate workflows, test data accuracy, measure business impact, and establish practical operating rules.
As successful use cases move into regular operations, Key Users can become Internal AI Champions, helping the organization maintain and expand AI adoption internally.
The overall path looks like this:
Data Discovery → Data Preparation → Business Definition → Looker / Data Visibility → AI Development → AI Activation Team → Internal AI Champions
AI is not the starting point.
It builds on a data foundation that the organization already understands and trusts.
Connecting an AI agent to an ERP system is becoming easier every year.
Teaching that agent what the company’s data actually means is the harder part.
Before allowing an agent to analyze operational information, organizations should establish:
Which data source is authoritative
What each KPI really means
How datasets relate to one another
Whether the data quality is sufficient
Who owns the data
Which agents should have access to which information
A useful way to think about this is to imagine onboarding a new employee.
If someone joins the company and we simply give them access to every ERP table without explaining how revenue is calculated, what “available stock” means, or which records can be trusted, we should not expect them to make good decisions.
AI agents are not very different in that respect.
They can query faster than people, read more data, and work continuously.
But before they can work well, we have to teach them the language of the business.
That language is built from data, definitions, context, ownership, and governance.
Yes. Technically, an AI agent can connect through databases, APIs, data warehouses, MCP, or other integration methods. However, connectivity alone does not give the agent a reliable understanding of business definitions or operational context.
Business context is the information that explains what data actually means inside an organization. It includes KPI definitions, source-of-truth rules, data relationships, business logic, ownership, permissions, and exceptions.
A semantic layer provides consistent business definitions so dashboards, analysts, applications, and AI agents can interpret metrics in the same way. It reduces the risk of different systems calculating the same KPI with different logic.
Raw data is information generated by source systems. A data product is data that has been prepared for a defined purpose, including structure, metadata, business definitions, quality controls, ownership, and governance.
Usually not. A better starting point is to assess the existing data, select a focused use case, identify the source of truth, define the business logic, and create a reliable data layer that the AI agent can use.
Data Story starts with Data Discovery and Data Preparation, then connects prepared information to Google Looker for visibility and validation. From there, AI use cases are developed together with client Key Users through an AI Activation Team, with Internal AI Champions supporting continued adoption inside the organization.
Connecting AI agents to business data requires more than selecting the right model or tool. Organizations also need reliable data, clearly defined workflows, appropriate access controls, human approval points, and a team that can manage AI safely over time.
Data Story helps organizations move from Data Discovery and Data Preparation to practical AI development. We work alongside your Key Users through an AI Activation Team, then help develop Internal AI Champions who can support and expand AI adoption within your organization.
Contact Data Story to discuss your data readiness, identify suitable AI use cases, and design a practical path toward secure and measurable AI adoption.