OpsLabs Book a call
Case study 05 · BrokerStaffer

One record per agent,
whatever the source.

BrokerStaffer recruit real-estate agents at national scale. The same agent exists in three systems, spelled three different ways, with three different sales figures, and picking one source over the others loses numbers they paid for. We built the seven systems that make those sources agree, starting with the one record underneath all of them.

BrokerStaffer
The problem

The same agent shows up in three different places, described three different ways, with three different sales figures. Collect all three and you get three records for one person. Collect them again next month and you get six. Pick one source and throw the rest away and you lose numbers you paid for. The whole product depends on solving that, and no amount of careful spreadsheet work solves it at two million rows.

The same shape, six more times

Two sending platforms with two separate inboxes. Four vendors each reporting part of one client's week. A campaign identifier that exists in two systems at once. A client who needs to see their own pipeline and nobody else's. Every build on this page is a version of the same question, which is why they were built by the same people in the same order.

3sources, one schema
→
1record per agent
2.5Mrecords, built for
~70fields per agent
7systems built
Every name, licence number and figure shown is invented.
What we built

Seven systems,
one behind the other.

01

The agent database

A searchable database of real-estate agents, built to hold two and a half million of them. You can filter by state, sales volume, brokerage or licence, save the filters you use often, and export the result.

  • Search, filter, save. Location, sales volume, brand and office, MLS, licence, title, production. A filter set worth keeping becomes a saved view rather than something rebuilt by hand every morning.
  • One row per agent per MLS, deliberately. Collapsing further would look tidier and would permanently lose every MLS's production numbers but one.
  • Additive writes only. Re-running a market fills blanks and appends sources. It never overwrites and never deletes, which is what makes a continuous pipeline safe to run rather than nerve-racking.
  • Out the other end. Any view exports to CSV or pushes straight into a client's enrichment sheet against a chosen campaign.
02

The collection engine

The system that fills the database. It pulls agent records from three different places, puts them all into the same format, and adds them without ever creating a duplicate of someone already in there.

  • It cannot write to the database. Every record goes through one authenticated ingest endpoint that owns the remap, the match and the upsert, so there is exactly one place the rules live.
  • Around seventy fields per agent, collected in batches that flush as they go. A run that dies two thirds of the way through keeps two thirds of the work.
  • Some fields are reconstructed, not read. Seniority was only ever exposed as a way to narrow a search, never as a value on the record. The engine walks each option to its end, builds a map, and patches that one column.
  • A rolling fifteen-day refresh. A slice re-collects every couple of days, so the whole estate stays current without a single heavy sweep.
  • It watches for the ground moving. A scheduled check compares what is reachable today against a saved baseline and says so when that changes.
03

Client onboarding

Everything a new client goes through, from filling in a form to their first emails going out. It runs itself in nine stages, and only four of them need a person to do anything.

  • There is no launch button. Importing the reviewed list is what starts the campaign. A step that exists only to be clicked is a step that gets forgotten on a Friday.
  • A seven-hour safety net. If a new client has not booked their call, the welcome goes out anyway with a booking link, so nobody sits in a stage waiting on a calendar.
  • Approval is one-shot. Two people clicking approve at the same moment produces one setup, not two. Every client email sends exactly once, retries included.
  • The client's own people are never contacted. Exclusions match by name, survive commas inside company names, and resolve a typed trading name to the legal entity behind it.
  • It stops itself. Outreach pauses at the client's weekly hiring target, and a campaign a human paused is never restarted by the machine.
04

Campaign analytics

A dashboard showing how every campaign is doing: how much was sent, how many people replied, and how many of those replies were worth having.

  • The sending platform is the source of truth. The database is a cache of it. An earlier design assumed the platform could not serve daily figures and built a webhook pipeline plus an event table headed for millions of rows a year to rebuild data the API already returned. That came out.
  • Every path is a cursor over an idempotent call. A missed webhook is gone for good. A missed poll is just fetched again.
  • Watermarks move only on success, so a failed run re-covers its window instead of stepping over it.
  • Due-ness comes from the clock, not a counter. A crash-looping deploy cannot turn a three-hourly job into a thirty-second one.
  • Adding a job and forgetting to schedule it is a compile error, because at runtime it has no symptom at all. It simply never runs.
05

MasterInbox

One inbox holding every reply from both of the tools they send with. Each reply is sorted into a category the moment it arrives, so the team reads them in the order that matters.

  • Replies arrive labelled. Every inbound message is categorised on the way in, against a category set each workspace defines for itself. Fifty replies get triaged in half an hour because the reading order is already decided.
  • Drafts, not autopilot. Replies worth answering come with a suggested response pre-loaded in the composer for a person to edit and send. Only the genuinely low-risk categories, an out-of-office acknowledgement, are allowed to send on their own.
  • Saved views are shared, not personal. A filter stack like "replied three days ago, one message sent, nothing since" is named once and everyone works the same queue.
  • Snooze is a first-class action. A thread that needs thinking about leaves the inbox with a time attached and comes back on its own.
  • Every table is workspace-scoped at the database, not the query. Row-level security does the isolating, so a forgotten filter in application code cannot leak one client's inbox into another's.
06

Client portals

