B2B Automation April 6, 2026 · 14 min read

AI Dealer Intelligence System: Score, Filter & Auto-Message Dealers

AI dealer intelligence system - business team building automated B2B dealer scoring pipeline

A complete AI dealer intelligence pipeline: from raw marketplace data to scored leads with automated WhatsApp outreach · Photo: Pexels

An AI dealer intelligence system automatically scores and ranks your B2B dealers based on business type, location, and verification status - then fires personalized WhatsApp messages without any manual work. This guide shows you how to build the complete pipeline from scratch: scrape any marketplace globally, score every lead with AI logic, auto-route to your sales team, and run the whole thing on autopilot. Any product. Any industry. Any country.

The Problem: Sales Teams Flying Blind on Dealer Data

Picture this: your sales team has just pulled a list of 5,000 potential dealers from a marketplace. Hardware shops, fabricators, distributors, construction suppliers - all mixed together with no signal on which ones are actually worth calling. They start dialing randomly. Three hours later, they've reached 40 businesses, 30 of which were completely irrelevant.

This is the default state for most B2B manufacturers and distributors. Dealer acquisition is manual, slow, and expensive - not because the data doesn't exist, but because no one has built a system to prioritize it intelligently.

The AI dealer intelligence pipeline solves this entirely. Every lead gets a score. Every score maps to an action. Every action triggers automatically - without a human in the loop.

ℹ️ Who this guide is for: B2B manufacturers, national distributors, and sales ops teams who have dealer/distributor networks to build - in any country, any industry. No prior coding experience required beyond basic JavaScript comfort.

What This System Can Actually Do (Global Scope)

This is not a tool limited to one country or one marketplace. The pipeline is designed to work with any publicly listed dealer data source, anywhere in the world.

Supported Data Sources

South Asia
IndiaMart, JustDial, Tradeindia
India's largest B2B and SME marketplaces
Global B2B
Alibaba, Global Sources
Asia-Pacific and worldwide manufacturer/distributor directories
North America
Thomasnet, Kompass
US and European industrial supplier directories
General
Google Maps, Yellow Pages
Local business listings in any country
Professional
LinkedIn Sales Navigator
Decision-maker contacts at distributor companies worldwide
Custom
Any public website
Trade association directories, government vendor lists, chamber of commerce portals

Scale: No Upper Limit

  • Firecrawl can process hundreds of thousands of pages per crawl job
  • Google Sheets handles up to ~500,000 rows comfortably
  • For larger datasets, swap Sheets for BigQuery or Supabase - same scoring logic applies
  • Twilio WhatsApp scales to millions of messages per month on a business account
Adaptable to any industry: The scoring engine uses keyword-based business type matching. Swap the keywords and score weights to fit your product: roofing materials, FMCG, industrial equipment, pharmaceuticals, agrochemicals, electronics. The architecture is identical.

System Architecture Overview

Five components, all free or near-zero cost at the core level:

01
Any Marketplace
Raw dealer data source
02
Firecrawl
Web scraping → CSV
03
Apps Script
AI scoring + filtering
04
Google Sheets
5-tab live dashboard
05
Twilio
WhatsApp automation
📊
Google Sheets + Apps Script
Free · Core data store and automation engine
🔥
Firecrawl
Freemium · Structured web scraping from any marketplace
💬
Twilio WhatsApp API
~$0.005/msg · Outreach and sales rep alerts
⚙️
Make.com (optional)
Freemium · Advanced multi-step workflow triggers

The AI Dealer Scoring Engine (1–10 Logic)

Every dealer gets a score from 1 to 10 based on three weighted signals: business type fit, location tier, and verification status. The score determines the bucket - and the bucket determines the automated action.

Base Score by Business Type

Customize the categories and weights to match your product. The example below is for a building materials manufacturer:

