IndiaMART and JustDial Leads to AI Call

Call every new IndiaMART or JustDial buyer enquiry within minutes with an Edesy AI voice agent that confirms product, quantity, city and timeline in Hindi or English. Setup with the IndiaMART Push API, JustDial's lead callback URL, n8n or Make, and the Calls API.

5 min readUpdated

When a buyer enquires on IndiaMART or JustDial, an Edesy AI voice agent calls within a minute or two and confirms product, quantity, city and timeline in Hindi or English. A 2-minute call costs about ₹12 at ₹6 a minute, plus telephony. JustDial flags some numbers as Do-Not-Call; the flow skips them.

Works with: IndiaMART and JustDial via webhooks in n8n or Make (or Zapier) plus the Calls API · via API from your own server · Edesy Flow has ready IndiaMART and JustDial templates with de-duplication, set up for you on request · Native: planned

Note A native IndiaMART and JustDial lead connection in the voice agent is planned. Request early access.

How it works#

IndiaMART enquiry ──> Push API POST { CODE, STATUS, RESPONSE: {...} } ──┐
JustDial lead     ──> GET <your URL>?leadid=..&name=..&mobile=..      ──┤
                                                                        ▼
                         n8n / Make: clean number, dedupe on lead ID, skip DNC
                                                                        │
                                       POST /api/v1/calls ──> AI call ──> call.analyzed ──> CRM / Sheet

Before you start#

  • IndiaMART: a paid seller account with Lead Manager access to the CRM Push API (seller.indiamart.com → Lead Manager → CRM integration / Push API).
  • JustDial: a paid listing. JustDial has no self-serve webhook screen; their account manager installs your callback URL for you.
  • A voice agent, its ID, and an API key from Settings → API Keys (vp_live_...).
  • An n8n or Make account (or a server endpoint).

Set it up: IndiaMART (n8n)#

  1. In n8n, add a Webhook node, method POST, Respond: Immediately. Copy the Production URL.
  2. In IndiaMART Lead Manager, open the CRM Push API page, paste the URL and save. IndiaMART posts one lead per request as { "CODE": 200, "STATUS": "SUCCESS", "RESPONSE": { ... } }.
  3. Add a Code node that cleans the number and builds variables:
const r = $json.body.RESPONSE;
const digits = (r.SENDER_MOBILE || '').replace(/\D/g, '').slice(-10);
return [{ json: {
  leadId: r.UNIQUE_QUERY_ID,
  phone: digits ? '+91' + digits : null,
  name: r.SENDER_NAME,
  company: r.SENDER_COMPANY,
  city: r.SENDER_CITY,
  product: r.QUERY_PRODUCT_NAME,
  message: (r.QUERY_MESSAGE || '').replace(/<br\s*\/?>/gi, ' ').slice(0, 400),
}}];
  1. Add an IF node: continue only when phone is not empty.
  2. Add an HTTP Request node:
POST https://voice-agent.edesy.in/api/v1/calls
Authorization: Bearer vp_live_xxxxxxxx
Idempotency-Key: indiamart-{{ $json.leadId }}
Content-Type: application/json

{
  "agentId": 1042,
  "phoneNumber": "{{ $json.phone }}",
  "variables": {
    "customer_name": "{{ $json.name }}",
    "company": "{{ $json.company }}",
    "city": "{{ $json.city }}",
    "product": "{{ $json.product }}",
    "enquiry": "{{ $json.message }}",
    "lead_source": "IndiaMART"
  },
  "retry": { "enabled": true, "maxAttempts": 2, "delayMinutes": 45, "dispositions": ["NO_ANSWER", "BUSY"] }
}

De-duplicate on UNIQUE_QUERY_ID alone: IndiaMART can deliver the same enquiry more than once. 6. Activate the workflow.

Set it up: JustDial (n8n)#

  1. Add a second Webhook node and set its method to GET. JustDial sends each lead as an unauthenticated GET with query parameters, for example ?leadid=123456&name=Pravin&mobile=9833700533&category=Interior+Designers&area=Dadar&city=Mumbai&dncmobile=0.
  2. Send the Production URL to your JustDial account manager and ask them to configure it as your lead callback URL. Treat the URL as a password: JustDial sends no signature, so the unguessable URL is the only protection.
  3. Add an IF node that stops when {{ $json.query.dncmobile }} is 1. JustDial flags Do-Not-Call numbers but still sends them.
  4. Add the same HTTP Request node, mapping query.mobile (prefix +91), query.name, query.category as product, query.area and query.city, with Idempotency-Key: justdial-{{ $json.query.leadid }}.