A private page each client gets, showing every candidate introduced to them and what stage that person has reached. They open it with a link, with no account and no password.

  • The link is the credential. A portal is a generated token in a URL. No signup, no invite, no password reset, no support ticket the first time somebody forgets one. Sharing the link is the whole handover.
  • Nine stages, and they name them. Introduction through phone screen, interview, hired, not a fit. Whatever a client calls their stages, the portal calls them that too, for everyone who opens it.
  • The database shows up here. Open a candidate and the production numbers collected upstream are already on the card: buy-side, list-side, sales volume, estimated commission, top producing city. Nobody re-keys any of it.
  • It does the boring parts. Call and text from the row, copy a batch of numbers, bulk-move a stage, export the lot, keep a do-not-contact list that the outreach side actually respects.
  • Isolation is structural, not careful. A portal is another reader against the same row-level rules as everything else, not a bypass around them, which is why handing one out is not a nervous moment.
07

The health dashboard

An internal scoreboard showing, for every client, how many emails went out this week and how many introductions came back, against the target they were promised.

  • Four sources, one weekly number. Two report sending volume, two report outcomes, and one of the four is MasterInbox. Each writes into its own column and the total is computed at read time, so any figure can still be traced back to who said it.
  • A missing source is not an outage. Any vendor that is unconfigured or unreachable short-circuits cleanly, records that it was skipped, and does not block the other three.
  • Nothing is fetched while you wait. The page reads one batched query against data already synced, so it loads at the same speed whether the vendors are healthy or not.
  • Weeks are ISO Mondays in UTC. Not a detail, a decision. Doing week maths in local time means twice a year a client's numbers land in the wrong week and nobody can explain why.
  • Every sync writes an audit row per source, so "why is this client at zero" is a query, not an afternoon.
In his words

Onboarding: 5–6 hours,
now about 5 minutes.

Recommendation · LinkedIn · August 5, 2026

I've worked with software development teams for over 10 years, and Shaurs is one of the best people I've had the opportunity to work with.

From day one, Shaurs and the OpsLabs team have been incredibly responsive, professional, and reliable. They don't cut corners, they communicate exceptionally well, and they've consistently delivered every project on time. When they commit to a deadline, they meet it.

The impact they've had on our business has been huge. Before working together, onboarding a new customer took us 5–6 hours. It was so time-consuming that we often had to schedule onboarding sessions on weekends because we didn't have enough time during the week. Today, that same process takes about 5 minutes on a live call because it's entirely automated.

The result isn't just hundreds of hours saved, it's also helped us move faster, improve the customer experience, and recover revenue that would have otherwise been lost due to slow manual processes.

What I appreciate most about Shaurs is that he thinks like a partner, not a vendor. He genuinely cares about the outcome, challenges assumptions, and always looks for the best long-term solution instead of the easiest one. That's rare.

I highly recommend Shaurs to anyone looking for an exceptional software engineering partner. We consider him and the OpsLabs team a long-term extension of our business, and I look forward to continuing to build with them for years to come.

Eddy Boccara, BrokerStafferEB Eddy BoccaraFounder · BrokerStaffer
What it looks like in production

Seven of the screens
the work happens in.

Rebuilt from the real screens. Every field, filter, category, stage name and column is the one actually there. Every agent, candidate, brokerage, contact, campaign and figure on them has been replaced with an invented one.

01 · The agent databaseone screen
A filter set that took a minute to build is saved as a view and reused, and any view leaves as a CSV or goes straight into a campaign. The sources column is the merge made visible: two dots means two systems agreed this was one person.
02 · MasterInboxtwo screens
Every row already knows which platform it arrived on, which client it belongs to, which campaign produced it, and what kind of reply it is. None of that is typed by a person, which is why fifty replies take half an hour rather than an afternoon.
Opening a reply does not mean opening four tabs. The conversation, who the person is, which campaign reached them and which platform sent it are all on the one screen, so the person answering has the context without going to look for it.
03 · Client portalstwo screens
Open a candidate and the production figures collected upstream are already there: what they sold, on which side, where, and what that is worth in commission. Nobody re-keys any of it, which is the whole reason the database exists.
The client is not reading a report, they are working a pipeline: moving candidates, calling them, marking who was hired. Stage names are theirs to rename, and the rename applies to everyone who opens the portal.
04 · Campaign analyticstwo screens
None of this is fetched while the page loads. Twelve jobs poll the sending platform on their own schedules and write into a cache, so the dashboard opens at the same speed whether the platform is healthy or not, and a failed run re-covers its window instead of leaving a hole.
Deliverability is not a separate product here, it is the same twelve jobs read a different way. Two domains out of 493 are over the line and they carry one per cent of the volume, which is the useful thing to know: not that something is wrong, but how much is riding on it.
The bug worth naming

The worst bugs
are the ones that flatter you.

The results feed carries campaign identifiers from two different platforms, and the same people exist in both. So resolving an identifier against the wrong platform does not fail. It finds a row, matches a person, and credits the campaign with somebody else's result.

Nothing errors. Nothing alerts. The numbers simply come back better than they should, which is the one direction in which nobody goes looking for a cause. The same bug pointing the other way would have been found in a week.

What we did about it

One function is the only place in the system where that decision is made, and only identifiers from the correct platform are allowed to reach a resolved record. Everything else is refused rather than guessed. It is a few lines of real logic and it is the reason the reporting can be trusted.

Why it matters here

BrokerStaffer's clients hire against these numbers. A dashboard that quietly overstates which campaign produced which hire does not just report wrongly, it sends next month's budget to the wrong place.

Most of the care in a build like this goes on failures that announce themselves. This one is the exception, and it is the reason the analytics were rebuilt around polling rather than events: a cursor you can re-run is a cursor you can check.

Working together

Is your data one system, or four that disagree?

Most companies do not have a data problem, they have a merge problem. The same customer, agent or account arrives from several places, and nobody has decided in one place which version wins. That decision is a system, and it is buildable.

Book a 30-minute call