diff --git a/frontend/leads.html b/frontend/leads.html
index cda420d..d58ac60 100644
--- a/frontend/leads.html
+++ b/frontend/leads.html
@@ -869,6 +869,9 @@
No leads found
statusEl.innerHTML = 'File uploaded. Processing now...';
await loadLeads();
await loadImportHistory();
+ if (document.hidden && typeof window.notifyLeadOrbit === 'function') {
+ await window.notifyLeadOrbit('CSV import completed');
+ }
fileInput.value = '';
bootstrap.Modal.getOrCreateInstance(document.getElementById('uploadModal')).hide();
} else {
@@ -886,4 +889,4 @@ No leads found