Basecamp is the landing zone for HealthSherpa's Medicare enrollment webhook. One job, no exceptions: catch every submission and persist it durably to Postgres before anything else touches it. Matching and business logic run downstream, against the row already on disk.
The only work done inside the request is one INSERT of the verbatim JSON body. HealthSherpa retries at 20s / 10m / 1h and then gives up permanently, so nothing that can fail is allowed to run before the row is safely on disk.
A background pass splits the raw payload into contact and rider records and resolves which fields even apply — a captive downline submission and an independent-agent submission don't carry the same contact data, and normalization is what tells the two apart.
Basecamp never writes anything but the pending default to its own Salesforce-reserved columns — matching, sync, and effectuation tracking are all separate consumers of the tables this service fills, not logic that lives inside the webhook itself.
Basecamp is an internal ingestion service — not customer-facing. Deployed on Railway, feeding downstream matching and Salesforce sync. The database holds PHI and is kept on private networking only.