Sync the data, or let AI ask the ERP?
Sync ERP data into a portal or database when many people ask, the ERP sits behind a firewall, or each person should see only their own records. Let an AI agent query the ERP directly when a few trusted staff need one-off answers that must be exact this second, and the agent only reads.
Two ways to give AI your ERP data.
AI assistants and agents are only as useful as the data they can reach. In a company that runs on an ERP, that data is orders, invoices, stock, prices and customers. There are two ways to hand it over.
Direct access
The agent calls the ERP itself, through its API, a database connection or an ERP user account, every time it needs an answer. Nothing is copied. Each answer is as fresh as the ERP.
Sync first
A sync copies the records you care about out of the ERP into a portal or a database on a schedule, with small incremental runs in between. The agent reads that copy. When it needs to change something, like placing an order, the change is sent back to the ERP, which stays the system of record.
Neither is right everywhere. The choice comes down to who is asking, how often, how fresh the answer must be, and what happens when the agent gets it wrong.
When syncing to a portal or database wins.
Many people are asking
An AI agent rarely answers with one call. To say where an order is, it may look up the customer, list their orders, open one, then check the shipment. Multiply that by every customer, sales rep and agent run in a day and you are putting steady load on a system that also has to post invoices and run the warehouse. ERP APIs are often slow, limited in calls per minute, or priced by use. A synced copy answers those reads without touching the ERP at all.
Each person should see only their own data
ERP permissions are built for employees with roles, not for hundreds of outside customers. An agent signed in with one ERP account sees everything that account sees. In a synced database you control the scoping row by row: a buyer's assistant can only reach that buyer's account, and a staff member's assistant only what their role allows. If a prompt goes wrong, the data it could leak simply is not within reach.
The ERP runs on-premise
Many ERPs still run on a server in the office. Letting an outside AI service query it live means opening a port into your network or building a tunnel. A sync agent installed at your site can instead call out over HTTPS, push the data up, and pick up the changes waiting to be written. Nothing reaches in.
The answer mixes ERP data with other things
Real questions cross systems. "Can we ship what this email asks for by Friday?" needs the email, the items it mentions, the customer's prices and the stock. Once the ERP records sit in the same database as the email and its attachments, the agent can join them in one step instead of stitching together answers from several live calls.
It must stay up when the ERP is busy or down
ERPs have maintenance windows, month-end closes and nightly jobs. With a synced copy, customers can still look up orders and invoices during those hours. Writes wait in a queue and go through when the ERP is back.
When direct AI access to the ERP is better.
A few trusted people, one-off questions
A controller exploring last quarter's margins or an analyst checking an odd ledger entry asks questions nobody planned for. A sync only copies the records it was built for, so a direct, read-only connection gives that person the whole ERP to explore. The audience is small and already trusted with ERP access, so the scoping problem mostly goes away.
The number must be right this second
Some values change fast and a stale one costs money: available stock just before you promise a ship date, a credit limit just before you release an order. These are worth a live check. Usually that check belongs at the moment of the write, where the ERP applies its own rules, rather than on every read.
The data is not in any sync
Custom tables, rarely used modules and one-time investigations are not worth syncing. Going direct is cheaper than building a sync for data you will read twice.
You are still finding out what people need
In a pilot, direct read-only access shows which questions people actually ask. Those answers tell you which records are worth syncing later.
Which way does your case lean?
| Question | Leans sync | Leans direct |
|---|---|---|
| Who asks the questions? | Customers, partners or a whole team. | One or two people on your own staff. |
| How many questions a day? | Many, all day, from many places. | A few, now and then. |
| How fresh must the answer be? | A few minutes old is fine (order status, invoices, price lists). | It must be right this second, and a stale answer costs money. |
| What data does it need? | A known set of records: customers, items, prices, stock, orders, invoices. | Anything, including tables nobody planned for. |
| Where does the ERP run? | On a server in your building, behind a firewall. | In the cloud, with an API built for outside calls. |
| What should each person see? | Only their own account, or only what their role allows. | Everything the ERP user it signs in as can see. |
| Can the AI change data? | Yes, but each change should be checked and sent once. | No, or only by someone who would make the same change by hand. |
| Does it combine other sources? | Yes: email, attachments, notes, other systems. | No, the ERP alone answers it. |
Reads and writes are different questions.
Most of the debate is about reads. Writes deserve their own answer, whichever way you read.
An agent that writes straight into the ERP can post the wrong document from a misread email, or post the same order twice when a call times out and it tries again. A safer pattern: the agent proposes the change, a person sees a preview and confirms it, and the change goes to the ERP through one queue that sends each write exactly once. The ERP then checks it with its own rules, so stock, credit and pricing are validated live where it matters most.
That is why the usual answer is both: read from a synced copy for speed, scale and scoping, and write to the ERP through a checked queue.
Sync for reads. A queue for writes.
Portal by Webisoft takes the sync-first route. It syncs customers, items, prices, stock, orders, invoices and payments from your ERP, with full and incremental runs, and shows any record type that stopped syncing on one screen. Cloud ERPs connect by API. On-premise ERPs connect through a small Windows service at your site that only calls out over HTTPS.
AI assistants connect through Portal's MCP server and act as the signed-in user, nothing more: a buyer sees their own account, a staff member what their role allows. Changes are off by default. When an admin turns them on, each change shows a preview the user must confirm, then goes to the ERP through the command queue, so nothing is entered twice, even after a timeout. Every call is logged. Your ERP stays the system of record.
See the setup step by step in how to connect an AI agent to your ERP, or how the on-site connector works in connecting an on-prem ERP safely.
Common questions.
Is synced data out of date?
It is as fresh as the last sync run. For order status, invoices, price lists and most customer questions that is fine. For the few numbers that must be exact at the moment of a decision, like stock before you promise a date, the ERP should check again when the order is written.
When does direct AI access to the ERP make sense?
When a small number of trusted staff ask one-off questions, the data they need is not in any sync, the ERP is in the cloud with a solid API, and the assistant only reads. An analyst exploring a table is a good fit. Hundreds of customers asking about their orders is not.
Does syncing mean the portal becomes the system of record?
No. The ERP stays the system of record. The synced copy is for reading quickly and safely. Every change goes back to the ERP, which checks it with its own rules before it counts.
Why not give the AI an ERP login?
The login sees everything that user can see, so the assistant can show one customer another customer's data if a prompt goes wrong. It also means a password in an AI tool, extra load on the ERP, and no preview step between a misread request and a posted document.
Can I do both?
Yes, and most teams should. Read from a synced copy for speed, scale and scoping, and send every write to the ERP through one queue that checks it and sends it once.
See an AI assistant work on synced ERP data
Click through the live demo, or book a walkthrough on your own ERP.