From cf0129103e97e10977f674e782c58624914cfd95 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Fri, 24 Jul 2026 15:52:24 +0000 Subject: [PATCH] =?UTF-8?q?Carry=20the=20deal's=20client=5Fbooking=5Frefer?= =?UTF-8?q?ence=20into=20the=20Abri=20message=20=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- etl/hubspot/hubspot_deal_differ.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etl/hubspot/hubspot_deal_differ.py b/etl/hubspot/hubspot_deal_differ.py index 6a2203225..957955031 100644 --- a/etl/hubspot/hubspot_deal_differ.py +++ b/etl/hubspot/hubspot_deal_differ.py @@ -268,6 +268,12 @@ class HubspotDealDiffer: "third_party_surveyor_identifier": new_deal.get( "third_party_surveyor_identifier" ), + # The Job Number OpenHousing returned on a successful log, if any. + # The consumer reads it to tell "job exists" (amend/abandon) from + # "never logged" (log). + "client_booking_reference": HubspotDealDiffer._client_booking_reference( + new_deal + ), # Carried for the abandon flow: it dates the cancel to the confirmed # survey date, falling back to the last submission date. "last_submission_date": (