Skip to content

iPaaS vs custom integration: how to choose an integration platform

B2Bnetwork team · · 6 min

Integrations, data and cloud

In brief

iPaaS, a cloud integration platform, pays off when you connect many SaaS applications with ready-made connectors, traffic is moderate and the flow logic is simple. Custom integration in code is the better choice when volume is high, business rules are complex, data must stay in a specific place, or a system has no connector. Most mid-sized and large companies end up using both. Decide flow by flow, based on the cost at real volumes and an exit plan from the vendor.

How the two approaches differ

iPaaS (integration platform as a service) is a service where a flow is assembled from ready-made blocks: a trigger, a connector to a system, a mapping, a condition, an action. The vendor runs the environment, scales it and provides monitoring. A custom integration is an ordinary application: code in a repository, tests, a deployment pipeline, a queue and a database that your team runs itself, in the cloud or in your own data center.

FeatureiPaaSCustom integration
First flow livedays, if connectors existweeks, the skeleton has to be built
Connectors to SaaS appsready-made, maintained by the vendorwritten and maintained in-house
Complex logic, many exceptionshard to read in a graphical editornatural in code, with unit tests
Cost at high trafficgrows with runs or messagesgrows mainly with infrastructure
Versioning and change reviewdepends on the platformstandard, in the repository
Team skillsintegration analyst, fewer developersdevelopers and DevOps
Leaving the vendorflows have to be rebuiltthe code stays with you

A third option, an ESB in your own data center, still runs at many banks and insurers. How it compares with an event platform is covered in ESB or event-driven architecture.

When iPaaS wins

  • Many SaaS apps, little traffic. CRM, HR system, e-signature tool, spreadsheets, email. Each has a connector and each exchanges a few hundred records a day.
  • Simple flows. "A new customer in the CRM creates a record in the ERP", "a signed contract goes to the archive". A few steps, few exceptions.
  • A small IT team. The platform takes servers, updates and scaling off its hands.
  • EDI exchange with partners. Some platforms have built-in EDIFACT, X12 or AS2 handling, which saves a lot of work with a dozen partners. Formats are covered in EDI integration.

When it is better to write the integration

  • High volume. Store orders at peak, machine events, payment traffic. With per-run pricing, the numbers quickly stop adding up.
  • Complex business logic. Stock reservations, splitting an order across warehouses, pricing rules. In code you can test case by case; in a graphical editor, dozens of branches become unreadable.
  • Systems without connectors. IBM i, mainframe, in-house applications from years ago. The integration has to be written anyway, and the platform only adds a layer.
  • Data location requirements. Financial services, medical data, personal data at scale. You need to know in which region the platform processes and stores data, including backups and run history.
  • A requirement for full testing. Contract tests, regression tests after every change, code review. How to set them up is described in API contract testing.

Whichever route you take, assume a message can arrive twice. The Azure Logic Apps documentation states plainly that the service delivers a message "at least once", so the receiver must reject duplicates. The same applies to code you write yourself.

Cost: how to calculate it without a price list

Platform price lists change often, so instead of amounts, calculate the drivers. Platforms usually charge in one of three ways: per flow run or action, per capacity (a plan with a set amount of compute), or per connector and environment.

A worked example: a store has 20,000 orders a month and each order triggers a flow with 6 actions (fetch, map, check customer, write to ERP, confirm, save status). That is 120,000 actions a month for orders alone. Then stock: 3,000 SKUs synchronized every 15 minutes means more than 8 million reads a month if each SKU goes separately. The same flow written in code runs on one or two containers and costs mainly team time.

Beyond the platform fee, count:

  • test and pre-production environments (whether they are billed separately),
  • people's time for maintenance: less infrastructure with iPaaS, but more work on limits and workarounds,
  • cost of change: how long it takes to add a new field to 15 flows,
  • cost of exit: how much work it takes to move the flows when the price or terms change.

Questions to ask the vendor before you choose

  1. In which region are data, run history and backups processed? Is data replicated to another region?
  2. Will the vendor sign a data processing agreement under Article 28 of the GDPR and list its subprocessors?
  3. Can flow definitions be exported in a readable format and kept in a repository?
  4. How is a change deployed: through a test environment, or does someone edit the flow in production in a browser?
  5. What are the limits: message size, run duration, calls per minute?
  6. How does the platform handle errors: retries, a dead letter queue, alerts, restarting from the point of failure?
  7. How much does leaving cost and how long does it take? Write the exit plan right away, as described in An exit plan from a vendor.

The answer to question 6 decides whether anyone notices that orders have stopped flowing. How to measure that is covered in Integration monitoring.

The most common outcome: both at once

In practice, companies combine both. Simple flows between SaaS applications go through iPaaS. Critical flows with high volume and complex logic (orders, stock, payments) are written in code and have contract tests. Some rules stay shared: the document ID from the source system, one data model, an error queue, and a catalog of all integrations with an owner. A good example of a flow that usually needs code is store and ERP integration across several sales channels.

B2Bnetwork engineers help split flows between the two approaches and build the ones that need code as part of our System integration service.

Questions and answers

Is iPaaS cheaper than custom integration?

With low traffic and many SaaS apps it usually is, because you do not build or run infrastructure. At high volume, per-run fees can exceed the cost of your own code. Calculate your flows on real numbers from recent months, including sales peaks and test environments.

Is iPaaS suitable for personal data and financial services?

It can be, if you know where the platform processes data, you have a data processing agreement and audit rights, and the vendor meets your sector's requirements. EU banks and insurers must also assess the platform as an ICT service under DORA. Without those answers, keep such flows in code, in your own environment.

What should I do when iPaaS flows have become unreadable?

Write a catalog of flows with owner and volume, then move to code the ones with the most branches and the most frequent failures. Tidy up the rest inside the platform: names, versions, a test environment. Moving everything at once rarely pays off.

Can I start with iPaaS and move to code later?

Yes, if from the start you keep the data model and rules outside the platform: documented contracts, document IDs, tests on sample messages. Then moving means rewriting a flow, not reconstructing knowledge that only the platform held.

What it looks like in a project

Connecting systems or moving them to the cloud? Talk to an architect.

Let's talk

Read more: Integrations, data and cloud

All in Integrations, data and cloud →