Business Integration Hub
How a professional services firm eliminated 20 hours of weekly manual work and achieved real-time data sync across Salesforce, QuickBooks, NetSuite, and a custom ERP
The Challenge
A growing professional services firm had a data problem that was costing them time, money, and trust.
Their operations team spent 20+ hours every week manually exporting CSVs between Salesforce, QuickBooks, NetSuite, and a legacy ERP system. A single mismatched invoice triggered a $12,000 billing dispute. Cumulative data errors cost them $50,000+ annually. And with a compliance audit approaching, they had no audit trail to show regulators.
They had tried solving it themselves. Zapier hit rate limits at 1,000 records. Custom scripts lacked retry logic—one API timeout meant lost data. Neither solution offered idempotency or observability. Both failed exactly when reliability mattered most.
They needed a purpose-built integration platform—fast, reliable, and production-grade from day one.
The Solution
We designed and built a cloud-native integration hub that connects all four systems through a single, unified platform. Real-time synchronization, intelligent data transformation, guaranteed delivery with automatic retries, and a complete audit trail for compliance—all running at $400/month.
We architected the platform with multi-tenant isolation from day one—not because this client needed it immediately, but because we build integration hubs to be reusable. Every API key maps to a tenant context, data is isolated at the database level via row-level security, and rate limits are enforced per tenant tier. This means the same platform can onboard additional business units or clients without re-architecture, turning a project cost into a long-term asset.
The Unified Integration Platform
All enterprise systems connect through the Integration Hub—one platform, one source of truth, zero manual intervention.
API Gateway
Request routing & auth
ECS Fargate
Serverless containers
SQS
Message queuing
Aurora Serverless
Auto-scaling database
EventBridge
Event-driven routing
X-Ray
Distributed tracing
Why CoreBackend
Unlike off-the-shelf iPaaS tools, we build solutions tailored to your exact workflow—no per-connector fees, no rate limits, no vendor lock-in. Unlike generic contractors, we specialize in exactly this: backend systems that need to be bulletproof. This isn't our first integration platform. It won't be our last.
How We Delivered
Overview
Hover any component for technical details. Tap any component for details.
Data flows from tenant applications through API Gateway, into SQS for reliable queuing, then workers process and deliver to external systems.
Why SQS over direct Lambda?
We chose SQS over direct Lambda invocation to guarantee zero message loss during downstream failures. The extra 50ms latency was worth the reliability gain — no data lost means no manual reconciliation.
Technical Deep Dive
For architects and engineering leaders: this section explores the system design, request flow, and resilience patterns that make this platform production-grade.
The architecture follows a fully async, event-driven pattern. Every incoming request is immediately acknowledged and queued—ensuring zero data loss even when downstream systems are unavailable. Workers process messages independently, with built-in retry logic and circuit breakers to handle failures gracefully.
We chose AWS serverless primitives (API Gateway, SQS, Fargate, Aurora Serverless) to minimize operational overhead while maintaining enterprise-grade reliability. The result: a system that scales from zero to thousands of requests per second, costs nothing when idle, and requires no infrastructure management.
Hover over any component in the diagrams below to see implementation details.
Request Flow
Every request passes through Route 53, WAF protection, and API Gateway for authentication, rate limiting, and schema validation — then enters our private VPC via secure VPC Link.
The Request Flow above ends with a 202 Accepted response and a message in SQS — the client gets a fast acknowledgment while the real work happens asynchronously. The diagram below traces what happens next: workers pull messages from the queue, load transformation mappings, call external APIs with circuit breaker protection, and handle every possible failure mode without losing a single record.
Async Processing
Workers pull from SQS, load transformation mappings from S3, call external APIs with circuit breaker protection, and handle failures with automatic retries and Dead Letter Queue routing.
Why async?
External APIs are slow and unreliable — response times range from 2 to 30 seconds. By queuing requests, we return 202 Accepted in under 200ms while guaranteeing eventual delivery. The client never waits; nothing gets lost.
Why Fargate Spot for workers?
Workers are fault-tolerant by design — if a Spot instance is reclaimed, SQS redelivers the message automatically. The visibility timeout ensures no work is lost. Result: 70% cost reduction on compute, zero reliability impact. At scale (5K TPS), this saves $8,400/year.
Built for Production
Production means handling failures gracefully, securing data end-to-end, and knowing what's happening at all times. This section covers the infrastructure patterns that make the Integration Hub enterprise-ready.
Data security is enforced at every layer. All traffic flows through private subnets with no public internet exposure. Secrets are managed in AWS Secrets Manager with automatic rotation. Multi-tenant isolation ensures one customer's data never touches another's—enforced at the database level with row-level security.
Resilience patterns protect against cascading failures. Circuit breakers prevent overwhelming struggling external APIs. Exponential backoff with jitter spreads retry load. Dead Letter Queues capture failed messages for analysis and replay—nothing is ever lost.
Observability provides complete visibility. X-Ray traces every request across all services. CloudWatch dashboards surface key metrics in real-time. Automated alerts notify on-call engineers before customers notice issues.
Data & Security
Aurora stores events with multi-tenant isolation. S3 handles mappings (cached 5 min) and archives (7 days → Glacier). Secrets Manager auto-rotates credentials.
Why Aurora Serverless over RDS?
We needed SQL flexibility with serverless economics. Aurora Serverless v2 scales to near-zero when idle — cutting database costs by 65% compared to always-on RDS while handling traffic spikes automatically.
Resilience Patterns
429 Too Many Requests with a Retry-After header.
event_id lookup in Aurora. Duplicate requests return the cached result (200 OK). New requests store a pending status and enqueue work, ensuring zero double-processing risk.
CLOSED → OPEN after 5 consecutive failures, then HALF-OPEN after 30s to test recovery. Prevents cascading failures with sub-millisecond lookups and no database calls on the hot path.
202 Accepted with a tracking_id in under 200 ms. Work continues asynchronously via SQS, decoupling request acceptance from downstream processing even when external APIs are slow.
Three phases of protection: Rate limiting and idempotency guard entry. Circuit breakers and async handoff isolate failures. Retry logic and DLQs ensure nothing is lost.
Why in-memory circuit breakers?
Redis adds latency and operational cost. In-memory circuit breakers execute in under 1ms. Since workers are stateless and ephemeral, we persist state to Aurora asynchronously for monitoring dashboards — not for the hot path.
Infrastructure & Observability
X-Ray provides distributed tracing across every request. CloudWatch dashboards surface metrics, logs, and trigger alerts. We see issues before customers notice.
After six months in production syncing data across Salesforce, QuickBooks, NetSuite, and the legacy ERP, the Integration Hub has eliminated every manual workflow the operations team relied on. The metrics below are from live production — not projections — and reflect the benchmarks the client's COO originally defined as success criteria.
Integration Hub
Production Metrics Dashboard
We went from 20 hours of manual CSV exports every week to zero. The billing disputes stopped, the compliance team has a complete audit trail, and we recovered the platform cost in six weeks. CoreBackend didn't just build an integration — they built infrastructure we'll use for years.— COO, 150-Person Professional Services Firm