CRMs

Check email domains, domain age and phone numbers in Zoho CRM

Check lead and contact email domains in Zoho CRM and write the result into custom fields that assignment rules and blueprints can read.

Why the data matters in Zoho CRM

Zoho CRM leads arrive from web forms, imports and campaigns in the same queue, so a mistyped or throwaway address looks the same as a buyer until a rep spends a call slot on it. Fields filled at entry let assignment rules send questionable leads to a review queue.

What LookValid checks

LookValid checks for Zoho CRM
ProductWhat it does hereCredits
Email Domain CheckReads the domain behind an address: mail records, SPF, DMARC, throwaway domains, free providers and role mailboxes. It never contacts the mail server, so it cannot confirm that a mailbox exists.1 credit per address checked
Domain AgeReturns registration and expiry dates and age in days from the registry, which flags a domain registered last week.2 credits per registered domain (unregistered domains are free)
Phone Numbering-Plan ValidationChecks a phone number against its country numbering plan and returns E.164 and the number type. It does not say whether the line is active.1 credit per valid number

Connect it in four steps

  1. Create a LookValid account and generate an API key from the dashboard, which a person does once.
  2. Store the LookValid key in LOOKVALID_API_KEY and the Zoho OAuth client credentials separately, and add single-line custom fields named for the three values in the Leads module layout.
  3. Call the function with each lead's Email value, leave the record alone when the answer is found:false, and halt on any error answer.
  4. Send a PUT to the update-records endpoint with a data array holding the record id and the three field values, then add an assignment rule on the disposable field.

A Python job that fetches new leads from the Zoho CRM API and updates them in a batch. The call is POST https://YOUR_API_HOST/v1/email-domain-check and costs 1 credit per address checked.

validate_zoho_lead_email.py
import json
import os
import urllib.error
import urllib.request
​
API_URL = "https://YOUR_API_HOST/v1/email-domain-check"
​
​
def validate_zoho_lead_email(value):
    request = urllib.request.Request(
        API_URL,
        data=json.dumps({
            "email": value,
        }).encode(),
        headers={
            "Authorization": "Bearer " + os.environ["LOOKVALID_API_KEY"],
            "Content-Type": "application/json",
        },
        method="POST",
    )
    try:
        with urllib.request.urlopen(request, timeout=30) as response:
            result = json.load(response)
    except urllib.error.HTTPError as error:
        failure = json.load(error)["error"]
        raise RuntimeError(failure["code"] + ": " + failure["fix"])
    if not result["found"]:
        return None
    return {
        "email_signal": result.get("data", {}).get("deliverability_signal"),
        "email_disposable": result.get("data", {}).get("disposable"),
        "email_role": result.get("data", {}).get("role_account"),
    }
Where each response field goes in Zoho CRM
Response fieldGoes into
data.deliverability_signalemail_signal
data.disposableemail_disposable
data.role_accountemail_role

The recipe returns nothing when the lookup finds nothing, which costs no credits for this product, and stops with the error code and fix on a failed request.

Without code

Zoho CRM workflow rules can trigger a webhook on lead creation, so an automation platform with a generic HTTP request step can call the LookValid endpoint and update the lead through a second step.

REST and MCPOne shared credit balance

Questions

What does a check cost in credits?

Each call uses the credits listed for the product on the pricing page, so the monthly use in Zoho CRM follows the number of addresses you check.

What does the email check not do?

It looks at the domain only. It does not contact the mail server and cannot say whether a particular mailbox exists, so treat a good signal as a domain that can receive mail.

How does Zoho take the update?

Through the update-records call, where the request body carries a data array of objects, each with the record id and the fields to change.

Sources

LookValid is run by Meralume Labs. It is not connected to, endorsed by or a partner of any company or product named on this page, and every product name belongs to its owner.

LookValid bills every lookup in credits from one shared balance, so the same key works for each check above.

See Email Domain Check