Mohammad Al Abdullah

Portfolio

Data product · 2026

Multi-source lead engine with CRM suppression

Design and build

An automated lead generation system for a business that runs paid peer networks for executives, integrated into its CRM. It finds candidates across four sources, confirms every field against at least two of them, and leaves out anyone who is already in the CRM.

sources cross-referenced per candidate

CRM contact records checked against every run

sources must agree before a field is confirmed

records written to the CRM without human approval

The brief

The client runs confidential peer networks for senior executives, grouped by function, region and company size, and needs a steady flow of the right new members for each group. Finding them by hand took a lot of research time. The client could find leads. The problem was trusting them. Bought contact data looks confident but is partly wrong, and after a sales team gets burned twice, they stop using the list. Also, contacting someone who is already a client, or who has already said no, does more harm than not contacting them at all.

The engine finds candidates by position, company and location. Each one then goes through a chain of sources, where each source checks what is already there and fills in what is missing. A field only counts as confirmed when at least two sources agree.

At the end it checks the client's own CRM, which holds around 57,000 contact records. A match is either dropped or shown as a field-by-field difference for a person to approve.

Deliverables

What I delivered.

Cascade pipeline

Discovery, reading company websites, people enrichment, email verification and CRM suppression. Any stage can be switched off without breaking the ones after it.

Field-level provenance and confidence scoring

Every field on every candidate shows which sources it came from, and the confirmed badge only counts sources that actually ran.

CRM suppression and approval flow

A full copy of the client's CRM pulled once a week, matched first on email, then on name plus company, then on name alone. A person approves each match decision before anything is written.

Web dashboard and scheduled runs

A one-page dashboard for searching, checking the sources behind any candidate and exporting. Searches run as scheduled jobs.

Self-evaluation harness

A test that replays the website-reading step over past runs and reports how often a delivered lead is actually named on their employer's own website. It uses no paid calls.

Actions

What I did.

  • Set up the chain so a source that is switched off simply drops out. It is not called, there are no warnings about it, and it is left out of the confirmation count completely. When it is turned back on, the count just gets bigger, and leads collected while it was off are not marked down afterwards.
  • Put the free source before the paid one. The engine reads a company's own public contact pages first. If a person's email is found there, that person is removed from the list sent to the paid source, so we never pay for an email we already have.
  • Let match strength decide what the engine may do: a weak match can drop a lead, but it can never write to an existing record.
  • Built the approval step as two separate locks. Both must be open before anything reaches the client's CRM.
  • Wrote the evaluation test so the question of whether it works gets answered with a number.

Problems and solutions

What went wrong, and how I handled it.

Every project hits problems along the way. These are the ones that mattered here.

Problem

A month's budget of paid enrichment credits was used up in a single day.

Solution

I added two guards, both checked in the test suite so they cannot quietly break again. First, the paid source may only enrich people already found, and may not search for new ones, so if no names go in, nothing is called and nothing is spent. Second, a per-company cap now matches the one lead per company that is actually delivered. Letting the paid source search again would bring around 38 percent more leads, but it would use up credits several times faster. That should be a deliberate business decision, so it is off unless someone chooses to turn it on.

Problem

The CRM has no search endpoint and no way to ask what has changed since a given date, so checking whether a person already exists meant paging through the whole database on every run.

Solution

I moved the full download to a weekly scheduled job that builds and caches an index, so weekday runs check against that copy and do not need to call the CRM. An empty index is treated as an error and stops the run. If the suppression list were silently empty, the engine would contact every existing client at once.

Problem

Real contact data was once committed to git history, which put a small number of real email addresses and phone numbers into a permanent record.

Solution

The data folders are now gitignored, and the database is the only store of record. Scheduled jobs commit nothing except a push receipt with counts and a timestamp, and no personal data. To see which people were delivered, you look in the client's own CRM, which has a retention policy. Git history has none. The old exposure is documented openly. Removing it from history is a separate decision that has not been made yet.

Problem

The database shares an instance with an unrelated live product, so restoring it to undo a mistake here would roll that product back too.

Solution

Migrations only move forward and only add things, with no drops and no renames. The runner refuses any migration file that names the shared schema, and the test suite checks that it does. So a migration here cannot touch the other product at all, and nobody has to remember to be careful.

Problem

The dashboard had reset and seed buttons that were one wrong click away from wiping four tables of the client's live data.

Solution

I removed them from the interface. They are now command-line operations, and each one needs an explicit target. There is no longer a button that wipes everything.

Outcome

A lead list the sales team can use without checking it first. Every field shows its own evidence, no one already in the CRM gets contacted twice, and nothing is written back until a person approves the specific rows.

Skills and tools used

TypeScriptNodePostgreSQLSupabaseREST API integrationScheduled jobsData reconciliation