Skip to main content

Lead Generation

Common patterns for building lead lists, qualifying prospects, and finding decision makers.

Find Decision Makers at a Company

Use Case: Get all employees from a company and filter for decision makers.
Best Practices:
  • Set onlyHigherLevel: true to reduce API calls
  • Use AI to classify roles flexibly
  • Process in parallel with Promise.all()

Qualify Job Title Against ICP

Use Case: Check if a person’s job title matches your Ideal Customer Profile.
Variations:
  • Different ICP criteria (company size, industry, role)
  • Industry-specific roles
  • Exclude certain titles or departments

Qualify Company Against ICP

Use Case: Determine if a company matches your ICP by analyzing their website.

Find Hiring Signals

Use Case: Check if a company is hiring for relevant roles as a buying signal.

Use Case: Search for companies matching specific criteria and build a list.

Create Contacts from Company Employees

Use Case: Extract decision makers from a company and create contact records.

Enrich Leads with Company Data

Use Case: For each contact, look up their company and enrich with company data.

Score Leads

Use Case: Score leads based on multiple signals.

Best Practices

Let AI handle complex qualification logic rather than writing rigid rules. It adapts better to edge cases.
Disqualify leads as early as possible using ctx.halt() to save on downstream enrichment costs.
Process multiple leads in parallel for better performance when doing AI classification.
Return confidence scores from AI to help prioritize leads.
Use multiple data points (job title, company size, technology, hiring) for better qualification.