Reliable Integration of CRM and an Internal System via a Middleware Layer
Slevomat is a leading Czech-Slovak marketplace for curated deals and experiences. Its extensive sales network consists of dozens of teams operating across the Czech Republic, Slovakia, Poland, and other markets. Teams are organized both regionally and by specific product verticals (travel, local services, goods), which places high demands on cross-team coordination and requires a reliable system that sales can depend on.
- Client
- Slevomat
- Industry
- Marketplace for deals and experiences
- Service
- Custom middleware integration for HubSpot CRM
- Teams
- Slevomat developers, sales teams CZ and SK
- Status
- Running in production, phased rollout
- Technology
- HubSpot CRMCustom middlewareInternal system (CZ and SK)Two-way real-time sync
Summary
Slevomat runs its sales in HubSpot, but operations and finance stay in an in-house system with separate Czech and Slovak setups. No off-the-shelf connector fit, so we built a middleware layer that syncs data two-way in real time, routes each update to the right country and keeps the production core untouched.
- Data-exchange rules defined with Slevomat's developers, so the internal system's code barely had to change.
- Matching logic recognises partners active in both markets and prevents overwrites and duplicates.
- Stress tests in staging with simulated outages and malformed data, then a phased, monitored rollout.
How it worked before and how it works now
- Connection No connector fits the in-house system Custom middleware as a broker between the systems
- Production core Finance and operations must not be touched Systems never talk directly, the core stays unchanged
- Two countries One CRM, two separate national databases Each update routed to the right country
- Cross-border partners Risk of duplicates and overwrites Matching logic identifies partners in both markets
BeforeSales data in HubSpot had to reach an in-house system with separate Czech and Slovak setups, with no ready-made connector and no room to change the production core.
NowA custom middleware layer syncs HubSpot and both national databases two-way in real time, without duplicates and without touching the core.
The Challenge
For the central CRM to function effectively, it had to be connected to Slevomat’s financial and operational core via real-time, two-way synchronization. Three technical and process constraints shaped the integration architecture:
- Protecting the Production System: The client’s internal system handles all operational and financial workflows, requiring minimal intervention in its data model and business logic—along with strict system isolation.
- One Hub for Two Separate Databases: HubSpot serves as a single headquarters for the entire international team, while the operational backend has distinct setups for the Czech and Slovak portals. The architecture needed to route data accurately between both systems and prevent duplicate records for cross-border partners.
- No Off-the-Shelf Connectors: Because of the bespoke architecture of the in-house system, standard integration tools were not an option. No pre-built connector could meet the strict requirements for entity matching and operational stability, meaning all data-translation mechanisms had to be custom-built.
Step by step
-
Precise Data-Exchange Rules
Working closely with Slevomat’s developers, we defined exactly which data points needed to flow between the systems and mapped out a clear integration blueprint. This minimized the need to touch the internal system’s source code and strictly honored the client's requirement to keep the core untouched.
-
Custom Integration Application
We built a dedicated middleware layer that handles all real-time data traffic. Because the systems never communicate directly, data security and structural integrity remain fully protected. The middleware acts as a broker, translating and syncing information two-way between HubSpot and the internal platform.
-
Smart Routing Across Two National Databases
A critical requirement was ensuring flawless data routing between one central CRM and two separate national databases (Czechia and Slovakia). We built custom matching logic directly into the middleware so the application reliably identifies partners operating across both markets and routes every update to the right country—eliminating the risk of overwrites or duplicates.
-
Stress Testing and Phased Rollout
Before going live, the entire architecture underwent stress testing in an isolated staging environment, where we simulated network outages and malformed data inputs. The subsequent production launch followed a strictly controlled, phased rollout backed by detailed monitoring to keep data transfers fully visible at every stage.
-
Built for Future Expansion
We designed the architecture with modularity in mind from day one. If Slevomat launches into a new market, expands its service portfolio, or adjusts internal workflows in the future, the integration won’t need a rewrite—just targeted configuration updates.
The Results
The integration layer now runs in production as a stable, fully automated component of Slevomat’s data infrastructure. The custom architecture securely bridges the CRM and the operational backend in full alignment with the client’s technical requirements.
-
0% unplanned changesto the source code or core logic of the in-house system
-
100% isolationbetween systems via a secure middleware layer
-
Real-time synchronizationtwo-way data flow without duplicates or redundant operations
-
Modular scalabilityinfrastructure ready for future international expansion
Conclusion
This project demonstrates that legacy in-house systems don’t have to hold back modern enterprise tools when paired with the right integration architecture. Building an independent middleware layer allowed Slevomat to unlock the full potential of its new CRM without unplanned modifications to its production and financial core. The result is a secure, automated, two-way data pipeline that eliminates manual work and forms a scalable foundation for expansion into additional European markets.
Frequently asked questions
How do you connect HubSpot to an in-house system without changing its code?
At Slevomat we first agreed with their developers exactly which data points move between the systems. A separate middleware layer then translates and syncs the data, so HubSpot and the internal system never talk directly and the core logic stays as it was.
Can one HubSpot portal sync with two separate country databases?
Yes. Slevomat has one HubSpot for the whole team and separate Czech and Slovak setups of its internal system. Matching logic in the middleware recognises partners active in both markets and sends every update to the right country, so records are not duplicated or overwritten.
How do you launch a custom integration safely in production?
We stress-tested the whole architecture in an isolated staging environment, including simulated network outages and malformed data. The production launch followed as a phased rollout with detailed monitoring of every data transfer.