# Lead Qualifier: AI Lead Scoring for Google Maps & Any Lead List (`shariful-labs/lead-qualifier`) Actor

Find out which leads will actually buy. Scores every business in your list (Google Maps Scraper results, CSV or websites) against what you sell, shows the evidence, and writes a personal opening line. AI lead scoring with no subscription.

- **URL**: https://apify.com/shariful-labs/lead-qualifier.md
- **Developed by:** [Shariful Islam](https://apify.com/shariful-labs) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 leads scored with ai

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/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

### What does Lead Qualifier do?

**Lead Qualifier tells you which leads will actually buy from you, and why.**

You already have a list of businesses, maybe 2,000 salons from Google Maps Scraper or a CSV from your CRM. Lead Qualifier checks every one of them against **what you sell**, and gives each one:

- a **fit score from 0 to 100** and a tier: **hot**, **warm**, **maybe** or **not a fit**
- the **evidence** behind the score ("No online booking: website asks clients to call", "Already uses Fresha")
- a **personal opening line** for your email or WhatsApp message, in your language
- the **best contact** found: email, phone, WhatsApp and social links

Stop guessing and stop sending the same message to 2,000 businesses. Spend your time on the 50 that need you.

### Who is it for?

- **Agencies** (web design, SEO, ads, social media) looking for local businesses that need their service
- **B2B and SaaS sales teams** prospecting small and medium businesses
- **Freelancers and consultants** who want warm leads instead of cold lists
- **Business owners** with no technical skills: describe your offer in plain words and press Start

### How does it work?

1. **Reads your leads.** Pick your Google Maps Scraper results, paste a list, add websites or link a CSV file.
2. **Checks each business like a researcher would.** It visits the website and key pages (contact, booking, pricing, menu) and records hard facts:
   - online booking or table reservation tools (Fresha, Calendly, Booksy, Jane App, OpenTable, Chope and 25+ more)
   - online ordering and stores (GrabFood, foodpanda, Uber Eats, Shopify, WooCommerce)
   - payments, analytics and ad pixels (Stripe, Google Analytics, Meta Pixel, TikTok Pixel)
   - chat and WhatsApp, newsletters, review widgets
   - how up to date the website is, whether it works on mobile and uses HTTPS
   - emails, phones, WhatsApp, Facebook, Instagram, TikTok and LinkedIn links
   - Google rating, number of reviews, recent review text, and closed businesses
3. **Judges fit with AI.** An AI model reads the evidence and decides how well the business fits *your* offer and *your* ideal customer, explains why, and writes the opening line.
4. **Gives you a ranked report.** Open the **Report** for a clean list sorted by score, or download everything as Excel, CSV or JSON.

### Example

Your offer: *"Online booking system for salons that still take appointments by phone."*

| Score | Business | Why | Suggested opener |
|---|---|---|---|
| 88 hot | Bella Hair Studio | Website asks clients to call to book; site last updated 2018; 87 reviews, one complains it is hard to get through by phone | "Hi Bella Hair Studio, your site asks clients to call to book, and one recent review mentions how hard that is. I help salons take bookings online..." |
| 64 warm | Kak Yah Beauty | No website, so customers cannot book online; only 12 reviews | "Hi Kak Yah Beauty, I couldn't find a way to book with you online..." |
| 22 not a fit | SmileCare Dental | Already books online with Jane App | |

### Use it straight after Google Maps Scraper

1. Run [Google Maps Scraper](https://apify.com/compass/crawler-google-places) for your search, for example "hair salon in Kuala Lumpur".
2. Open Lead Qualifier and pick that run's dataset in **Leads from an Apify dataset**.
3. Describe your offer and press **Start**.

You can also connect the two Actors with an Apify integration or in Make, n8n or Zapier, so new leads are scored automatically.

### Input

| Field | What to enter |
|---|---|
| **Your offer** (required) | What you sell and the problem it solves, in one or two sentences |
| Your ideal customer | Who is a great fit and who is not |
| Leads from an Apify dataset | Google Maps Scraper results or any business list dataset |
| Leads as a list / Website addresses / CSV file link | Other ways to give your leads |
| Language for opening lines | English, Malay, Indonesian, Spanish or any other language |
| About you | Your name and company, so the opener can introduce you |

### Output

Each business is one row:

```json
{
  "score": 88,
  "tier": "hot",
  "name": "Bella Hair Studio",
  "category": "Hair salon",
  "city": "Petaling Jaya",
  "reasons": ["Website asks clients to call to book", "Website last updated 2018"],
  "concerns": [],
  "angle": "Save front-desk time and stop missed calls",
  "opener": "Hi Bella Hair Studio, your site asks clients to call to book...",
  "email": "bellahairpj@gmail.com",
  "phone": "03-7781 2233",
  "whatsapp": null,
  "website": "https://bellahair.example",
  "rating": 4.4,
  "reviewsCount": 87,
  "confidence": "high",
  "method": "ai",
  "websiteChecks": { "booking_tools": [], "tracking": [], "copyright_year": 2018, "mobile_friendly": false }
}
```

The key-value store also contains **REPORT** (the readable, ranked report) and **OUTPUT** (counts by tier and the top 10 leads).

### How much does it cost?

You pay only for businesses checked. No subscription.

| Mode | Price per business | 100 businesses |
|---|---|---|
| **AI scoring, built in** (default, no setup) | $0.03 | $3.00 |
| AI scoring with **your own OpenAI key** | $0.008 + your OpenAI usage | $0.80 + OpenAI |
| **Basic checks**, no AI | $0.004 | $0.40 |

Set **Maximum businesses to check** to control your spend. The run also stops cleanly at your Apify spending limit.

### How accurate is it?

- Every score comes with the **evidence** it is based on, so you can check it in seconds.
- The AI is told to use only the evidence found and never invent facts; when information is thin it lowers its **confidence**.
- Website checks are automated, so a few sites will block visits or load content in ways that hide some tools. Treat scores as a strong first filter, not a final verdict.

### Tips for better results

- **Be specific in "Your offer".** "Booking system for salons" works; "software" does not.
- **Say who is not a fit** in "Your ideal customer", for example big chains or businesses already using a competitor.
- **Scrape reviews too** in Google Maps Scraper (5 to 10 per place). Customer complaints are some of the strongest buying signals.
- Use **basic checks** to pre-filter huge lists cheaply, then run AI scoring on the best ones.

### FAQ

**Is this legal?**
Lead Qualifier only reads public business information: the business's own website and public listing data you provide. You are responsible for following privacy and anti-spam rules (for example PDPA, GDPR and CAN-SPAM) when you contact anyone.

**Does it send messages for me?**
No. It suggests opening lines; you decide what to send.

**Which languages work?**
Any. Opening lines are written in the language you choose.

**My leads have no websites. Does it still work?**
Yes. No website is often the strongest signal of all, for example for web design, booking or online ordering offers.

### Support

Found a bug or want a feature? Open an issue on the **Issues** tab and I'll respond quickly.

Also by shariful Labs: [Buyer Prompt Generator](https://apify.com/shariful-labs/buyer-prompt-generator), for the questions buyers ask ChatGPT about your category.

# Actor input Schema

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

In one or two sentences: what you sell and the problem it solves. Example: "Online booking system for salons that still take appointments by phone."

## `idealCustomer` (type: `string`):

Who is a great fit and who is not. Example: "Independent salons with 1-3 branches. Not big chains or businesses that already use Fresha."

## `datasetIds` (type: `array`):

Pick the results of Google Maps Scraper (or any Actor that outputs businesses). Names, websites, phones, ratings and reviews are read automatically.

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

Paste businesses as JSON objects. Useful fields: name, website, phone, email, city, category, rating, reviewsCount.

## `websites` (type: `array`):

Or simply list business websites, one per line.

## `csvUrl` (type: `string`):

Link to a CSV file (for example a Google Sheet published as CSV). Columns like Name, Website, Phone, Email, City are detected automatically.

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

You pay per business checked, so this caps your cost.

## `messageLanguage` (type: `string`):

Language of the suggested first message, e.g. English, Malay, Indonesian, Spanish.

## `senderContext` (type: `string`):

Your name and company, so opening lines can introduce you. Example: "Aisha from BookEasy".

## `useAi` (type: `boolean`):

On: AI reads each business's evidence and judges fit (best quality, $0.03 per business). Off: fast rule-based checks only ($0.004 per business).

## `openaiApiKey` (type: `string`):

Leave empty to use the built-in AI. With your own key you pay a lower rate here ($0.008 per business) and OpenAI bills you directly for AI use. Stored encrypted.

## `openaiBaseUrl` (type: `string`):

Only with your own key. Any OpenAI-compatible endpoint, e.g. OpenRouter. Default: OpenAI.

## `aiModel` (type: `string`):

Only with your own key. Default: gpt-5.4-mini.

## `maxPagesPerSite` (type: `integer`):

Home page plus key pages (contact, booking, pricing, menu).

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

Only needed if many websites block visits.

## Actor input object example

```json
{
  "offer": "Online booking and reminder system for beauty salons and clinics that still take appointments by phone.",
  "idealCustomer": "Independent salons, spas and clinics with 1-3 branches. Not large chains.",
  "leads": [
    {
      "name": "Kak Yah Beauty",
      "category": "Beauty salon",
      "city": "Shah Alam",
      "phone": "+60 19-555 1212",
      "rating": 4.1,
      "reviewsCount": 12
    },
    {
      "name": "Glow Facial Bar",
      "category": "Facial spa",
      "city": "Cheras",
      "phone": "+60 11-2222 3333",
      "website": "https://www.facebook.com/glowfacialbar"
    }
  ],
  "websites": [
    "https://example.com"
  ],
  "maxLeads": 100,
  "messageLanguage": "English",
  "useAi": true,
  "maxPagesPerSite": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `report` (type: `string`):

A clean HTML report sorted by score, with evidence, openers and contacts.

## `leads` (type: `string`):

Every business with score, tier, evidence, opener and contact details.

## `summary` (type: `string`):

Counts by tier and the top 10 leads.

# 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 = {
    "offer": "Online booking and reminder system for beauty salons and clinics that still take appointments by phone.",
    "idealCustomer": "Independent salons, spas and clinics with 1-3 branches. Not large chains.",
    "leads": [
        {
            "name": "Kak Yah Beauty",
            "category": "Beauty salon",
            "city": "Shah Alam",
            "phone": "+60 19-555 1212",
            "rating": 4.1,
            "reviewsCount": 12
        },
        {
            "name": "Glow Facial Bar",
            "category": "Facial spa",
            "city": "Cheras",
            "phone": "+60 11-2222 3333",
            "website": "https://www.facebook.com/glowfacialbar"
        }
    ],
    "websites": [
        "https://example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("shariful-labs/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 = {
    "offer": "Online booking and reminder system for beauty salons and clinics that still take appointments by phone.",
    "idealCustomer": "Independent salons, spas and clinics with 1-3 branches. Not large chains.",
    "leads": [
        {
            "name": "Kak Yah Beauty",
            "category": "Beauty salon",
            "city": "Shah Alam",
            "phone": "+60 19-555 1212",
            "rating": 4.1,
            "reviewsCount": 12,
        },
        {
            "name": "Glow Facial Bar",
            "category": "Facial spa",
            "city": "Cheras",
            "phone": "+60 11-2222 3333",
            "website": "https://www.facebook.com/glowfacialbar",
        },
    ],
    "websites": ["https://example.com"],
}

# Run the Actor and wait for it to finish
run = client.actor("shariful-labs/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 '{
  "offer": "Online booking and reminder system for beauty salons and clinics that still take appointments by phone.",
  "idealCustomer": "Independent salons, spas and clinics with 1-3 branches. Not large chains.",
  "leads": [
    {
      "name": "Kak Yah Beauty",
      "category": "Beauty salon",
      "city": "Shah Alam",
      "phone": "+60 19-555 1212",
      "rating": 4.1,
      "reviewsCount": 12
    },
    {
      "name": "Glow Facial Bar",
      "category": "Facial spa",
      "city": "Cheras",
      "phone": "+60 11-2222 3333",
      "website": "https://www.facebook.com/glowfacialbar"
    }
  ],
  "websites": [
    "https://example.com"
  ]
}' |
apify call shariful-labs/lead-qualifier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,shariful-labs/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/ONljqTyq1qKaKjOFp/builds/u91AYJR7X047gA1zV/openapi.json
