Agent templatev1.0Updated 2026-11-27

Lead Qualifier

Paste your leads or attach a CSV: each gets a 0-100 score against your ideal customer with a reason for every criterion, a route - hand to sales, manual review or reject - and, after your yes, an email draft for the leads a person should check.

  • Points for every criterion, the sums checked in the sandbox
  • Thresholds calibrated to a 20-35% manual-review share
  • Drafts only: nothing is sent without your yes

By FlyMy.AI templates/lead-qualifier v1.0

Lead Qualifier: Lead Qualifier with Code execution, Chat files, Keenable, Tavily
Lead Qualifierclaude-haiku-5-5
Code executionChat filesKeenableTavily

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Lead Qualifier in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/templates/lead-qualifier/template.txt and help me set up Lead Qualifier using my own connections. Ask for the missing inputs and budget before running it.

Proof

  • 8 leadstest leads scored per criterion; the review share of 37.5% was above the band, so it proposed 70/65
  • 3 draftswritten as text for the manual-review leads, nothing sent
  • 50 sfor those 8 leads; 4 leads in English took 20 s
  • $0.015for 8 leads without enrichment; 4 leads cost $0.007
  • Publicreference project to clone
1agentone lead scoring agent
4toolspriced below
on demandrunsone chat message a batch
$0.015per 8 leads, no enrichmentmeasured

What it does

  • Reads the leads you paste or a CSV attached to the chat, and reports any row it could not parse.
  • Scores each lead on role 25, company size 20, budget 25, urgency 20 and source 10 points, or your own weights, with a one-phrase reason per criterion; the sums are checked in the sandbox.
  • Routes by the thresholds (70 and 50 by default), checks that 20-35% go to manual review and proposes new thresholds when not, keeping yours until you say yes.
  • After your yes, writes one draft per manual-review lead: its full text in the chat, or a Gmail draft if your Gmail is connected and you ask.
  • Never scores on age, gender, nationality, religion or health, and sends nothing without a yes per message.

Ideal for Sales and ops teams that get more inbound requests - forms, emails, chats - than they can answer personally.

Connects to

  • Code execution~$0.0001 / runbuilt in
  • Chat filesno chargebuilt in
  • Keenable~$0.004 / searchbuilt in
  • Tavily$0.008 / searchbuilt in

Project diagram

from the reference project
Project diagram of Lead QualifierINPUTS AND TIMERSLEADTOOLSOUTPUTSLeads: pasted or aCSVIdeal customer,weightsEnrichment, draftsLead Qualifierclaude-haiku-5-5Code execution~$0.0001 / runChat filesno chargeKeenable~$0.004 / searchTavily$0.008 / searchChecked sums,review shareScore table withreasonsEmail drafts,after yesBUDGET RULE / Enrichment only on request; drafts after your yes; every send needs its own yes.
  1. Inputs
    Leads: pasted or a CSVIdeal customer, weightsEnrichment, drafts
  2. Lead agent
    Lead Qualifierclaude-haiku-5-5
  3. Tools
    Code execution$0.0666 per sandbox hour, billed per second; parsing a CSV and checking the sums, $0.0001 in the measured runChat filesno charge: reads a CSV or text file you attach to the chatKeenableKeenable's own price: about $0.004 a search once its monthly allowance is used, plus compute time; only when you ask for enrichment, 1-2 searches per leadTavily$0.008 per search; only when you ask for enrichment
  4. Outputs
    Score table with reasonsChecked sums, review shareEmail drafts, after yes
The diagram as text
  • Inputs: Leads: pasted or a CSV, Ideal customer, weights, Enrichment, drafts
  • Lead: Lead Qualifier (claude-haiku-5-5) uses Code execution, Chat files, Keenable, Tavily
  • Tool: Code execution - $0.0666 per sandbox hour, billed per second; parsing a CSV and checking the sums, $0.0001 in the measured run (built into FlyMy.AI)
  • Tool: Chat files - no charge: reads a CSV or text file you attach to the chat (built into FlyMy.AI)
  • Tool: Keenable - Keenable's own price: about $0.004 a search once its monthly allowance is used, plus compute time; only when you ask for enrichment, 1-2 searches per lead (built into FlyMy.AI)
  • Tool: Tavily - $0.008 per search; only when you ask for enrichment (built into FlyMy.AI)
  • Output: Score table with reasons (from Lead Qualifier)
  • Output: Checked sums, review share (from Code execution)
  • Output: Email drafts, after yes (from Lead Qualifier)

Day one

from the reference project
  • 01CloneOne agent on Claude Haiku 5.5 with its welcome chat; nothing to connect.free
  • 02Answer onceYour leads or a CSV, the ideal customer, your weights and thresholds if you have them, enrichment yes or no, the drafts' language.free
  • 03First tableEvery criterion scored with a reason, the routes, the review share and a calibration if needed; the drafts after your yes.$0.015 measured, 8 leads

How it runs

templates/lead-qualifier v1.0

Runs when you answer its chat, and stops for your yes before any draft. 8 test leads took 50 s and $0.015 on a copy of the reference, 4 leads 20 s and $0.007 (measured 2026-11-27).

The agent team

from the reference project

Lead QualifierLead scoringlead

Loads the leads, scores every criterion with a reason, routes each lead, checks the review share and writes the drafts you approve.

