Planning & implementation decisions
Should systems connect directly or through middleware?
A direct API connection can suit a small, stable exchange with clear ownership. Middleware becomes useful when multiple consumers need routing, transformation, durable delivery and shared monitoring. Both approaches require defined recovery and record ownership.
| Approach | Useful when | Trade-off |
|---|---|---|
| Direct API | Few systems with stable contracts | Less infrastructure; each connection needs its own recovery |
| Middleware / queue | Several consumers or asynchronous processing | Central delivery controls; extra operation and monitoring |
| Scheduled file exchange | An API is unavailable and delayed updates are acceptable | Validate file identity, control totals and processing receipts |
- Step 1 →
Source event
Persist a stable identity and version.
- Step 2 →
Validate and transform
Check schema, authorization and mapping.
- Step 3 →
Deliver and confirm
Record destination identity and outcome.
- Step 4
Reconcile
Compare source and destination; review unresolved differences.
Exception & recovery path
Transient error → bounded retry. Permanent validation failure → review queue. Corrected record → authorized replay using the original identity.
Which system owns each record?
Assign one authority for each entity or field: for example, ERP owns approved invoices while the payment ledger owns provider transaction evidence. Define how changes propagate and how conflicts are resolved; bidirectional sync without ownership rules can amplify errors.
What happens when the receiving API is unavailable?
Persist the event before delivery, retry transient failures with limits and backoff, and send unresolved records to a review queue. Keep a stable event identity. Reconcile the destination before replay where its API does not guarantee idempotency.
Who responds to a failed integration?
Agree an operational owner, escalation route and evidence to collect for each boundary. The source team owns record correctness; the integration owner manages delivery; the destination team confirms application. Contract terms should resolve gaps between vendors.
How do we test a connection before launch?
Use agreed contract examples for normal, missing, malformed and repeated records. Test expired credentials, rate limits, incompatible schema changes and destination outages. Demonstrate replay and reconciliation using non-production records before enabling live writes.
Take this into your project discussion
- Create an entity/field ownership map.
- Confirm API access, limits, versions and test environments.
- Define retry, review and replay behaviour.
- Test duplicate events and destination timeouts.
- Assign monitoring, credentials and incident ownership.
Planning content reviewed . Confirm current provider requirements and project-specific assumptions before implementation.
Connect the Systems Behind the Workflow
We first identify the record owner, source and destination of each event, required permissions, business rules and the staff who manage exceptions. That prevents an API connection from introducing new errors or confusion.
Payment, ERP, Inventory and Portal Integrations
Common integration requirements include applying confirmed payments to invoices, synchronizing orders with inventory, sharing approved records between internal applications or exposing selected information in a customer portal. Feasibility depends on interfaces and access available in the existing systems.
Build for Security and Reliability
Integrations need validation, identity controls, logging, safe retries, error handling and reconciliation. We document how the system should behave when a provider is unavailable and who needs to review failed or delayed updates.
Improve Processes Without Unnecessary Replacement
A targeted integration or a small custom module may solve your problem faster than replacing a familiar application. We compare the maintenance implications and integration constraints before recommending a path.
Frequently asked questions
Can you connect older applications?
We can assess the current application, data formats, vendor limitations and available API or database access.
Can several systems share one reporting view?
Where permitted data access and compatible structures exist, we can scope reporting integrations or data consolidation.
