Multi-Stage Lead Qualification
Run a three-stage qualification pipeline on 20 investment funds: score by research adoption likelihood, filter by threshold, estimate team sizes, then classify by a compound rule.
| Metric | Value |
|---|---|
| Input funds | 20 |
| After scoring | 15 |
| Final qualified | 14 |
| Total cost | $0.53 |
| Time | 4.2 minutes |
Add FutureSearch to Claude Code if you haven't already:
claude mcp add futuresearch --scope project --transport http https://mcp.futuresearch.ai/mcp
Tell Claude to run the multi-stage pipeline:
I have a CSV of 20 investment funds. Run this pipeline:
1. Score each fund 0-100 on likelihood to adopt research tools
2. Filter to funds scoring >= 50
3. For remaining funds, estimate their investment team size
4. Final filter: include if score >= 70 OR team size <= 5
Claude chains three FutureSearch operations with a pandas filter step:
Tool: futuresearch_rank (Stage 1: Score by research adoption)
├─ task: "Score funds 0-100 on likelihood to adopt research tools"
├─ field_name: "score"
→ 20 rows scored in 73s. Session: https://futuresearch.ai/sessions/680fb865-...
[Claude filters to score >= 50: 15 rows remain]
Tool: futuresearch_rank (Stage 3: Estimate team size)
├─ task: "Estimate investment team size per fund"
├─ field_name: "team_size_estimate"
→ 15 rows scored in 131s. Session: https://futuresearch.ai/sessions/ab54d4c9-...
Tool: futuresearch_classify (Stage 4: Final inclusion)
├─ task: "Include if score >= 70 OR team <= 5"
→ 14 of 15 pass in 49s. Session: https://futuresearch.ai/sessions/5f18a461-...
Add the FutureSearch connector if you haven't already. Then upload a CSV of 20 investment funds and ask Claude:
I have a CSV of 20 investment funds. Run this pipeline: 1. Score each fund 0-100 on likelihood to adopt research tools. 2. Filter to funds scoring >= 50. 3. For remaining funds, estimate their investment team size. 4. Final filter: include if score >= 70 OR team size <= 5.
Results take about 4 minutes.
Go to futuresearch.ai/app, upload a CSV of 20 investment funds, and enter:
Score each fund 0-100 on likelihood to adopt research tools.
Then filter results to funds scoring >= 50, re-upload, and run additional stages for team size estimation and final classification.
The FutureSearch SDK chains multiple operations in a single session. This example demonstrates a three-stage lead qualification pipeline using rank(), pandas filtering, and classify().
pip install futuresearch
export FUTURESEARCH_API_KEY=your_key_here # Get one at futuresearch.ai/app/api-key
import asyncio
import pandas as pd
from futuresearch import create_session
from futuresearch.ops import rank, classify
async def main():
async with create_session(name="Multi-Stage Lead Screening") as session:
# Stage 1: Score by research tool adoption
scored = await rank(
session=session,
task="Score funds 0-100 on likelihood to adopt research tools",
input=funds_df,
field_name="score",
)
# Stage 2: Filter by threshold
filtered = scored.data[scored.data["score"] >= 50].copy()
# Stage 3: Research team sizes
with_teams = await rank(
session=session,
task="Estimate investment team size per fund",
input=filtered,
field_name="team_size_estimate",
)
# Stage 4: Final screening
final = await classify(
session=session,
task="Include if score >= 70 OR team size <= 5",
categories=["include", "exclude"],
input=with_teams.data,
)
return final.data
results = asyncio.run(main())
Results
14 of 20 funds qualified after the three-stage pipeline. The one excluded fund (Fixed Income Plus, score 55, team 12) fell below the score threshold and had too large a team.
| Fund | Score | Team Size | Qualified |
|---|---|---|---|
| Tiny Ventures GP | 85 | 1 | Yes |
| Boutique Micro Fund | 92 | 2 | Yes |
| Nano Cap Hunters | 95 | 4 | Yes |
| Deep Dive Capital | 95 | 5 | Yes |
| Activist Value Fund | 95 | 12 | Yes |
| Fixed Income Plus | 55 | 12 | No |