Code executionChat filesKeenableTavily
Instruction excerpt

For each lead you score fit and intent with a weighted rubric, optionally enrich the lead with public facts about the company, decide the route, and explain the decision in one sentence. For "manual review" leads you prepare a short, personal email draft for a human to approve.

Budget: your project budget

on demand, in its chatclaude-haiku-5-5last run $0.015 on 2026-11-27 (8 test leads without enrichment, 3 drafts as text, 50 s)

You will be asked

once, in one message
  • Which leads?Paste them, or attach a CSV with name, company, role, size, budget, urgency, source and message.leads.csv
  • Your ideal customer?Default: the standard rubric.B2B SaaS, 50-500 people, CTO, $1k+/month
  • Weights and thresholds?Default: 25/20/25/20/10 points and 70/50.the defaults
  • Enrichment?Yes to look up public facts about each company with Keenable and Tavily; it asks first for more than 20 leads (default: no).no
  • Drafts in which language?The language and tone of the drafts (default: the language you write in).English, friendly

Keys and passwords never go into the chat: you connect accounts on their own pages.

What it costs

Measured on 2026-11-27

0%template markup or purchase feeUsage pricing →

Price of one run
ItemUnit pricePer runCost
Code execution: the sums$0.0666 per sandbox hour1 call$0.0001
Agent: Claude Haiku 5.5 and the run checksper token8 leads, 3 drafts$0.015
Chat files: a CSV you attachno chargenot used, leads pasted$0
Enrichment: Keenable and Tavilyabout $0.004 and $0.008 a searchnot used (default: no)$0
One run, 8 leads without enrichment$0.015

Measured 2026-11-27 on a copy of the reference with get_execution_price: 8 TEST leads without enrichment - the review share 37.5% above the 20-35% band, 70/65 proposed, 3 drafts written as text - $0.015 in 50 s; 4 leads in English cost $0.007 in 20 s. Enrichment is the main extra cost, 1-2 searches per lead, and the agent asks before searching for more than 20 leads.

What stays yours

the same for every template

Your connections stay yours

A copy never carries the author's keys or connections.

Nothing runs until you answer

Clone creates the agents and a setup chat; nothing bills before your reply.

A budget you set

Choose the budget before the first run. Review usage in your own project.

Versions

a copy keeps the version it was made from
  • v1.02026-11-27First public template: one agent on Claude Haiku 5.5 scores leads 0-100 with a reason per criterion, routes them, calibrates the review share and writes the drafts you approve.

Other ways to start

01 - Clone in FlyMy.AI

Open the reference project and press Clone; a setup chat asks once.

Clone this project
02 - Your Claude or Codex

Connect FlyMy.AI with skill.md and paste the request below.

03 - API and SDK

Agents MCP projects_copy with fleet:9bdabcfc-5a0f-4870-942f-4d34bb8b93c7, or client.projects.copy.

FAQ

Is this a working project or just a brief?

A working, public reference project with one agent on Claude Haiku 5.5. Clone it and answer its welcome chat with your leads. On a copy of the reference 8 test leads took 50 s and cost $0.015 (measured 2026-11-27).

How is a lead scored?

On role 25, company size 20, budget 25, urgency 20 and source 10 points by default, or your own weights, with a one-phrase reason for every criterion. A missing field scores 0-40% of its weight from the signals in the text and says "not stated". The sums are checked in the sandbox.

What if too many leads go to manual review?

It checks that 20-35% of the leads go to manual review. When the share is outside that band it proposes new thresholds and shows the new distribution next to the current one, keeping your thresholds until you say yes.

Does it send emails?

No. Drafts come as text in the chat after your yes, as many as you approved; a Gmail draft only if your Gmail is connected and you ask. Sending always needs a yes per message. Gmail and Telegram are optional and were not part of our test.

Which data does it never use?

Age, gender, nationality, religion or health never enter a score, and a company fact without a source is not used. Test leads are marked TEST everywhere.

What does a run cost?

Measured on 2026-11-27: $0.015 for 8 leads and $0.007 for 4, without enrichment. Enrichment adds 1-2 searches per lead at about $0.004 (Keenable) or $0.008 (Tavily) each.

Can I use it from Claude Code, Codex or Cursor?

Yes, through the FlyMy.AI Agents MCP: copy the template with projects_copy, then answer the copy's welcome chat with append_message, or run the copy with run_agent and one message with your leads and your choices. Follow it with get_run; get_execution_price gives the itemised price.

Illustrative example, not a live result
# Lead qualification - <date> (<N> leads)
Rubric: role 25 - size 20 - budget 25 - urgency 20 - source 10. Thresholds: >=70 sales - 50-69 review - <50 reject.

| Lead | Company | Role | Size | Budget | Urgency | Source | Score | Route | Reason |
| <name> (TEST) | <company> (<size>) | 25 | 20 | 22 | 12 | 5 | 84 | hand to sales | <one sentence> |

Distribution: sales <n> (<x>%) - review <n> (<y>%) - reject <n> (<z>%). Target review 20-35%.

Drafts: <n> of <n> approved (text below, nothing sent).
### Draft 1 - <lead>
Subject: <subject>
<body>

Calibration note: <old vs new thresholds, why>.

Sources

Content and connection guidance checked 2026-11-27. See linked documentation for current availability and prices.