From 97bf001fbfd82be9fdefc1d60a917a94b12b6dce Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Thu, 2 Jul 2026 15:59:38 +0000 Subject: [PATCH] =?UTF-8?q?Abri=20survey=20creation=20trigger=20ignores=20?= =?UTF-8?q?deals=20outside=20the=20Abri=20Condition=20project=20?= =?UTF-8?q?=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- etl/hubspot/hubspot_deal_differ.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etl/hubspot/hubspot_deal_differ.py b/etl/hubspot/hubspot_deal_differ.py index b4f130f63..bacc60459 100644 --- a/etl/hubspot/hubspot_deal_differ.py +++ b/etl/hubspot/hubspot_deal_differ.py @@ -174,6 +174,8 @@ class HubspotDealDiffer: def check_for_abri_survey_creation( new_deal: Dict[str, str], old_deal: HubspotDealData ) -> bool: + if new_deal.get("project_code") != "Abri Condition": + return False return old_deal.confirmed_survey_date is None @staticmethod