firecrawl-lead-gen
Firecrawl Lead Gen
Build a qualified prospect list from Alexandria's people and company providers. The web can find sources for criteria the providers do not cover, but profile and contact fields come from the providers.
If the user names a specific directory or database to extract, start from that source: read it with firecrawl scrape "<url>" --json, and use firecrawl interact --help for filters, pagination or load-more controls. Then enrich the missing requested fields through Alexandria (step 5). For a plain export of a company directory without qualification, use firecrawl-company-directories.
Workflow
- Set the criteria. Note the roles or seniority, company criteria (industry, size, location, technology), person location, count and output format. Separate required filters from preferences.
- Find the provider. List people providers with
firecrawl find-tools --options '{"categories":["people"],"level":"providers","limit":20}' --json. For account criteria, also find company search withfirecrawl find-tools --options '{"query":"search companies by industry, size and location","categories":["companies"],"limit":5}' --json. - Read the contract.
firecrawl list <provider> --jsonlists its capabilities;firecrawl list <provider> <capability> --prettyshows the filters and response for one. Pass only filters the contract supports; if one search has no filter for a required criterion, use a provider whose contract does. - Search. Run
firecrawl scrape <provider>/<capability> --options '<JSON matching the contract>' --json, with no URL. When company criteria apply, find matching companies first, then search for people at those company domains. Follow pagination until you reach the requested count or the results run out. Read every item indata.alexandria[]and leave out items that failed; an item can fail while the request succeeds. - Enrich the shortlist. Deduplicate by profile ID or profile URL, rank by fit, then enrich only the missing requested fields, using bulk capabilities where they exist.
- Use the web for sources only. When a criterion is one only the web shows, such as recent news or an event's speaker list, find the matching companies or people with
firecrawl search "<query>" --sources web --jsonandfirecrawl scrape "<url>" --json, then search and enrich them through Alexandria as above. Do not fill profile or contact fields from the web.
Output
A ranked table, or a CSV written with a CSV writer, with full_name, job_title, company_name, company_domain, employee_count, location, linkedin_url, work_email (only when asked for), fit_reason and sources. For account lists, use company_name, domain, industry, employee_count, hq_location, fit_reason and sources.