Goddard School – two-way LineLeader CRM sync

Goddard, the franchisor behind several hundred Goddard School early-education schools, chose LineLeader CRM to run its lead-to-enrollment pipeline. Its own franchise management system (FMS) stayed the system of record for enrolled families and billing. Leadership wanted a change in either system to show up in the other, so schools could move to the CRM in phases instead of in one big cutover.

The catch was LineLeader. It only supports polling, with no event stream to subscribe to. That called for a middleware sync service that keeps two independent systems of record in agreement, one change at a time. I worked on it as a consulting engineer, across the backend, the CRM integration and the operator web app.

How the sync works

The service watches a change feed on each side. On the FMS side it reads SQL Server change data capture straight from the database, with a durable cursor. On the CRM side it polls LineLeader’s updates endpoint. Every change becomes a durable job that’s applied to the other system. A dropped, duplicated or misrouted change is worse than a slow one, so the design puts correctness first: every step is safe to replay, and failures are loud, not silent.

  • Echo prevention. Rows the service writes are stamped with its own identity so the reader skips them, and the CRM feed filters out the service account. A change the service made never comes back as a new one.
  • Safe to run twice. Delivery is at-least-once, so every writer tolerates a replay. Permanent problems, like an unmapped record, go to a dead-letter queue for a person to look at. Temporary ones retry on their own.
  • No stale writes. Change detectors carry only the record’s identity. The writer reads the current state at the moment it writes, so a burst of quick edits can’t apply an out-of-date value. Single-worker queues keep writes in order.
  • Conflicts. When both sides change the same record, the latest change wins, judged by when it happened in the source system, not by when the service noticed it.

What I built

I stood up the repo and the Azure DevOps pipeline (tests, coverage, secret scanning, DEV and QA deploys) and hand-built the LineLeader API client, because no spec existed. I wrote the change-feed reader and delivered several sync flows end to end:

  • Signed agreements. When a parent signs the enrollment agreement in PandaDoc, a webhook listener checks the HMAC-SHA256 signature, queues a durable job and only then responds, so a crash never drops a signed document. The job sends the signed PDF to the CRM and closes the task.
  • Classroom moves. When a child changes rooms in the FMS, the service updates the CRM enrollment without touching the child’s status, then reads the record back to confirm the change landed.
  • Communication preferences. A full opt-out in the CRM maps onto the FMS’s single suppression flag, and records that were never registered are skipped instead of failing.
  • Operator web app. In the React and Redux app, I hid a lead filter for pilot schools, where it no longer applies. A per-school flag drives it, so it switches cleanly as each school joins.

The service has about 1,170 tests, including integration tests that run against real change data capture in containers.

Beyond the code

Half the job was coordination. The work crossed three repositories, two runtimes, the vendor’s support line, the platform team and infrastructure. I traced a QA outage to a backend change that had never been deployed to that environment, and untangled a private package feed access problem that turned out to be two separate gates. I ran the pre-UAT audit of all 17 flows, listed exactly which backend changes still had to reach the release branch, and documented every open thread on its ticket so the work could carry on after I rolled off.

Results

Live in DEV from July 2026, with 7,434 cross-system ID mappings seeded. In the pre-UAT audit, 15 of 17 flows passed. The other two were blocked by issues outside the sync service.