Compare direct API links, iPaaS tools and custom middleware for connecting business systems: trade-offs, a decision table and common pitfalls.
In this article
Use a direct API connection when two systems have a good native or well-documented integration and the flow is simple; use an iPaaS (integration platform as a service) when you need several systems connected with standard flows and limited developer time; and build custom middleware when the logic is complex, volumes are high or you need strict control over reliability and data handling. Most real businesses end up with a mixture, so the useful question is not which one wins, but which one fits each integration.
This article explains the three options in plain terms, compares them side by side and gives you a short checklist for choosing. It builds on our general guide to API integration best practices.
The three options in plain English
Direct API integration
One system calls another system's API, or receives webhooks from it, with no layer in between. A website form posting straight to a CRM is a typical example. It is the simplest thing that can work, and when it fits, it is cheap to run and easy to understand.
iPaaS (integration platform as a service)
A hosted platform with a library of connectors, a visual workflow builder, scheduling, logging and retry features. You assemble flows such as "when a deal is won in the CRM, create a customer in the accounting package and post a message to a chat channel". Well-known examples exist from many vendors, and their capabilities and pricing change, so compare current documentation rather than relying on a summary.
Custom middleware
A service you build and host yourself, often a small application or a set of serverless functions, which receives events, transforms data and calls the target systems. It can include a queue so that no message is lost if a system is down. It costs more to build, but you decide how it behaves.
How they compare
| Factor | Direct API | iPaaS | Custom middleware |
|---|---|---|---|
| Speed to first result | Fast for simple flows | Usually fastest for common systems | Slowest |
| Developer skill needed | Moderate | Low to moderate | High |
| Flexibility for odd rules | Limited by the two APIs | Good until flows get tangled | Highest |
| Running cost pattern | Low | Subscription, often tied to usage | Hosting plus developer time |
| Monitoring and retries | You build them | Often included | You build them |
| Testing and version control | Normal code practice | Varies by tool | Normal code practice |
| Lock-in risk | Low | Higher | Low, but you own the upkeep |
No column wins every row. That is why the decision depends on your volumes, your team and how important each flow is.
When a direct API connection is enough
Choose direct integration when all of these are roughly true:
- only two systems are involved;
- the vendor documents the API well and has sensible rate limits;
- the data needs little transformation;
- a delay or temporary failure is tolerable and can be retried;
- you have a developer who can look after it.
The danger is quiet sprawl. Five systems each connected directly to four others create a tangle that nobody can draw from memory. Once you pass two or three connections, give the web some structure.
When an iPaaS makes sense
An iPaaS is a good fit when you have many small flows between popular applications and a shortage of developer time. Operations or finance staff can often build and adjust simple flows themselves, which keeps the work off the engineering backlog. Look for:
- ready connectors for the systems you actually use, including the exact objects and actions you need, not just a logo on a list;
- error handling you can see: failed runs, the reason, and a way to replay;
- access control, audit logs and sensible secret storage;
- clear information on where the platform processes and stores data.
That last point matters in Ireland and the EU. If personal data passes through a hosted platform, that vendor is usually a processor, so you need a data processing agreement and an understanding of any transfers outside the EU. Our article on GDPR international transfers and SCC basics is a good starting point. This is general information, not legal advice.
Watch the limits too. Task-based pricing can climb when a flow runs for every record, and complex branching in a visual builder is harder to review than code.
When custom middleware earns its cost
Consider building your own integration layer when:
- the business rules are intricate, for example pricing, allocation or approval logic that spans several systems;
- data volumes or response time requirements are high;
- you must guarantee delivery with queues, idempotent processing and replay;
- security or residency rules mean data cannot pass through a third-party platform;
- the integration is part of your product, not just internal plumbing.
Custom does not mean heavy. A single small service with a queue, structured logs and tests can be enough. What it does mean is that someone owns it, patches it and responds when it breaks, so plan for that from the beginning. Idempotency, meaning that processing the same message twice does not create a second invoice, is the one design habit worth insisting on.
A short decision checklist
- Count the systems. Two systems and one flow points to direct. Four or more systems point to an iPaaS or middleware.
- Rate the business impact of a failure. Missed marketing sync is annoying; a missed order is costly. Higher impact favours stronger guarantees.
- Check who will maintain it. A tool a non-developer can adjust is only a benefit if governance is in place.
- Estimate volume. Work out records per day and how that translates to the platform's billing unit.
- Review data handling. Know what personal data moves, where it is stored and who processes it.
- Plan the exit. Ask how you would move away from the platform or replace the service.
Whichever option you pick, document each flow: source, destination, trigger, field mapping, owner and what happens on failure. For CRM-specific cases such as syncing finance data, see ERP and CRM integration basics, and for deciding what to connect first, workflow automation: what to automate first.
Common mistakes
- Choosing a tool before listing the flows and their rules.
- Treating "it worked in the demo" as proof, instead of testing with realistic, messy data.
- No alerting, so failures are found by customers.
- Two-way sync without rules for conflicts, which makes systems overwrite each other.
- Hard-coded credentials, or credentials belonging to a person who later leaves.
It is worth saying a word about growth. An integration that suits one hundred records a day may behave very differently at ten thousand, because API rate limits, task-based billing and processing time all scale with volume. Ask each vendor what limits apply and what happens when you hit them: requests may be rejected, delayed or charged extra. Run a load test with realistic volumes before relying on the flow for something important.
Ownership matters as much as technology. Every integration should have a named owner, a short document and a place where its failures are reported. When the person who built a flow leaves, the business should not discover the dependency only when it breaks. A shared register of integrations, even a simple spreadsheet listing systems, triggers, owners and credentials, prevents most of that pain.
What to do next
List every system that holds customer or order data, draw the flows between them on one page and mark each as simple, important or complex. Simple flows are candidates for direct or iPaaS connections; important or complex ones deserve a closer look at middleware. Start with the single flow that causes the most manual work today.
If you would like help with this, the CloudWiss team in Dublin can talk it through under our CRM and integrations service, whether you end up with a tool, custom code or a mix.
Share this article
General educational information, not legal or professional advice for your specific situation.
