# AI Lead Qualifier & Icebreaker Generator (`deadmist/ai-lead-qualifier`) Actor

Score B2B leads against your ideal customer profile with AI. Reads each lead's website and returns industry, services, size, ICP fit score with reasons, and a personalized cold email first line. Works with Google Maps and other lead datasets. Pay per lead.

- **URL**: https://apify.com/deadmist/ai-lead-qualifier.md
- **Developed by:** [Vladyslav Kosenko](https://apify.com/deadmist) (community)
- **Categories:** Lead generation, AI, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 qualified leads

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## AI Lead Scoring & Cold Email Icebreaker Generator

You scraped 2,000 leads. Which 200 are worth emailing, and what do you say first?

Describe your **ideal customer** in plain words, and give this Actor your leads: websites, a CSV list or the dataset of another scraper. For every lead it reads the company website and returns:

- **industry, services, customers, location and size**, as the company describes itself;
- an **ICP fit score** from 0 to 100, with a confidence level and the **evidence behind the score**;
- **disqualifiers**: wrong industry, too big, out of region, site down;
- a **personalized cold email first line** that mentions a specific, true detail from the website;
- a two-sentence **summary** of the company.

Your original lead fields are kept, so you get your list back with AI columns added, ready to sort by score.

You pay $0.01 per qualified lead, and leads that fail are free. AI usage of about $0.001 per lead (Fast mode) is billed to your Apify account at cost.

### Who it is for

- **Agencies and freelancers** prospecting local businesses from Google Maps.
- **SDRs and founders** who need to cut a scraped list down to real prospects.
- **Lead-gen sellers** who want to deliver qualified, enriched lists instead of raw data.

### How to use it

1. Write your **Ideal customer profile**: industry, size, region and what rules a company out.
2. Optionally add **What you offer**. It makes the first lines more relevant.
3. Add leads: paste websites into **Leads**, or pick a dataset from a previous run, such as **Google Maps Scraper** or **Website Contact Details Scraper**. Any item with a `website`, `url` or `domain` field works.
4. Run it and sort the **Overview** table by ICP score.

### Input example

```json
{
  "icp": "Developer-focused B2B SaaS startups with roughly 10–300 employees that sell APIs or developer tools and run product-led growth. Not big tech, agencies or consumer apps.",
  "offer": "We write technical tutorials and docs that turn developer traffic into signups.",
  "leads": ["resend.com", "posthog.com", { "name": "Supabase", "website": "https://supabase.com" }, "microsoft.com"]
}
```

### Output example

Real results from that input:

| Company | Score | Why | First line |
|---|---|---|---|
| Resend | 88 | Developer email API with SDKs, quickstart and self-serve signup: clear PLG fit. | Your React Email components spare developers from table-based HTML, and our tutorials could help your new signups get their first email sent faster. |
| Supabase | 62 | Developer platform with free tier and PLG, but $1B raised and 10M+ developers suggest it may be above 300 employees. | Saw Supabase's Vector and Edge Functions pages; a tutorial walking developers from first query to first signup could help your community convert faster. |
| Microsoft | 2 | Large big-tech corporation, far outside the startup profile. | — |

One row in full:

```json
{
  "companyName": "Resend",
  "website": "https://resend.com/",
  "industry": "Developer email API and email sending platform",
  "services": ["Transactional email API", "Marketing emails", "React Email"],
  "customers": "Developers and product teams",
  "companySize": "unknown",
  "icpScore": 88,
  "confidence": "high",
  "icpReasons": "Clear developer-focused API product with SDKs, a copy-paste quickstart and a 'get started in minutes' signup flow, which matches product-led growth.",
  "disqualifiers": [],
  "icebreaker": "Your React Email components spare developers from table-based HTML, and our tutorials could help your new signups get their first email sent faster.",
  "summary": "Resend is an email API for developers. It sends transactional and marketing emails with SDKs for popular languages.",
  "websiteStatus": "ok"
}
```

### Tips for a good ICP

- Say who is **not** a fit: "Not franchises", "Not agencies", "Only US and Canada".
- Name **signals** you can see on a website: "offers online booking", "has a careers page", "sells on Shopify".
- Keep it to three or four sentences. The score explains itself in `icpReasons`, so you can refine the ICP after a small test run.

### AI quality

| Mode | Model | AI usage per lead |
|---|---|---|
| Fast (default) | Claude Haiku 5.5 | about $0.001 |
| Balanced | Claude Sonnet 5.5 | about $0.01 |
| Best | Claude Opus 5.5 | about $0.03 |

AI usage runs through Apify's OpenRouter integration and is billed to your Apify account at OpenRouter's price. On Apify's free plan it costs 10× more.

### FAQ

**What does it read?** The homepage and one "about" page of each lead, trimmed to the text a person would read. Social media links are not used as websites.

**What if a site is down?** The lead is still scored from the data you supplied, with low confidence and no first line, and `websiteStatus` says what went wrong.

**Are duplicates charged?** No. Leads with the same domain are processed once.

**Where do I get emails?** Run **Website Contact Details Scraper** from the same author on the best-scored leads.

# Actor input Schema

## `icp` (type: `string`):

Who is a good customer for you, in plain words: industry, size, region, signals. Example: "Independent dental clinics in the US with 2–10 dentists that offer cosmetic or implant treatments. Not hospital groups or franchises."

## `offer` (type: `string`):

Optional. One or two sentences about your product or service. It helps the AI write a relevant first line and judge fit.

## `leads` (type: `array`):

Websites or domains, one per item, or lead objects with a website field (website, url or domain) and any other data such as name or category.

## `datasetId` (type: `string`):

Optional. The ID of a dataset from another run, e.g. Google Maps Scraper or Website Contact Details Scraper. Items need a website, url or domain field. Use it together with or instead of Leads.

## `language` (type: `string`):

Language of the first line, summary and other text fields.

## `keepOriginalFields` (type: `boolean`):

Copy all fields of each input lead into the result, so you get your leads back with the AI columns added.

## `maxLeads` (type: `integer`):

Stop after this many unique leads. Duplicates by domain are skipped.

## `model` (type: `string`):

Fast (Claude Haiku 5.5) costs about $0.001 per lead in AI usage, Balanced (Claude Sonnet 5.5) about $0.01, Best (Claude Opus 5.5) about $0.03. AI usage is billed to your Apify account at cost, on top of the per-lead price; on Apify's free plan it costs 10× more.

## `maxConcurrency` (type: `integer`):

How many leads are processed at once.

## `proxyConfiguration` (type: `object`):

Proxy for loading lead websites.

## Actor input object example

```json
{
  "icp": "Independent dental clinics in the US with 2–10 dentists that offer cosmetic or implant treatments. Not hospital groups, franchises or dental labs.",
  "offer": "We run Google Ads and booking funnels that bring dental clinics new implant patients.",
  "leads": [
    "https://www.example-dental.com",
    {
      "name": "Bright Smile Dental",
      "website": "brightsmile.example.com",
      "city": "Austin"
    }
  ],
  "language": "English",
  "keepOriginalFields": true,
  "maxLeads": 1000,
  "model": "fast",
  "maxConcurrency": 8,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Score, first line and reasons per lead.

## `results` (type: `string`):

Your original lead fields plus every AI column.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "icp": "Independent dental clinics in the US with 2–10 dentists that offer cosmetic or implant treatments. Not hospital groups, franchises or dental labs.",
    "offer": "We run Google Ads and booking funnels that bring dental clinics new implant patients.",
    "leads": [
        "https://www.example-dental.com",
        {
            "name": "Bright Smile Dental",
            "website": "brightsmile.example.com",
            "city": "Austin"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("deadmist/ai-lead-qualifier").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "icp": "Independent dental clinics in the US with 2–10 dentists that offer cosmetic or implant treatments. Not hospital groups, franchises or dental labs.",
    "offer": "We run Google Ads and booking funnels that bring dental clinics new implant patients.",
    "leads": [
        "https://www.example-dental.com",
        {
            "name": "Bright Smile Dental",
            "website": "brightsmile.example.com",
            "city": "Austin",
        },
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("deadmist/ai-lead-qualifier").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "icp": "Independent dental clinics in the US with 2–10 dentists that offer cosmetic or implant treatments. Not hospital groups, franchises or dental labs.",
  "offer": "We run Google Ads and booking funnels that bring dental clinics new implant patients.",
  "leads": [
    "https://www.example-dental.com",
    {
      "name": "Bright Smile Dental",
      "website": "brightsmile.example.com",
      "city": "Austin"
    }
  ]
}' |
apify call deadmist/ai-lead-qualifier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,deadmist/ai-lead-qualifier"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/r7ZsVNFZDh0NT1KgY/builds/2nEN80gzQQ2UtCV4r/openapi.json
