The short answer
Middleware is software that sits between two or more systems and lets them talk to each other. It fetches a record from one system, converts it to the format the other system expects, and delivers it there.
An example: an order comes into your webshop. The middleware sees the order, creates an invoice for it in your accounting package and adds the customer to your CRM. Nobody retypes anything, and the three systems don’t need to know about each other. Only the middleware knows all three.
The name says it: it sits in the middle. You don’t see middleware, just as you don’t see the pipes in your walls. You only notice it when it’s missing, or when it leaks.
Where you run into middleware
Any business with more than a few systems has some form of middleware. Often it started as a small script or a Zapier flow and grew from there.
Webshop and accounting
A paid order in Shopify or WooCommerce becomes an invoice in Exact, Moneybird or Xero, with the right VAT and the right ledger account.
CRM and everything else
A new lead in HubSpot or Salesforce is enriched with company registry data and lands with the right salesperson.
ERP and stock
When stock changes in the ERP, the webshop shows it within a minute, so you never sell what you no longer have.
Payments
A payment through Mollie or Stripe switches on a subscription in your own application and books the amount in your accounts.
An old system without an API
A system that only offers an export or a database gets an adapter that behaves towards the rest like an ordinary API.
Types of middleware
The word covers several things. In computer science, the software between an application and the operating system or database is called middleware too. For most businesses it means something else: the layer that connects business systems. Within that, these are the forms you meet most often.
| What it is | When you see it | |
|---|---|---|
| Integration platform | A service like Zapier, Make or n8n where you click together flows from one system to another. | For a handful of integrations with fixed rules, which someone without programming skills wants to be able to change. |
| Custom integration in code | A small service a developer writes, with your business logic inside it. | For high volumes, sensitive data, complex rules or a system without a good API. |
| Message queue | A queue, such as RabbitMQ or a cloud queue, where messages wait until the next system can take them. | When a system is sometimes slow or unreachable and still no message may get lost. |
| API gateway | A single entrance for all your APIs, which controls who gets in and how many requests per minute pass through. | When your own systems offer APIs to customers, partners or an app. |
| Enterprise service bus | A central platform every system in a large company plugs into. | In large organisations with dozens of systems, often in use for years. |
In practice the forms mix. A business has a few flows in Make, a custom integration for the ERP and a queue in between for busy moments. That’s fine, as long as someone knows what runs where.
Middleware or API: what’s the difference?
An API is the door of a single system: the way other software can read or write its data. Middleware is what walks through those doors. It uses one system’s API to fetch something and another system’s API to store it.
With two systems that connect directly, the difference is small: the integration and the middleware are the same piece of code. It grows the moment three or more systems take part. Then something has to decide which system leads for which data, what happens on a conflict, and what happens to a message that doesn’t arrive. Those decisions are the middleware.
What good middleware does
An integration that works on a quiet Tuesday is the easy part. The work is in what happens when it goes wrong.
Lose nothing
If a system drops out for a while, the message waits in a queue and the middleware tries again later. An outage at a supplier then costs time, not data.
Do nothing twice
Webhooks sometimes arrive twice. Good middleware recognises the repeat and creates one invoice, not two.
Only the real sender
A webhook is an address on the internet. Middleware checks the signature of every message, so not just anyone can create an order.
Show what happened
Every step goes into a log. When something gets stuck, someone gets an alert with the reason attached, not a phone call from a customer.
Handle change
Suppliers sometimes rename a field or switch off an old API. Middleware that absorbs that in one place saves you from repairing everything at once.
An integration that fails silently is worse than no integration. Without one, everyone knows they have to do it by hand.
When do you need middleware?
Not for two systems that swap a file once a day. You do the moment one of these applies.
- Three or more systems know the same customer, and each has its own version, with a different address or phone number.
- An employee is the integration: every morning an export leaves one system and an import goes into the next.
- One flow has become a web of flows, and nobody can say which one does what, or what happens when one stops.
- You want to replace a system, and you can only do that once the rest no longer hangs on it directly.
For a few simple integrations, an integration platform is often enough. When it pays to have a custom integration built instead is covered in Zapier, Make or a custom integration. If a language model also has to read or decide inside the flow, you’re looking at agentic workflows.
Conclusion: the layer you don’t see
Middleware is the software between your systems. It makes sure a record is entered once and is then right everywhere. Whether that’s a flow in Make or a service of your own matters less than what happens when it goes wrong: does nothing get lost, does nothing happen twice, and do you see it when something gets stuck?
Middleware = the layer in between
Fetch, convert, deliver. So your systems talk to each other without anyone retyping.
Reliability = the real work
A queue, a duplicate check and a log. That's the difference between an integration that works and one that keeps working.
What is middleware in simple terms?
What is an example of middleware?
What is the difference between middleware and an API?
Is Zapier middleware?
What does a middleware developer do?
Can middleware connect a system without an API?
Systems that need to talk to each other?
Our senior developers build integrations that lose nothing and show what happens. Tell us which systems you use, and we’ll tell you which integration saves the most manual work.