Abri survey creation trigger ignores deals that already have a confirmed_survey_date 🟩

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-07-02 15:58:41 +00:00
parent 697df8ade3
commit fc2ba88759

View file

@ -174,7 +174,7 @@ class HubspotDealDiffer:
def check_for_abri_survey_creation(
new_deal: Dict[str, str], old_deal: HubspotDealData
) -> bool:
return True
return old_deal.confirmed_survey_date is None
@staticmethod
def check_for_magicplan_trigger(