Skip to content
2023 Quandoo · Software & data / AI & automation

One restaurant record from seven sources

Fuzzy matching that merges the same restaurant across seven websites and the CRM into one record, with the results pushed back into Salesforce for the sales team.

Context
Quandoo, Market Catalog team
Role
Data Engineer
When
2023
Monthly run. Every count is logged in BigQuery and shown on a Data Studio dashboard. Sources to Load + extract; Load + extract to Exact match; Exact match to Enrich existing (found); Exact match to Fuzzy match; Fuzzy match to Sales review (≥ 85%); Fuzzy match to New lead (no match); Sales review to Enrich existing (confirmed); Sales review to New lead (denied) found ≥ 85% no match confirmed denied Sources 7 websites Load + extract raw tables · BQ Exact match name, address, phone Fuzzy match same zip + street Enrich existing rating, links, phone Sales review confirm or deny New lead Salesforce
Monthly run. Every count is logged in BigQuery and shown on a Data Studio dashboard.

The situation

When dealing with multiple data sources searching for leads, your pipeline often processes duplicated leads. A restaurant, across several data sources, can have the same name, or it can have its name written differently; a duplicated character, a restaurant chain with the area name, a reformatted name based on the pronunciation, and other similar cases.

The problem to solve is to make sure that the sales team don’t receive duplicated leads, and instead to receive a clean list of potential restaurants to address.

What I built

A batch pipeline that automatically get triggers (through orchestrated DAG) after the scraping and ingestion script:

The result

The sales team receives only new leads, without duplicates. Pre-existing restaurants stay up to date without manual work, and only the uncertain cases need a human decision.

The tools