
n8n and SAP Joule Studio connect through the Model Context Protocol (MCP), the open standard AI agents use to call tools in other systems. You expose an n8n workflow as an MCP tool. Then you register the n8n MCP endpoint as a destination in the SAP BTP cockpit, and add that MCP server to a Joule agent in Joule Studio. When a user asks Joule for something the workflow handles, the agent calls the tool. n8n runs the steps in a fixed order, with its own credentials and log, and the result comes back to Joule. Building it for you is AI agent development work we take on.
The split is useful because each side is good at a different job. Joule understands the request and knows the user's SAP context. n8n runs a sequence across SAP and non-SAP systems the same way every time. It retries what fails, waits for a person where you ask it to and records every step. SAP and n8n are also moving closer on their own. On May 12, 2026 SAP announced a strategic investment in n8n. SAP and n8n also announced a multi-year agreement under which n8n's workflow platform will be embedded natively in Joule Studio. Neither announcement gives a date for that, so this guide covers the connection you can build today.
Joule is the assistant your users talk to in SAP applications. Joule Studio is where you extend it. SAP describes Joule Studio as its development environment for custom AI agents, apps and workflows. It runs on SAP BTP (SAP Business Technology Platform), so you need a BTP account with the right service assignments and Joule licensing. It has two builders. The skill builder, released earlier in 2025, creates Joule skills for rule-based, deterministic tasks. Since SAP's announcement of December 19, 2025, the agent builder has been generally available. It creates agents that plan and run multi-step work across systems.
For this integration, three details in SAP's announcement matter. Agents can connect to external MCP servers through destinations configured in the BTP cockpit. Human-in-the-loop oversight, where a person reviews critical decisions, is on by default. Joule Studio also enforces principal propagation, which passes the user's identity along. A triggered skill or agent therefore runs within the user's own security context and authorization checks. That last point covers SAP's side. Once a call goes out to an external MCP server, the destination's authentication decides what identity n8n sees. Design n8n's side with the same care. Our SAP Joule Studio page covers the skills and agents we build inside SAP.
n8n has three MCP features, and they point in different directions. The first two make n8n an MCP server that Joule can call. The third makes an n8n agent an MCP client of someone else's server.
| Option | What it exposes | Auth | Use it when |
|---|---|---|---|
| MCP Server Trigger node | Tool nodes in one workflow, at one URL | None, bearer or header | You want a small, hand-built tool set for Joule |
| Instance-level MCP | Workflows you mark Available in MCP | OAuth or a personal access token | You want one connection and central control |
| MCP Client Tool node | Another server's tools to an n8n agent | Bearer, header, OAuth2 | An n8n agent needs tools from elsewhere |
For a Joule agent, the MCP Server Trigger node is usually the better start. It supports streamable HTTP and server-sent events, and it only runs the tool nodes attached to it. You control exactly what each tool does. Instance-level MCP is broader. Every client you connect sees every workflow you have enabled, and its tools can also create and edit workflows. n8n's docs note that you cannot restrict specific workflows to specific clients. If you run n8n in queue mode with several webhook replicas, route all MCP traffic to one dedicated replica, because n8n's docs warn that the connections break otherwise. Our explainer what is an MCP server covers the protocol itself.
Step through one request, from the user's sentence in Joule to the approval in Teams and the answer back in Joule, and watch the execution log fill up.
Two choices in that flow carry most of the risk. The n8n tool reads S/4HANA with a technical user, a system account that can only read, so a confused agent cannot change master data. The step that sends anything outside the company waits for a person. n8n supports that natively. You can require human approval in Slack, Microsoft Teams, Gmail, Outlook and other channels before an AI agent runs a specific tool. If the person denies the call, n8n cancels it and reports that back to the agent. Our post on MCP security covers tokens, gateways and approvals across every MCP server you run.
The integration goes wrong when one side does the other's job. An agent improvises a sequence that should be fixed, or a workflow tries to interpret a vague request. Pick a piece of work to see where it belongs.
The SAP side remains the system of record. n8n reads and writes through SAP's APIs with a scoped technical user, never through the database. S/4HANA's APIs are documented on the SAP Business Accelerator Hub. For the wider pattern of agents reading and writing ERP and CRM data, see enterprise AI architecture.
Supplier follow-up from Joule. The example above is a good first build because it reads SAP and writes nothing to it. A procurement manager asks Joule which active vendors have open compliance flags. An n8n tool gathers the data from S/4HANA and the compliance database, drafts the follow-ups and waits for approval before sending. It is the Joule conversation on our SAP Joule Studio page, with n8n doing the cross-system work.
Unmatched invoice triage on a schedule. Not every workflow starts in Joule. An n8n workflow can run each morning and read supplier invoices that lack a matching purchase order or goods receipt. An agent node classifies each mismatch and posts a triage card to the finance team in Teams, with the evidence attached. Joule can then answer questions about the queue through the same MCP tools. Our AI invoice automation service builds this kind of flow.
The approach is the one we already run on other ERPs. A Dutch Odoo implementation partner tried for a year to build a dental care group's scheduling inside Odoo itself. We built an agent layer over the ERP that now schedules 1,500 appointments a week. It runs on n8n and Odoo, not SAP, but the principle carries over. The ERP stays the system of record, and the automation works on top of it. Ovidius is an n8n Select Partner, listed in n8n's own expert directory, and our n8n page covers self-hosting, queue mode and plans.
Yes. A Joule agent built in Joule Studio can connect to an external MCP server through a destination in the BTP cockpit. n8n can act as that MCP server through its MCP Server Trigger node or instance-level MCP. The agent then calls an n8n workflow as a tool.
No. n8n's built-in node package has no SAP node. Workflows reach S/4HANA through its OData and REST APIs, using the HTTP Request node and a scoped technical user. That also keeps every call visible in the execution log.
Not necessarily. Community, Business and Enterprise all self-host and run queue mode. They differ in sign-in, change control and security tooling. Choose the plan by your security team's requirements, such as single sign-on and a secrets vault, rather than by the SAP connection itself.
Yes. SAP's Cloud Connector runs inside your network and opens the connection outward, so BTP can reach systems there without inbound firewall rules. Test that your Joule Studio release accepts that destination type for MCP before you commit to the design.
Yes, according to both companies. SAP and n8n announced on May 12, 2026 that n8n will be embedded natively in Joule Studio under a multi-year agreement. Neither company has published a date, so plan on the MCP connection described here until it ships.
We build Joule skills and agents, the n8n workflows behind them and the approvals between them, on self-hosted n8n in your own cloud. Start with the SAP Joule Studio page, prove one workflow with an AI pilot, or book a discovery call.