Key takeaways
- Use the vendor’s official interface. Reading the database directly or driving the screen breaks at the next upgrade.
- Start read-only. Add write access one transaction type at a time, with a person approving anything that moves money.
- Good first workflows are high in volume and governed by written rules: invoice posting, cash application, lead routing, ticket resolution.
- In a Gartner survey, 63% of data leaders said they lack, or are unsure they have, the right data practices for AI. Master data is the usual weak point.
How AI reaches an ERP or CRM
Every major business system publishes an interface for other software. The AI layer should use it like any other integration, through a service account with its own permissions.
Common systems and their integration interfaces
| System | Main interfaces | Typical first AI workflow |
|---|---|---|
| SAP S/4HANA | OData and REST services | Supplier invoice capture and matching |
| Oracle NetSuite | SuiteTalk REST and SOAP web services | Cash application and collections follow-up |
| Microsoft Dynamics 365 | Dataverse Web API (OData) | Order entry from emailed documents |
| Salesforce | REST API, Bulk API and platform events | Lead qualification and case summaries |
| HubSpot | REST APIs and webhooks | Inbound lead response and routing |
Read first, write later
The safest sequence has three stages. In the first, the AI only reads: it extracts, classifies and proposes, and a person enters the result. In the second, it writes drafts that a person approves, such as a parked invoice or an unsent email. In the third, it posts low-risk transactions on its own inside limits you set, and routes the rest to a queue. Each stage produces the error data that justifies the next.
This matters for security as well as accuracy. OWASP lists excessive agency, where an application built on a language model can take actions beyond what the task needs, among its top risks for 2025.1 The remedy is narrow permissions: one service account per workflow, only the objects and fields it needs, and no rights to change vendor bank details or user roles.
Where the data lets you down
An AI that matches an invoice to a purchase order depends on clean supplier records, units and tax codes. In a Gartner survey of 1,203 data management leaders, 63% said their organisation lacks, or is unsure it has, the right data management practices for AI.2 Before the build, test a sample of real cases against the master data. Duplicate suppliers, free-text fields and missing purchase orders will show up within a day, and they decide how much of the volume can run without a person.
First workflows worth building
- Invoice-to-pay automation: capture, match and post supplier invoices, with people on the exceptions.
- Collections and cash application: prioritise the ledger and apply payments.
- Tier-1 support resolution: answer repeat tickets from CRM and order data, with citations.
- Document intake: turn forms and attachments into validated records.
Built-in AI or your own integration
ERP and CRM vendors now sell their own AI assistants. They are a sound choice when the whole task lives inside one system and the vendor’s feature covers it. A custom integration earns its cost when the workflow crosses systems, for example email to ERP to bank, when you need to control the model and the data terms, or when the per-user licence costs more than the work it saves. Compare both on one real workflow before you decide. Our article on buying AI tools covers the pricing traps.
Frequently asked questions
Can AI be integrated with SAP?
Yes. SAP S/4HANA exposes OData and REST services that an AI workflow can use to read and post documents through a service account with limited permissions.
Is it safe to let AI write to an ERP?
It can be, in stages: read-only first, then drafts a person approves, then automatic posting of low-risk transactions inside set limits, with every action logged.
Should we use the AI built into our CRM or build our own?
Use the built-in feature when the task stays inside one system. Build your own when the workflow crosses systems or when you need control over the model, the data and the cost.
More AI integration guides
- Enterprise AI integration services: connect AI to the systems you already run
- AI integration cost in 2026: what drives the price and how to estimate yours
- AI integration with legacy systems: add AI without a rebuild
- MCP integration for enterprise systems: what the Model Context Protocol changes
- AI integration vs AI implementation vs AI consulting: which one you need
- How to choose an AI integration partner: a 12-point checklist
Sources
- OWASP GenAI Security Project, OWASP Top 10 for LLM Applications 2025. genai.owasp.org
- Gartner, “Lack of AI-Ready Data Puts AI Projects at Risk” (26 February 2025), survey of 1,203 data management leaders in July 2024. gartner.com