Business TypeBase ScoreWhy It Scores High
Direct product category (e.g. Roofing, PC Sheets)9.5Already sells your product category
Adjacent material (e.g. Aluminium, Glazing)9.0Same buyer profile, high conversion
Hardware / Building supplies8.5Strong channel fit
Fabrication / Steel8.5Industrial buyer, infrastructure projects
Plastic / Polymer distributor8.0Material familiarity
Engineering / Construction7.0Broad fit, lower purchase intent
Unrelated / Generic retail3.0–5.0Unlikely channel partner

Score Modifiers

SignalModifier
GST / VAT / Tax verified+0.5
Tier-1 city (metro, high-volume market)+0.3
Tier-2 city (growing secondary market)+0.1
Competitor dealer detectedFLAG → Auto-remove

The Four Dealer Buckets

Hot Auto Lead
9.0+
Call immediately. WhatsApp fires automatically within minutes.
Verify First
7.5–8.9
Confirm business type or GST before committing outreach.
Nurture
5.0–7.4
Monthly drip. Worth developing over time.
Skip / Ignore
<5.0
Filtered out. Competitors auto-removed before output.

Step 1: Scrape Dealer Data from Any Marketplace

Firecrawl is a web crawling API that returns structured data from any website. Point it at your marketplace search results and it returns clean JSON or CSV - no manual copy-paste needed.

// Example search URL patterns (replace with your marketplace + product)
// IndiaMart (India)
https://www.indiamart.com/search.mp?ss=YOUR+PRODUCT+KEYWORD

// Thomasnet (USA)
https://www.thomasnet.com/search/?searchterm=YOUR+PRODUCT

// Alibaba (Global)
https://www.alibaba.com/trade/search?SearchText=YOUR+PRODUCT

// Google Maps (any country)
https://www.google.com/maps/search/dealer+YOUR+PRODUCT+CITY
URL patterns

Required CSV Column Structure

Your scraped output must have at minimum these columns for the scoring engine to work:

Company, City, State/Region, Phone, Source URL, Verified (GST/VAT/Tax)

