lead-discovery
Lead discovery
Turn a campaign definition into a short list of real companies worth researching. Quality over volume: ten companies with a source and a reachable decision-maker beat fifty names.
1. Load the shared rules
Find the installed leadgen skill (a directory named leadgen containing SKILL.md,
wherever the host installs skills). Read its references/rules.md and
references/workspace.md, locate the workspace as it describes, and run
config check. Read the campaign file. Skip paused campaigns unless named.
2. Load what already exists
From the CRM, export every company in this campaign or with the same domain as a
candidate (key, name, domain, city) into runs/<date>/existing-<campaign>.json. If the CRM
is not available, use every leads-*.json under runs/ instead and say so. This is what
deduplication runs against.