Your ERP has run reliably for years, your team knows every screen, and a replacement is years away at best. At the same time, you want orders from emails to stop being retyped, supplier confirmations to stop being checked by hand, and customer questions about delivery status to be answered faster. But vendors’ built-in AI features are usually only available in the latest cloud version.
You’re not alone. According to the 2026 investment report of DSAG, the German-speaking SAP user group, 54% of SAP users in Germany, Austria and Switzerland still run SAP ECC, whose mainstream maintenance ends in late 2027. And among the AI applications SAP customers run in production, 77% are not from SAP. Many companies aren’t waiting for their ERP vendor; they’re adding AI alongside the ERP.
The tool gaining ground for this among small and mid-sized businesses is n8n. In May 2026, SAP invested in n8n and plans to embed it in Joule Studio. In April 2026, ERP vendor proALPHA announced a strategic partnership with n8n and is building its integration platform on it. This guide shows how to connect your existing ERP to n8n and AI, which connection path suits which system, and what to do if your ERP has no modern interface at all.
Why add AI instead of replacing your ERP?
Replacing an ERP is one of the most demanding projects a mid-sized company can take on. Industry surveys cite implementation costs of around €6,000 per user and a typical project duration of nine months or more, and a significant share of projects miss their time or budget targets. Add the skills shortage: according to Bitkom, Germany is short around 79,000 IT specialists in 2026.
For most AI use cases, a replacement isn’t necessary anyway. Whether an AI can read orders from emails, check delivery times or draft dunning letters doesn’t depend on how modern your ERP is, but on whether the AI can get to the data and return results. That’s exactly what an integration layer solves.
The principle: n8n as a layer next to the ERP
Instead of rebuilding the ERP, you place a separate layer next to it. Specialists call this the sidecar pattern:
- The ERP remains the system of record. It holds master data, transactions and business logic, and it stays unchanged.
- n8n orchestrates the workflows. It reacts to triggers such as an incoming email, fetches data from the ERP, passes it to an AI model, and writes the result back through the intended path.
- AI is one step in the workflow, not a replacement for the ERP. It reads, classifies, extracts and drafts, but it doesn’t post transactions on its own.
Vendors themselves now follow this pattern: proALPHA is gradually replacing its previous middleware with an integration platform based on n8n, and SAP relies on its Integration Suite and is embedding n8n in Joule Studio.
Why n8n? n8n offers over 1,000 integrations, an AI agent node and built-in human approval steps. It can run in your own data center, which is often decisive for ERP data. According to the company, more than 1,400 enterprise customers use n8n.
Which connection path fits your ERP?
Before looking at individual systems: the check shows you in two minutes which connection path fits your situation best.
Free connection check
How can your ERP be connected to n8n and AI?
6 questions, 2 minutes, a recommendation for the right connection path.
The five connection paths at a glance
| Path | When | n8n building blocks | Read | Write | Effort |
|---|---|---|---|---|---|
| 1. Modern interface (REST/OData) | current ERP versions, cloud ERP | HTTP Request, dedicated nodes (e.g. Odoo) | yes | yes, via ERP logic | low |
| 2. Legacy interface (SOAP, RFC/BAPI, COM) | older SAP, Navision or industry systems | HTTP Request with XML; RFC/COM via translation layer | yes | yes, via function modules | medium |
| 3. Read the database | on-premise ERP with a SQL database | Microsoft SQL, Oracle, PostgreSQL, MySQL | yes | no, only via import | medium |
| 4. File exchange (CSV, XML) | ERP with automatic import and export | FTP/SFTP, Extract From File, XML | yes | yes, via import function | low to medium |
| 5. User interface (RPA, AI screen control) | when nothing else works | external tools triggered by n8n | limited | limited, error-prone | high in operation |
Many companies combine two paths, for example reading via the database and writing via import files. The order of checking matters: always ask about an official interface first, even if your system is old. There are often licensable integration modules nobody in the company knows about.
Path 1: Modern interface (REST/OData)
The best starting point: your ERP offers a documented REST or OData interface. n8n calls it with the HTTP Request node, and for some systems there are dedicated nodes. Reads and writes go through the ERP’s business logic, with all its validations, number ranges and permissions.
How to proceed:
- Create a dedicated service account in the ERP with exactly the permissions the workflow needs. Never use the administrator account or a personal one.
- Use a test system. Most ERPs offer a sandbox or test company.
- Start read-only, for example with a status query, and add write steps only afterwards.
Good to know: Some ERP vendors now offer their own MCP servers through which AI assistants can access the ERP directly. With its “MCP Client” and “MCP Server Trigger” nodes, n8n can do both: use an MCP server and act as one itself. How this works for analysis is described in our guide to analyzing ERP data with AI.
Path 2: Legacy interface (SOAP, RFC/BAPI)
Many older ERP systems have interfaces, just not modern ones. The good news: you can still work with them.
- SOAP: n8n has no dedicated SOAP node but can call SOAP services via the HTTP Request node, building the XML message within the workflow.
- RFC/BAPI (SAP): n8n doesn’t speak SAP’s RFC protocol directly. The usual approach is to expose function modules as OData services in SAP Gateway, release them via the SAP Cloud Connector, or build a small translation layer. Be careful with custom builds: SAP’s Node.js library for RFC has been archived and is no longer maintained.
- COM and proprietary interfaces: for example the DI API in SAP Business One or older Windows interfaces. These almost always need a translation layer provided by your ERP partner or a service provider.
Path 3: Read the database, write via import
If your ERP runs on-premise on a SQL database, n8n can read directly with its Microsoft SQL, Oracle, PostgreSQL or MySQL nodes. For many use cases that’s entirely sufficient, for example to look up delivery status, inventory or open items for an AI answer.
Three rules are non-negotiable:
- Read only, never write directly into tables. Writing to the database behind the ERP’s back bypasses validations, number ranges and logs. That leads to inconsistent data and, in the worst case, voids vendor support. Writes go through the ERP’s import function or a person.
- A replica instead of the production database. Where possible, read from a replica so queries don’t burden the live system.
- Approved views and a dedicated read-only user. Create database views with understandable field names, without HR or salary data, and a database user that can only read these views.
Check licensing first. Some vendors restrict direct database access contractually or treat access by third-party systems as indirect use for licensing purposes. This applies especially in the SAP world.
Path 4: File exchange via CSV or XML
The underrated classic: almost every ERP can export and import data as files, many automatically into a folder. n8n picks up exports from the file system or via SFTP, processes them with AI and drops import files that the ERP reads in as usual.
Advantages: The ERP isn’t changed, the import function validates data with the normal business logic, and this path is available even for very old systems.
Disadvantages: No real time. The data is only as current as the last export, and errors only surface at import.
How to make it robust:
- Every file gets a unique name and is archived after processing so nothing is imported twice.
- At first, a person checks import files before the ERP reads them in.
- n8n immediately reports via an error workflow if a file couldn’t be processed.
Path 5: Automating the user interface (last resort)
If there’s no interface, no database access and no file exchange, what’s left is automating the user interface: classic robotic process automation (RPA) or an AI that controls screen, mouse and keyboard.
How reliable is it? On the OSWorld benchmark, which measures exactly these kinds of screen tasks, the best AI systems reach a full success rate of around 42 to 44% according to published results. Anthropic itself recommends an isolated virtual machine, no credentials for the model and human confirmation for consequential actions for its computer use, and warns that the model sometimes assumes actions succeeded without checking.
Our assessment: For posting transactions or creating orders unattended, it’s not reliable enough. As a stopgap for clearly structured, recurring inputs with oversight, it can make sense. But every ERP update can break it. More on the difference between RPA and AI agents in our article on agentic AI vs. RPA.
Your ERP has no modern interface? Not a blocker.
We check which connection paths your ERP offers and build your first AI workflow with n8n with you, securely, traceably and without touching your ERP.
Major ERP systems: how to connect them
| ERP system | Recommended path | Notes |
|---|---|---|
| SAP S/4HANA | OData APIs from the SAP Business Accelerator Hub | enabled via communication arrangements; SAP Integration Suite possible as a translation layer |
| SAP ECC | RFC/BAPI as an OData service in SAP Gateway, or via a translation layer | mainstream maintenance ends late 2027; clarify licensing for indirect access |
| SAP Business One | Service Layer (REST/OData) | DI API usable only via a translation layer |
| Microsoft Dynamics 365 Business Central | API v2.0 (REST/OData v4) | online only with OAuth2; SOAP is deprecated: since version 29, Microsoft pages can no longer be published as SOAP endpoints |
| Microsoft Dynamics NAV | OData or SOAP web services, alternatively read the database | older versions often run on SQL Server |
| DATEV | DATEVconnect, booking data service, ASCII import | no official n8n node; according to users, the basic DATEVconnect version only returns balances |
| Odoo | new JSON-2 API or the dedicated n8n node | every API call is its own transaction; XML-RPC and JSON-RPC are deprecated and will be removed by Odoo 22, and the n8n node still uses the old interface |
| proALPHA | proALPHA Integration Platform (based on n8n) | vendor relies on REST interfaces and provides support itself |
| abas | REST API and Abas Connect | connectors for MS SQL, DMS and PDM available |
| weclapp, Xentral | REST API | Xentral additionally offers an MCP server |
As of today, there are no official n8n nodes for SAP, Business Central or DATEV. For SAP, they are on the roadmap according to trade press. Connection is via the HTTP Request node or community nodes. With community nodes, check their origin and maintenance before entrusting them with ERP credentials.
Six workflows you can add with n8n and AI
| Workflow | What the AI does | Connection | Human approval |
|---|---|---|---|
| Orders from emails | reads orders from email and PDF, matches customers and items | read: master data; write: order as draft | yes, before order creation |
| Matching supplier confirmations | compares date, quantity and price with the purchase order | read: purchase orders | only on deviations |
| Delivery status inquiries | answers customer questions with the current status | read only | no, for pure information |
| Reorder suggestions | suggests reorders based on stock and consumption | read: inventory; write: suggestion | yes |
| Master data maintenance | finds duplicates and incomplete records | read only, correction list | yes, correction in the ERP |
| Dunning drafts | drafts dunning letters tailored to customer history | read: open items | yes, before sending |
Read first, write in stages
A staged model has proven itself:
- Read only: The AI answers questions and creates reports. Risk: low.
- Suggest: The AI prepares records, a person approves them. n8n has built-in approval for this: before any selected tool, a “human review” step can be added, with approval via Teams, Slack, Outlook or n8n chat. If rejected, the step is aborted and the AI is informed.
- Write automatically: Only once a workflow has run without errors for weeks is approval removed for clearly defined cases, for example orders from regular customers below a certain amount.
Security: what n8n as a control center means
An n8n server connected to your ERP, email, file storage and AI becomes your company’s control center, and an attractive target. That’s not a theoretical risk.
The most important safeguards:
- Apply updates promptly. n8n ships new versions almost weekly; security updates should be applied within days. Version 2.0 significantly tightened the defaults: the node for executing system commands is disabled by default, code runs isolated, and file access is restricted.
- Not publicly reachable. The n8n interface belongs behind a VPN or secured access. Only the webhooks that genuinely need external access are exposed.
- Dedicated service accounts with minimal rights. Each workflow gets an ERP account that can only do what the workflow needs. For reading, use a database replica instead of production.
- Block dangerous nodes. The
NODES_EXCLUDEsetting lets you disable nodes such as system command execution or file access entirely. - Manage credentials centrally and rotate them regularly. n8n’s business and enterprise editions support external secret stores.
- Separate test and production. Workflows are developed on a test instance against a test ERP.
- Data protection: For any external AI service, you need a data processing agreement. For high protection needs, the language model can also run locally, as our local AI vs. cloud AI comparison shows.
Limits: when n8n isn’t enough
n8n is an orchestration tool, not accounting software. Three limits to be aware of:
1. No transactions across multiple steps. If a workflow creates an order, then adds a line item, and fails at the third step, n8n doesn’t automatically roll back the first two. Odoo, for example, explicitly documents that each API call is its own transaction. The fix: bundle related changes into a single call, make every write idempotent so a retry doesn’t create a duplicate, and catch errors with a dedicated error workflow.
2. Core logic belongs in the ERP. Pricing, posting rules and availability checks belong in the ERP, not in an n8n workflow. Otherwise you end up with a second, undocumented business logic next to the ERP.
3. Bulk data and special formats. For certified EDI, very high data volumes or complex SAP integrations, specialized integration platforms or an ERP partner are often the better choice. n8n can orchestrate them but doesn’t replace them.
What does it cost?
n8n itself (per its pricing page, as of October 2026, billed annually):
| Edition | Price | Notes |
|---|---|---|
| Community Edition | free | self-hosted; no SSO, no project permissions, no external secret stores |
| Cloud Starter | €20 per month | 2,500 executions |
| Cloud Pro | €50 per month | 10,000 executions |
| Business | €667 per month | 40,000 executions, currently self-hosted only |
| Enterprise | on request | cloud or self-hosted, extended support |
License: n8n is under the “Sustainable Use License”. Using it for your own internal business purposes is allowed, including in the free Community Edition. Offering n8n as a paid service to third parties is not.
Additional costs:
- a server for n8n, or a cloud subscription
- AI models, usually billed by usage
- licenses or fees for ERP interfaces, such as paid DATEVconnect extensions or integration modules for older ERP systems
- building the connection and first workflows, plus ongoing operation
Published fixed prices from consultancies for an initial feasibility check are in the low four figures; for a first production workflow, usually in the low to mid five figures. That’s a fraction of an ERP replacement.
Your first AI workflow in five steps
- Pick a workflow: a frequent, clearly defined process with measurable effort, such as orders from emails or delivery status inquiries.
- Check the connection path: use the check above and clarify with your ERP partner which interfaces are available and licensed.
- Set it up securely: n8n in your own network or in the cloud, a service account with minimal rights, a test system, and a data processing agreement with the AI provider.
- Start read-only and with approval: read first, then suggestions with human approval. Measure error rate and time saved.
- Expand: once the workflow runs stably, relax approval for clearly defined cases and tackle the next workflow.
Checklist: Is your ERP ready for AI integration?
Preparing ERP-AI integration with n8n
Requirements for a secure, maintainable connection to your existing ERP
ERP and interfaces
- ERP version, hosting location and database documented
- Available and licensed interfaces clarified with the ERP partner REST/OData, SOAP, RFC, import/export, integration modules
- Licensing for database access or indirect use checked
- Test system or test company available
Running n8n
- Hosting decided: cloud or own data center
- Interface not publicly reachable, only required webhooks exposed
- Owner for updates named, updates applied within a few days
- Dangerous nodes blocked (NODES_EXCLUDE)
- Error workflow with notifications set up
Access and data
- Dedicated service account per workflow with minimal rights
- Reading from a database replica or approved views
- No direct writes into ERP tables
- HR and salary data excluded
- Data processing agreement with the AI provider
Workflows
- Write steps idempotent, no duplicates on retry
- Human approval set up for write actions
- KPIs defined: time saved, error rate, approval rate
Frequently asked questions
Yes. An automation platform such as n8n runs as a separate layer next to the ERP, reads and writes data through the available interfaces and connects AI models. The ERP itself isn't changed. According to the DSAG investment report 2026, 77% of SAP users' AI applications in production don't run on SAP solutions, so many companies take exactly this path.
Yes, in three ways: read access to a copy of the ERP database, file exchange via CSV or XML using the ERP's import and export functions, or, as a last resort, automating the user interface. Ask the vendor first about licensable integration modules, which are often unknown. Avoid writing directly into ERP tables.
As of October 2026, there are official n8n nodes for Odoo, ERPNext, Xero and QuickBooks, among others, but not for SAP, Microsoft Dynamics 365 Business Central or DATEV. These systems are connected via the HTTP Request node and their REST or OData interfaces, partly via community nodes. Native SAP nodes are planned according to trade press, after SAP invested in n8n in May 2026.
For reading, that's technically straightforward, ideally on a database replica and approved views with a dedicated read-only user. Check with the vendor beforehand whether access is permitted under your license. Never write directly into the database; use the ERP's interfaces or import functions so validations and business logic apply.
n8n can be run securely, but it needs maintenance. In 2026, several critical vulnerabilities were disclosed, including CVE-2026-21858 with the maximum CVSS score of 10.0, all fixed by updates. Key measures are prompt updates, no publicly reachable interface, service accounts with minimal rights, blocked nodes for system commands, and separate test and production environments.
The self-hosted Community Edition is free and may be used for internal business purposes. In the cloud, n8n costs from €20 per month (Starter) or €50 (Pro); the Business edition costs €667 per month billed annually. On top come a server, AI models billed by usage, any ERP interface fees, and building and running the workflows.
Yes. n8n is under the Sustainable Use License, which allows use for your own business purposes, including in the free Community Edition. What's not allowed is hosting or reselling n8n as a paid service for third parties.
Yes, via the ERP's interfaces or import functions. A staged approach is recommended: read only first, then suggestions with human approval, and only after a stable test phase automatic writes for clearly defined cases. n8n has a built-in approval step for this, for example via Teams, Slack or Outlook.
n8n doesn't provide transactions across multiple steps, so write workflows must be idempotent and include error handling. Core logic such as pricing or posting rules belongs in the ERP. For certified EDI, very large data volumes or complex SAP integrations, specialized integration platforms or an ERP partner are often better suited.
Only to a limited extent. On the OSWorld benchmark, the best AI systems reach a full success rate of around 42 to 44% on screen tasks. That's too unreliable for unattended postings. As a stopgap for simple, recurring inputs with human oversight it can work, but every ERP update can break the automation.
Conclusion: keep the ERP, add the AI
In 2026, adding AI to an ERP is no longer a question of ERP generation. With n8n as a layer next to the ERP, even older systems can be connected: through a modern interface, a legacy interface with a translation layer, a database replica, or classically via files. SAP investing in n8n and proALPHA building its integration platform on it show where things are heading.
Success comes down to three things: the right connection path for your system, clean operations with updates and minimal rights, and a staged approach that starts with reading and allows writing only after approval. Then your proven ERP gains new capabilities without you having to launch a major project.
AI for your existing ERP, without replacing it
We check your ERP's connection paths, set up n8n securely and build your first AI workflow with you, from order intake to supplier communication.