// Example rows (fictional companies for illustration):
"RoofTech Supplies Ltd",   "Example City", "Region A", "98XXXXXXXX", "https://...", "Verified"
"AlphaFab Works",           "Example City", "Region B", "70XXXXXXXX", "https://...", "Not Verified"
"Metro Hardware Depot",     "Metro City",   "Region A", "91XXXXXXXX", "https://...", "Verified"
CSV
⚠️ Always clean phone numbers before processing. Marketplace listings often include country codes, spaces, or dashes. Strip everything non-numeric and keep only the last 10 digits (or your country's standard). This ensures WhatsApp delivery works correctly.

Step 2: Score & Filter with Google Apps Script

The scoring logic runs inside Google Apps Script - a free JavaScript environment attached to your Google Sheet. Here's the complete, adaptable scoring function:

function scoreDealer(businessType, city, verified, competitors) {
  let score = 5.0; // default baseline for unknown types

  const typeMap = {
    'roofing':     9.5,  'sheet':        9.5,
    'aluminium':   9.0,  'glazing':      9.0,
    'hardware':    8.5,  'timber':       8.5,
    'fabrication': 8.5,  'steel':        8.5,
    'plastic':     8.0,  'polymer':      8.0,
    'engineering': 7.0,  'construction': 7.0
  };

  const lowerType = businessType.toLowerCase();
  for (const [keyword, baseScore] of Object.entries(typeMap)) {
    if (lowerType.includes(keyword)) { score = baseScore; break; }
  }

  // Auto-remove competitors
  const lowerComp = competitors.map(c => c.toLowerCase());
  if (lowerComp.some(c => lowerType.includes(c))) {
    return { score: 0, bucket: 'IGNORE', flag: 'COMPETITOR' };
  }

  if (verified === 'Verified') score += 0.5;

  const tier1Cities = ['metro', 'capital', 'port'];
  const lowerCity = city.toLowerCase();
  if (tier1Cities.some(c => lowerCity.includes(c))) score += 0.3;

  score = Math.min(score, 10);

  const bucket =
    score >= 9.0 ? 'HOT AUTO LEAD' :
    score >= 7.5 ? 'VERIFY FIRST'  :
    score >= 5.0 ? 'NURTURE'        : 'IGNORE';

  return { score, bucket, flag: 'OK' };
}
Google Apps Script
💡 Performance tip: Never write row by row inside a loop - it's 100x slower. Build a 2D array of all processed rows, then write in one call: sheet.getRange(2, 1, data.length, 13).setValues(data)

Step 3: Build the 5-Tab Live Dashboard

Organize the Google Sheet into five purpose-built tabs, each serving a different function in your sales workflow:

TabContentsPrimary User
DashboardSummary metrics, zone/region breakdown, funnel totalsSales Manager
Hot LeadsScore ≥ 9.0 dealers + call status dropdownSales Reps
All DealersFull filtered dataset across all bucketsOps / Admin
Dealer MessagesPersonalized WhatsApp draft per dealerSales Reps
Sales AlertsAuto-alert log sent to zone reps via WhatsAppSales Manager

Step 4: Automate WhatsApp Outreach with Twilio

Once dealers are scored and bucketed, the system fires personalized WhatsApp messages via Twilio's WhatsApp API. Two flows run automatically: outreach to dealers, and internal alerts to your sales reps.

Dealer Outreach Message Function

function sendDealerOutreach(phone, companyName, city, productCategory) {
  const ACCOUNT_SID = 'YOUR_TWILIO_ACCOUNT_SID';
  const AUTH_TOKEN  = 'YOUR_TWILIO_AUTH_TOKEN';
  const FROM_NUMBER = 'whatsapp:+1XXXXXXXXXX';

  const messageBody = [
    `Hello, we are reaching out to ${companyName} in ${city}.`,
    `We manufacture ${productCategory} and are looking for authorized`,
    `dealers in your area. Interested in a partnership?`,
    `Reply YES for product details and pricing.`
  ].join(' ');

  const endpoint = `https://api.twilio.com/2010-04-01/Accounts/${ACCOUNT_SID}/Messages.json`;
  const credentials = Utilities.base64Encode(`${ACCOUNT_SID}:${AUTH_TOKEN}`);

  UrlFetchApp.fetch(endpoint, {
    method:  'post',
    headers: { Authorization: `Basic ${credentials}` },
    payload: { From: FROM_NUMBER, To: `whatsapp:+${phone}`, Body: messageBody }
  });
}
Google Apps Script
💡 Switching from sandbox to production: Only two lines change - ACCOUNT_SID and AUTH_TOKEN. Always test on sandbox first, then swap credentials for production.

Step 5: Deploy, Trigger & Run on Autopilot

Open your Google Sheet → Extensions → Apps Script. Paste in all functions (scoring, bucketing, formatting, Twilio). Save and run once to grant permissions. Then set a master function:

function runDealerIntelligence() {
  clearAllSheets();
  const raw    = loadDealersFromCSV();
  const scored = scoreDealers(raw);
  writeToAllSheets(scored);
  applyBucketFormatting();
  sendHotLeadAlerts(scored);
}
Google Apps Script

In Apps Script → Triggers, add a time-driven trigger: run runDealerIntelligence every morning at 8 AM. Your team wakes up to a fully scored, color-coded, WhatsApp-ready lead dashboard - every single day.

🔗 Want to go further with AI-powered automation? Read our guide on how to use Claude Console - the Anthropic developer dashboard you can use to generate personalized dealer messages and enrich your scoring logic with a full AI model.

Sample Output: Scored Dealer Table

Below is an example output table using fictional company names to illustrate what the scored dashboard looks like in practice.

#Company (Example)CityBusiness TypeScoreVerifiedAction
01RoofTech Supplies LtdMetro City ARoofing / Sheets9.8CALL NOW
02AlphaGlaze WorksMetro City AAluminium / Glazing9.8CALL NOW
03Premier Hardware DepotPort City BHardware / Building9.6CALL NOW
04Eastern Fab IndustriesIndustrial City CFabrication / Steel9.6CALL NOW
05Nexus Polymer DistributorsMetro City APlastic / Polymer9.1CALL NOW
06Northern Build MartRegional City DHardware8.7VERIFY
07Sunridge Construction LtdCity FConstruction7.3NURTURE

All company names above are fictional examples only. Competitor dealers are auto-flagged and removed before this table is generated.

Scaling Beyond Google Sheets

Scale LevelDealer VolumeRecommended Stack
StarterUp to 50,000 rowsGoogle Sheets + Apps Script (as described in this guide)
Growth50K – 500K rowsSupabase (PostgreSQL) + Apps Script or Make.com triggers
Enterprise500K+ rowsGoogle BigQuery + Cloud Functions + Looker Studio dashboard

The scoring logic - the JavaScript functions - remains identical at every scale level. Only the data storage and trigger layer changes.

What's Next: Make.com, AI Personalization & CRM Sync

🔗
Make.com Workflows
Conditional message triggers, multi-step approvals, CRM updates - all without code.
WhatsApp Business API
Replace sandbox with a verified business number. Required for production-scale outreach.
🤖
AI Message Personalization
Use Claude Console to generate context-aware outreach based on each dealer's business type, city, and score.
📈
Looker Studio Dashboard
Connect your Google Sheet for a real-time visual pipeline dashboard - shareable with your entire team.

This guide is the foundation. Each of these layers can be added incrementally - start with the sheet, add Make.com when your volume grows, and layer in AI personalization when your messaging needs to feel more human.

References & Further Reading

MAYANK DIGITAL LABS

Need Help Building an AI Dealer Intelligence System?

At Mayank Digital Labs, we help B2B manufacturers and distributors worldwide build custom AI automation pipelines - dealer scoring, WhatsApp outreach, CRM sync, and live dashboards. We set it up end-to-end so your sales team works smarter, not harder.

✅ AI Dealer Scoring Systems ✅ WhatsApp Business Automation ✅ Google Sheets & CRM Pipelines ✅ n8n & Make.com Workflows ✅ B2B Lead Qualification AI
Get a Free Strategy Call →

No commitment. Just a 30-minute call to see how we can help.

Whether you are building your first AI dealer intelligence system or scaling an existing B2B sales automation pipeline, the approach in this guide gives you a complete, repeatable foundation. From Google Apps Script lead scoring to WhatsApp automation and beyond, every component is designed to run without ongoing manual effort - so your sales team focuses on closing, not chasing.

Frequently Asked Questions

What is an AI dealer intelligence system?

An AI dealer intelligence system automatically scores and ranks your B2B dealers based on their sales potential, order history, and engagement data. It replaces manual spreadsheet work with a fully automated pipeline that flags your best leads and fires personalized WhatsApp messages - without human input.

What tools do I need to build a dealer intelligence system?

You need Google Apps Script or n8n for automation logic, Google Sheets for data storage, a WhatsApp Business API provider (like Twilio) for messaging, and optionally an AI API (Claude, GPT-4) for smarter scoring. All core tools have free tiers - you can start at $0.

Is this system free to build?

Yes - the core stack (Google Apps Script + Google Sheets + Twilio sandbox) is completely free for testing. For production scale, costs are low: n8n self-hosted is free, WhatsApp API charges per message, and AI API calls cost fractions of a cent each.

Can this work for any B2B industry?

Absolutely. The scoring logic and automation pipeline works for any business that manages dealers, resellers, distributors, or channel partners - including manufacturing, construction, FMCG, electronics, pharma, and more. The system is industry-agnostic by design.

How long does it take to set up?

A basic version - Google Sheets + Apps Script + WhatsApp alerts - can be running in under a day if you follow this guide. A production-grade system with Make.com workflows, CRM sync, and AI personalization typically takes 3–7 days depending on complexity.

Fixed-Price ServicesStrategy Call₹499·SEO Audit₹1,999·Ads Audit₹2,499
Get Started →