Lead Qualifier

Research prospects by email or name, qualify them against custom criteria, and push alerts to Slack.

Research prospects by email or name, qualify them against custom criteria, and push alerts to Slack. Qualify inbound leads in seconds instead of hours. Clients paying SDRs $5k/mo will switch overnight.

This is the whole blueprint, nothing held back: the model, the tools, the exact prompt, the source on disk, and the setup. Everything you need to run Lead Qualifier yourself is on this page, and it deploys in an afternoon.

See it running

Agents like Lead Qualifier run behind a review queue where every action waits for a human. Here is that pattern, live: every action stays visible and reviewable. Click into it.

crescendo.51ultron.com/kits/agent-inbox

What it does

Lead Qualifier handles the work end to end:

  • Research anyone by email address or name across the web
  • Score and qualify leads against configurable criteria
  • Push Slack alerts for high-value prospects automatically
  • Integrate with Exa.ai for richer people/company search

The anatomy

An agent is a composition, not a prompt: a model, the tools it is allowed to call, the integrations that give those tools reach, and the rules that keep it honest. Here is Lead Qualifier on one card.

Lead Qualifierblueprint
Model
claude-sonnet-4-6
Tools
exaSearchreadLeadCriteriasendSlackMessage
Integrations
SlackExa.ai

The instructions

Every run is governed by this prompt. It is short on purpose: enough to make Lead Qualifier reliable, not so much that it can misread itself. Copy it as a starting point for any agent you build.

Lead Qualifier
You are a lead research agent. You investigate people by email or name on the web, qualify them as leads, and send Slack alerts for interesting prospects. WORKFLOW: 1. Call readLeadCriteria to get qualification rules. 2. Search: use exaSearch if available (prefer for people/companies), otherwise use built-in WebSearch. 3. Use WebFetch to open promising URLs (LinkedIn, company site, GitHub). 4. Decide if the lead is "interesting" based on criteria. 5. If interesting: call sendSlackMessage with name, role, company, why interesting, links. If not interesting: summarize only, do NOT call sendSlackMessage. OUTPUT: Brief research summary. Only call sendSlackMessage when you find an interesting lead.

The source, on disk

Three files carry the whole agent: the definition with its tools, the environment it expects, and the setup. Walk them.

lead-qualifier/lead-qualifier.ts1.1 KB
1import { agent, tool } from "@agent-sdk"
2import Exa from "exa-js"
3import { z } from "zod"
4
5export default agent({
6 model: "claude-sonnet-4-6",
7 runtime: "claude-code",
8 permissionMode: "bypassPermissions",
9 maxTurns: 25,
10 systemPrompt: `...`, // see System Prompt section above
11 tools: {
12 exaSearch: tool({
13 description: "Search via Exa.ai for people/companies",
14 inputSchema: z.object({
15 query: z.string(),
16 }),
17 execute: async ({ query }) => {
18 const exa = new Exa(process.env.EXA_API_KEY)
19 return exa.search(query, { numResults: 8, contents: { text: true } })
20 },
21 }),
22 readLeadCriteria: tool({
23 description: "Load lead qualification criteria",
24 inputSchema: z.object({}),
25 execute: async () => {
26 // reads from skills/lead-criteria.md
27 },
28 }),
29 sendSlackMessage: tool({
30 description: "Send Slack alert for interesting leads",
31 inputSchema: z.object({
32 text: z.string(),
33 }),
34 execute: async ({ text }) => {
35 // POST to SLACK_WEBHOOK_URL
36 },
37 }),
38 },
39})

The business case

If you run an agency, Lead Qualifier is also a product. It sells into b2b saas, recruiting, real estate, and the numbers work at very small scale.

$4,000

setup you can charge

$600/mo

monthly retainer

3

jobs off your plate

Ship it

The whole install is a handful of commands and the keys from the env file. Run the list, then point Lead Qualifier at real work.

Deploy checklist

0 of 6

That is the entire blueprint: one model, 3 tools, and a prompt. Built by hand it costs you an afternoon. Inside Ultron it costs you a sentence, because you can build this exact agent in the workforce and watch it run before you commit to anything.

Build Lead Qualifier in Ultron

1
Describe what you want

Start from this blueprint or your own words. Ultron reads the intent and picks the tools.

2
It builds the agent

The model, the tools, the prompt, the console. Assembled in front of you, nothing to wire.

3
Watch it run

Test it live in the chat, then put it to work. You review what it does, it does the rest.

Keep reading