This guide explains how to integrate Shopware 6 (a popular e-commerce platform) with n8n (an open-source workflow automation tool), under the context of iPaaS solutions. Using n8n with Shopware lets you automate order processing, sync inventory, handle customer data, and more, without writing custom middleware. n8n is a low-code, self-hostable integration platform that can connect to hundreds of apps and APIs. By building workflows (“automations”) in n8n, developers can reduce repetitive tasks, centralize data flow, and eliminate manual updates, saving time and avoiding errors. As an iPaaS tool, n8n provides pre-built connectors and generic HTTP nodes to orchestrate data flows across on-premises and cloud systems.
n8n is open-source (built in 2019 by Jan Oberhauser) and supports 350+ applications out of the box. It lets you model complex business processes by chaining together triggers and actions (called “nodes”); each node performs a task (API call, sending email, etc.) that can execute data pipelines or notifications. Being open-source, n8n can be self-hosted for free (community edition) or used in a managed cloud version. Its node-based UI is intuitive for both developers and non-technical users, and it even allows custom JavaScript code if needed. n8n workflows can be saved, shared, and reused as JSON templates, and the community actively contributes new integrations and examples. In summary, n8n acts as an Integration Platform as a Service (iPaaS): it provides a set of cloud-based tools to build and run integration flows between Shopware and other systems, enabling real-time data sync and automated business workflows.
Before starting, ensure you have the following technical prerequisites:
These requirements ensure you can connect n8n to Shopware securely and start building integrations.
To allow n8n to call the Shopware Admin API, you must create API credentials in Shopware and then configure them in n8n as credentials. Follow these steps:
In the Shopware admin dashboard, navigate to Settings > System > Integrations. Click Create integration, give it a name (e.g. “n8n-Integration”), and optionally select a role or grant administrator privileges. Then Save the integration. Shopware will display an Access Key (Client ID) and Access Secret (Secret Key) on the screen. IMPORTANT: Copy both values now – the secret key is only shown once and cannot be recovered later. Store them securely. These two values are your Shopware API credentials.
In your n8n instance, go to Credentials and add a new credential of type “OAuth2 API (Generic)” (sometimes labeled “Generic OAuth2 API” depending on your n8n version). Choose the Client Credentials grant type. Enter the Client ID and Client Secret you obtained from Shopware. For the Access Token URL, use your Shopware OAuth endpoint, typically:
https://<your-shopware-domain>/api/oauth/token
(Replace
<your-shopware-domain>
with your actual Shopware URL.) Optionally set any required scopes (Shopware’s Admin API usually only needs the default scope). Save this credential (e.g. name it “Shopware OAuth2”).
n8n’s generic OAuth2 credential will handle requesting and refreshing the access token behind the scenes. You do not need to manually call the token endpoint.
Create a simple HTTP Request node in n8n to verify the connection. For example, set Method = GET, URL = https://<your-shopware-domain>/api/admin/product and under Authentication select the Shopware OAuth2 credential. Execute the node. If configured correctly, Shopware should return JSON data (e.g. an empty array if no products). If you get a 401 or 403 error, double-check the Client ID/Secret, the token URL, and that your Shopware integration has the necessary permissions.
With credentials in place, any n8n workflow can now call the Shopware Admin API by using an HTTP Request node with the saved OAuth2 credential.
Use case: Send an email to the shop admin (or customer) whenever a new order is placed in Shopware.
How it works: Shopware’s Flow Builder can send a webhook when certain events occur. You create a flow in Shopware for “Order placed” and add a Webhook action to notify n8n. In n8n, use a Webhook trigger node to receive the order data, then an Email node to send the notification.
Steps:
Use case: Keep a Google Sheet (or CRM) updated with customer records from Shopware.
Steps:
/api/admin/customer
.Use case: Monitor product stock and send a Slack alert when inventory is low.
Steps:
/api/admin/product
.N8N_LOG_LEVEL=debug
.Is there a native Shopware node in n8n?
As of 2025, n8n does not include a core Shopware node. Use the HTTP Request node with the Shopware Admin API.
What endpoints are available in Shopware’s API?
Shopware offers Admin and Storefront APIs. This integration typically uses the Admin API (e.g.
/api/admin/order
,
/api/admin/product
).
Can I use this with Shopware Cloud?
Yes. Create an Integration in your cloud shop and use the same OAuth2 flow.
What permissions should the Shopware integration have?
Administrator privileges are simplest. Otherwise grant read/write rights for entities you need.
Does n8n cost money?
Self-hosted n8n is free. n8n.cloud is a paid hosted service.
How do I handle large data sets?
Use pagination and batching in n8n’s HTTP Request node.
Can I trigger n8n workflows from Shopware events?
Yes, via Flow Builder webhooks or scheduled polling.
What about inventory updates?
Query product or stock endpoints or poll regularly for changes.