Files
webdev-pipeline/backlog/tasks/task-7 - Add-lead-qualification-deduplication-and-blacklist-handling.md
2026-06-03 21:18:36 +02:00

1.7 KiB

id, title, status, assignee, created_date, labels, dependencies, references, priority, ordinal
id title status assignee created_date labels dependencies references priority ordinal
TASK-7 Add lead qualification, deduplication, and blacklist handling To Do
2026-06-03 19:13
mvp
leads
quality
TASK-6
PRD.md
high 7000

Description

Implement the rules that turn raw business discoveries into usable lead states. Leads should be classified by contact availability, website potential, duplicate risk, existing contact history, and manual blacklist matches before any audit or outreach work starts.

Acceptance Criteria

  • #1 Leads with no usable email are placed in Kontakt fehlt while preserving phone and source data
  • #2 Generic business emails are preferred and named emails are accepted only when explicitly found as business contact addresses
  • #3 Hard duplicates are detected by domain, Google Place ID, or email; probable duplicates are flagged by name plus address or phone
  • #4 Manual blacklist entries for domain, email, phone, company name, and Place ID are enforced during discovery and review
  • #5 Priority values Hoch, Mittel, Niedrig, Zurückstellen, and Gesperrt are assigned or editable with clear reasons

Implementation Plan

  1. Add blacklist CRUD in Convex and dashboard UI.
  2. Implement email/contact extraction result fields and Kontakt fehlt transitions.
  3. Add hard and probable duplicate matching rules.
  4. Add priority assignment rules based on website/contact signals.
  5. Surface reasons and source data in lead detail and run logs.