Make: the same with a Custom webhook (it accepts both the IndiaMART POST and the JustDial GET) and HTTP: Make a request.

Data map#

Direction Field IndiaMART JustDial
Dedupe key Lead ID UNIQUE_QUERY_ID leadid
Into the call phoneNumber SENDER_MOBILE (strip +91-) mobile (fallback phone)
Into the call variables.customer_name SENDER_NAME prefix + name
Into the call variables.product QUERY_PRODUCT_NAME category
Into the call variables.city SENDER_CITY area, city
Into the call variables.enquiry QUERY_MESSAGE none
Skip DNC not provided dncmobile=1 / dncphone=1
Back in call.analyzed disposition QUALIFIED, NOT_INTERESTED, CALLBACK_REQUESTED, WRONG_NUMBER, DO_NOT_CALL same
Back extracted_data For example quantity, delivery_city, required_by, gst_number_given same
Back call_summary, variables.lead_source What the buyer said, and which portal same

Sample agent prompt#

You are Suresh from Patel Steel Industries, Rajkot, a manufacturer of SS kitchen sinks and
industrial racks. {{customer_name}} from {{company}}, {{city}}, just enquired on
{{lead_source}} about "{{product}}". Their message: {{enquiry}}

Speak in Hindi or Gujarati-accented Hinglish; switch to English if they do.
1. Confirm you are calling about their {{lead_source}} enquiry for {{product}}.
2. Ask: quantity, size or grade, delivery city, and by when they need it.
3. Ask if they are buying for their own use or for resale.
4. If quantity is at least 50 pieces, say a sales executive will send a quotation on
   WhatsApp within 2 hours.
Do not quote prices or delivery dates yourself.
Set QUALIFIED for buyers with quantity, city and a timeline, NOT_INTERESTED if they
already bought, WRONG_NUMBER if they deny enquiring, DO_NOT_CALL if asked.

Test it#

  1. IndiaMART: post a sample body to your n8n URL with curl (use the real field names above and your own number), or wait for a real enquiry.
  2. JustDial: open <your URL>?leadid=test1&name=Test&mobile=<your 10-digit number>&category=Sinks&city=Rajkot&dncmobile=0 in a browser.
  3. Your phone rings. Check the n8n run, then Call history in the voice agent.
  4. Repeat with the same lead ID: no second call. Repeat with dncmobile=1: no call.
  • A buyer enquiry is a request to be contacted about that product. Call about that enquiry only, and say where you got their number.
  • Edesy does not scrub against the NCPR (DND) registry. JustDial's dncmobile flag is the only DNC data in these feeds; always honour it.
  • Enquiries arrive late at night. Set Settings → Call Settings → Calling Window to 9:00–21:00 IST so those leads are called when the window opens.
  • Add DO_NOT_CALL numbers to Settings → Blocked Numbers.

What it can't do yet#

  • There is no native IndiaMART or JustDial connection in the voice agent. Edesy Flow has both (an IndiaMART pull every 10 minutes with de-duplication, and the JustDial callback), but its webhook trigger isn't self-serve in the editor yet, so we install those templates for you on request.
  • JustDial leads are unsigned; anyone with your URL can post fake leads. Keep it private and rotate it if it leaks.
  • The call result is not written back to IndiaMART Lead Manager or JustDial; send it to your CRM or a sheet.

FAQ#

How quickly can the buyer be called? IndiaMART's Push API and JustDial's callback both send each lead as it arrives, so the call goes out within a minute or two inside your calling window. IndiaMART's Pull API is slower: a lead waits until the next pull.

Will a buyer be called twice? Not if you send the lead ID as Idempotency-Key and de-duplicate on it. IndiaMART sometimes repeats deliveries.

Can the agent speak Gujarati, Tamil or Marathi? Yes. The agent supports 14 Indian languages and code-mixed speech. Choose the language per agent, or run one agent per region.

What does each lead cost? About ₹12 for a 2-minute call at ₹6 a minute plus telephony on pay as you go; less on Pro (₹5 a minute). Unanswered attempts don't use agent minutes.

Can hot buyers be transferred to my salesperson live? Yes. Turn on call transfer and tell the agent when to transfer.

Start free · Book a demo · Don't see your app? Request it

Was this page helpful?