From 5639bd6e763458652f512d113ceafbb0ffaa8e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20G=C3=B3mez?= Date: Thu, 23 Apr 2026 13:08:52 +0200 Subject: [PATCH] Fix ConvLeadsLakeMesFinal: use fresh leads count instead of stale pre-run value Co-Authored-By: Claude Sonnet 4.6 --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index e7c2352..73d619f 100644 --- a/run.py +++ b/run.py @@ -254,7 +254,7 @@ def run(): # Copiar ConvLeadsLakeMes → ConvLeadsLakeMesFinal (snapshot diario) final_leads_data = [ {"airtable_id": item["campaign"]["airtable_id"], - "conv_leads_lake_mes": item["campaign"]["conv_leads_lake_mes"]} + "conv_leads_lake_mes": item["leads"]} for item in collected ] if final_leads_data: