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.- Set
onlyHigherLevel: trueto 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.- 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.Build Company List from Search
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
Use AI for Flexible Qualification
Use AI for Flexible Qualification
Let AI handle complex qualification logic rather than writing rigid rules. It adapts better to edge cases.
Filter Early with ctx.halt()
Filter Early with ctx.halt()
Disqualify leads as early as possible using
ctx.halt() to save on downstream enrichment costs.Batch Process with Promise.all()
Batch Process with Promise.all()
Process multiple leads in parallel for better performance when doing AI classification.
Track Confidence Scores
Track Confidence Scores
Return confidence scores from AI to help prioritize leads.
Combine Multiple Signals
Combine Multiple Signals
Use multiple data points (job title, company size, technology, hiring) for better qualification.
Create Related Records
Create Related Records