AI integration: the full guide

AI integration 4 min read

AI integration with ERP and CRM: how to connect AI to SAP, NetSuite, Dynamics, Salesforce and HubSpot

To integrate AI with an ERP or a CRM, you connect a model to the system’s official interface, let it read the records one workflow needs, and control exactly what it may write back. This guide covers the interfaces, the first use cases and the rules that keep the books safe.

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

SystemMain interfacesTypical first AI workflow
SAP S/4HANAOData and REST servicesSupplier invoice capture and matching
Oracle NetSuiteSuiteTalk REST and SOAP web servicesCash application and collections follow-up
Microsoft Dynamics 365Dataverse Web API (OData)Order entry from emailed documents
SalesforceREST API, Bulk API and platform eventsLead qualification and case summaries
HubSpotREST APIs and webhooksInbound lead response and routing
Interface names as published by each vendor. Check the edition you run, because available interfaces vary by licence and version.

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

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

Sources

  1. OWASP GenAI Security Project, OWASP Top 10 for LLM Applications 2025. genai.owasp.org
  2. 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
Let’s talk

See where AI would cut your costs.

Take the free pre-audit: a short questionnaire that returns a first estimate of where AI could cut cost in your workflows. Prefer a scored report on one workflow? Start a Feasibility audit.

Free pre-audit