Lead Automation

Automated Lead Distribution

Project Image
CHALLENGE

Lead patching was handled manually by engineers and the Performance Marketing team across Google Sheets, creating operational overhead, delays, inconsistencies, and diverting resources from higher-value work.

STRATEGY

Designed a comprehensive automated lead patching system within EOS — including business rules engine, priority-based distribution queue, lead classification, duplication checks, WhatsApp fallback mechanisms, and in-app notifications.

RESULTS

Retired all manual Google Sheet processes, achieved 99%+ lead classification accuracy, and established EOS as the single source of truth for all lead flows with automated round-robin distribution.

BACKGROUND

From manual patching to automation

At 99.co, "lead patching" is the process of distributing incoming property leads to the right real estate agents. Previously, this was handled manually by engineers and the performance marketing team across multiple Google Sheets. The process was error-prone, introduced delays and inconsistencies, and diverted marketing and engineering resources from higher-value work.

The scope of this project was massive — it touched every part of the lead lifecycle: from initial lead classification (Project Lead vs. Bonus Lead), through duplication checking, WhatsApp validity verification, priority-based distribution queuing, all the way to push notifications delivered to agent mobile apps.

By moving the entire workflow into EOS and automating key steps, we ensured a scalable and reliable system without repeated manual intervention — and established EOS as the single platform for all lead management.

STRATEGY

Building the automation engine

The system was designed as an interconnected pipeline of automated checks and distribution logic:

01

Automated lead patching & business rules

Encoded all existing patching rules (campaign ID, CEA number, lead source) directly into EOS. The system automatically patches leads based on predefined business rules without any manual intervention — no Google Sheets required.

02

Priority-based lead recipient sequencing

Built a three-tier priority system: Default Priority (round-robin), First Priority (receives leads every 5 turns), and Second Priority (every 10 turns, auto-triggered when package expiry < 5 months). Users can reorder recipients through a drag-and-drop interface with optimistic locking for concurrent edits.

03

Lead classification & duplication engine

Implemented early classification (Project Lead vs. Bonus Lead) based on Active Campaign status, plus a 6-month lookback duplication checker that runs after funnel save but before campaign assignment — preventing duplicate lead processing across both flows.

04

WhatsApp fallback & in-app notifications

Built a multi-provider fallback (2chat → Whapi.cloud) with 3-retry logic for WhatsApp message delivery, plus native push & in-app notifications via CleverTap to replace WhatsApp — reducing costs and ensuring META policy compliance.

RESULTS

Delivery highlights

This project consolidated multiple manual workflows into a single automated platform:

AUTOMATION

100%

Manual lead patching via Google Sheets fully retired; EOS handles all patching natively.

CLASSIFICATION

99%+

Lead classification accuracy for Project Lead vs. Bonus Lead categorization.

DEDUPLICATION

6 months

Lookback window for duplicate detection, preventing duplicate processing across both lead flows.

DISTRIBUTION

3 tiers

Priority levels for lead recipient sequencing: Default, First Priority, and Second Priority.

RELIABILITY

2 providers

WhatsApp fallback mechanism: 2chat primary → Whapi.cloud backup, with 3-retry logic.

NOTIFICATIONS

Push + WA

Dual notification system running in parallel during transition, with 10-day warm-up campaign for agent adoption.