← All Developer Tools

Apex email verification with BillionVerify

Apex is a developer platform for building and automating workflows, often used to manage customer records, leads, and data pipelines. Connecting BillionVerify ensures every email address entering your Apex-powered system is valid before it drives downstream logic or communications.

Why verify before the send

Bad email data in a developer platform propagates quickly β€” invalid addresses corrupt CRM records, trigger failed API calls, and quietly degrade deliverability. BillionVerify scrubs disposable, role-based, and catch-all addresses before they enter Apex, keeping your data clean at the source.

Ready-to-use n8n workflow

Import this workflow into n8n β€” it verifies every address with BillionVerify before Apex sends, so only deliverable contacts are emailed. Install the BillionVerify community node first, then add your API key.

verify-emails-in-apex.json
{
  "name": "Verify emails before sending in Apex + BillionVerify",
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        240,
        300
      ],
      "name": "When clicking β€˜Test workflow’"
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "email-field",
              "name": "email",
              "value": "jane@example.com",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        460,
        300
      ],
      "name": "Get contacts"
    },
    {
      "parameters": {
        "sendTo": "={{ $json.email }}",
        "subject": "Message for Apex contacts",
        "message": "Replace this Gmail send with your Apex node β€” only deliverable, verified contacts reach it.",
        "options": {}
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        900,
        300
      ],
      "name": "Send email",
      "webhookId": "",
      "credentials": {
        "gmailOAuth2": {
          "id": "",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "operation": "verify",
        "email": "={{ $json.email }}",
        "additionalOptions": {}
      },
      "type": "n8n-nodes-billionverify.billionVerify",
      "typeVersion": 1,
      "position": [
        540,
        300
      ],
      "name": "Verify Email (BillionVerify)",
      "credentials": {
        "billionVerifyApi": {
          "id": "",
          "name": "BillionVerify account"
        }
      }
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "is-deliverable",
              "leftValue": "={{ $json.is_deliverable }}",
              "rightValue": "",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              }
            }
          ]
        }
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        720,
        300
      ],
      "name": "IF deliverable"
    }
  ],
  "connections": {
    "When clicking β€˜Test workflow’": {
      "main": [
        [
          {
            "node": "Get contacts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get contacts": {
      "main": [
        [
          {
            "node": "Verify Email (BillionVerify)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Verify Email (BillionVerify)": {
      "main": [
        [
          {
            "node": "IF deliverable",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF deliverable": {
      "main": [
        [
          {
            "node": "Send email",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}

Workflow templates with Apex

Ready-to-use workflows that verify emails before Apex sends.

How it works

  1. 1

    Install the BillionVerify community node in your n8n instance, or use the Integrately 1-click connector.

  2. 2

    Set up a trigger in your Apex workflow that fires when a contact or lead email is added or updated.

  3. 3

    Pass the email address to BillionVerify's verification step via the node or REST API call.

  4. 4

    Evaluate the result β€” mark records with invalid, disposable, or catch-all addresses for review or exclusion.

  5. 5

    Only allow verified, deliverable addresses to proceed into your Apex data pipeline.

When to use this

Clean lead data on ingest

Whenever a new lead or contact record is created in Apex, route the email through BillionVerify first. Only valid, deliverable addresses get stored, preventing bad data from spreading across your platform.

Protect outbound email pipelines

Before Apex triggers any outbound email sequence, verify the recipient address. This reduces bounce rates, protects your sending domain's reputation, and keeps your email infrastructure healthy.

FAQ

Can BillionVerify connect to Apex without writing custom code?

Yes. Via the n8n community node or Integrately's 1-click integration, you can add email verification to any Apex-connected workflow without custom development work.

What types of invalid addresses does BillionVerify catch?

BillionVerify detects disposable email addresses, role accounts like info@ or support@, catch-all domains, syntax errors, and addresses with no valid MX records.

Does verifying emails add noticeable latency to my workflow?

Most verifications complete in under a second. For bulk operations, BillionVerify supports batch API calls so you can verify lists asynchronously without blocking your pipeline.

Verify emails in Apex

Create a free account, grab your API key, and stop bounces before they happen.

Get started free