Lead List Cleaning
Clean any lead CSV (GetLeads.io, Apollo, Clay, LinkedIn) before rendering Pitchlane videos. Works on any CSV path the user provides (or leads/raw.csv if inside workspace/).
Rules
- Normalize columns (when creating a clean export):
first_name,last_name,email,company,website,title,linkedin_url. - Email hygiene: Trim, lowercase
email. Drop missing/invalid emails (invalid_email) and role inboxes (info@,support@,sales@,admin@,noreply@→role_inbox) unless the user asks to keep them. - Dedupe: Drop duplicate lowercase emails (
duplicate_email). If the user only wants 1 contact per company, also dedupe by root domain (duplicate_domain). - Websites: Drop rows with missing/invalid
website(missing_or_invalid_website). Prependhttps://if missing; striputm_*params. Do not guess websites from corporate email domains unless the user approves. - Pre-flight reachability check:
Drops unreachable, 4xx/5xx, timeout, and parked domains intobun run skills/playbooks/list-cleaning/scripts/check-urls.ts <input.csv> <clean.csv> <skipped.csv><skipped.csv>withskip_reason. - Report: State input count, clean count, and skipped counts by
skip_reason(name dropped leads when the list is small).