Telephony and contact center

Check email domains, phone numbers and domain age in Genesys Cloud

Screen the email contacts you export from Genesys Cloud with a domain check, so email and messaging campaigns avoid throwaway and role addresses.

Why the data matters in Genesys Cloud

Contact lists for outbound campaigns and follow-up email are built from many sources, and a disposable or mistyped domain in one of them wastes a contact slot and distorts campaign statistics. Checking the domain of each address before the list is loaded keeps wrap-up reporting based on contacts that can receive mail.

What LookValid checks

LookValid checks for Genesys Cloud
ProductWhat it does hereCredits
Email Domain CheckChecks the address domain for mail routing and sender policy and flags disposable domains, free providers and role mailboxes. It never contacts the mail server, so a mailbox cannot be confirmed.1 credit per address checked
Phone Numbering-Plan ValidationParses a contact number against its country numbering plan and returns international format and the plan number type. It cannot say if the line is live.1 credit per valid number
Domain AgeReturns how long a business contact domain has existed, useful for ranking B2B outreach lists.2 credits per registered domain (unregistered domains are free)

Connect it in four steps

  1. Sign up to LookValid and make an API key in your dashboard.
  2. Take the contact list you own as a file and set LOOKVALID_API_KEY in the environment of the job that runs the script, away from the OAuth client details of your Genesys Cloud org.
  3. Run the email domain check on every row; a found value of false leaves the three new columns empty, and an error answer stops the run with its code.
  4. Add emailSignal, emailDisposable and emailRole as columns in the cleaned file, add the same three names to the columns of the contact list, then load the rows into the contact list with POST /api/v2/outbound/contactlists/{contactListId}/contacts, whose body is an array of contacts with a data object, so your campaign filters can exclude the flagged rows.

A script that reads a contact list file exported from your Genesys Cloud setup, checks each address and writes an extended file for upload. The call is POST https://YOUR_API_HOST/v1/email-domain-check and costs 1 credit per address checked.

validate_genesys_contact.py
import json
import os
import urllib.error
import urllib.request
​
API_URL = "https://YOUR_API_HOST/v1/email-domain-check"
​
​
def validate_genesys_contact(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 {
        "emailSignal": result.get("data", {}).get("deliverability_signal"),
        "emailDisposable": result.get("data", {}).get("disposable"),
        "emailRole": result.get("data", {}).get("role_account"),
    }
Where each response field goes in Genesys Cloud
Response fieldGoes into
data.deliverability_signalemailSignal
data.disposableemailDisposable
data.role_accountemailRole

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

If you want no script, use the generic HTTP request step of an automation platform: trigger on a new row in the store that feeds your contact lists, post the address to the LookValid endpoint with the key in the Authorization header, and add an action that writes the three fields back. No dedicated LookValid app is involved.

REST and MCPOne shared credit balance

Questions

How much does a list check cost in credits?

Each address spends credits from your LookValid balance at the rate on the pricing page, so the cost is that rate times your list length.

What will it not catch?

A mailbox that does not exist on a working domain. The check judges the domain only and never contacts the receiving mail server.

Where do I store the key?

In the environment of the job that runs the script, as LOOKVALID_API_KEY, not inside the exported contact file.

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