B2B Sales Automation · IndiaMART + WhatsApp

Find buyers.
Message them.
Automatically.

A Python automation tool that searches IndiaMART for buyers matching your product catalogue, extracts their contact data, and sends personalised intro messages — without touching a keyboard after setup.

🔍 Scrape IndiaMART
→
📋 Extract Buyers
→
💬 Send Intros
Manual lead gen on IndiaMART
is a full-time job.
Without this tool
  • Open IndiaMART, search manually
  • Click through each buyer listing
  • Copy names and contacts to a spreadsheet
  • Write and send messages one by one
  • Hours spent per day, still missing buyers
  • No tracking of who was contacted
With this tool
  • Set your keywords once
  • Bot finds and extracts 200+ buyers
  • Deduplication removes repeat leads
  • Messages sent automatically per buyer
  • Full cycle done in under 5 minutes
  • Excel report saved after every run
The automation pipeline
01
Configure your search
Set your target product keywords and buyer categories in config.yaml. The bot translates these into structured IndiaMART search queries — no manual URL needed. Works for any industry.
02
Scrape & discover buyers
A headless Chrome browser navigates IndiaMART search results, paginates automatically, and identifies matching buyer listings. Rate-limiting and randomised delays prevent detection.
03
Extract structured data
For each buyer: business name, location, product interest, and contact info is extracted, normalised, and deduplicated. Exported as a clean .xlsx file you can open directly or pipe into a CRM.
04
Send intro messages
The bot loops through the buyer list and dispatches a personalised intro via IndiaMART's messaging interface or WhatsApp Web (QR scan once, then fully automated). Message templates are customisable per product category.
05
Run report
After each session: leads found, messages sent, any errors — all saved to a timestamped CSV. Operator reviews, adjusts keywords, runs again. The loop is complete.
What a run looks like
lead_engine.py — run session
$ python run.py --keywords "electronic components,PCB,capacitors" --limit 200
──────────────────────────────────────────────────
✓ Browser session started · headless Chrome
✓ Session cookies loaded · no re-login needed
→ Searching IndiaMART for "electronic components"
✓ Page 1 — 24 buyers found
✓ Page 2 — 23 buyers found
... paginating ...
✓ Scrape complete · 204 raw entries
→ Deduplication pass — 8 duplicates removed
✓ 196 unique buyers · exporting to leads_2024-03-11.xlsx
──────────────────────────────────────────────────
→ WhatsApp mode · sending via WA Web
✓ Message [ 1/196] → Sharma Electronics, Delhi
✓ Message [ 2/196] → Patel Components, Ahmedabad
✓ Message [ 3/196] → Sunrise Traders, Surat
... sending with randomised delay ...
✓ 196 messages dispatched · 0 errors
✓ Run report saved → report_2024-03-11.csv
──────────────────────────────────────────────────
Run complete. Total time: 4m 18s
Set it up in one file
config.yaml — all you need to edit
# What you're selling / who you're finding
keywords:
  - "electronic components"
  - "PCB boards"
  - "capacitors bulk"
 
# How many buyers to target per run
max_leads: 200
 
# Which channel to send via
outreach_channel: "whatsapp" # or "indiamart"
 
# Your intro message (supports {name} and {product} variables)
message_template: |
  Hi {name}, we supply {product} in bulk.
  Would you be open to a quick call?
Built with
🐍
Python 3.11
Core runtime
⚙️
Selenium
Browser automation
🌐
Chrome CDP
Headless browser
💬
WhatsApp Web
Outreach channel
📊
OpenPyXL
Excel export
⚡
PyYAML
Config management
What it replaces
200+
Targeted buyers reached per automated run
<5m
Full scrape + message cycle, start to finish
0
Manual steps after initial keyword setup
∞
Reusable across any product category or industry
Need this for your business?

This tool was built as a custom automation for a B2B distributor. I build tools like this — tailored to your catalogue, your market, your workflow.