Integrations

Segment integration

A Segment Function you paste into your workspace checks the address of identify calls and of the track events you name, and adds the status to the event. With a write key it also sends each result back into Segment as traits, for your profiles and your warehouse.

  • Status: Setup guide
  • An insert or destination function

Function settingsSettings tab

What you set
apiKey          ev_live_…   (String, secret, required)
region          eu for EU data residency
checkIdentify   true
trackEvents     Signed Up, Email Changed
writeKey        an HTTP API source’s write key (secret)

At a glance.

Status
Setup guide. Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
For
Teams that run sign-ups and profile changes through Segment and want their email tool, CRM and warehouse to receive each address’s status.
You need
A Segment workspace with Functions, and an API key made for it, with a daily credit cap used only by this function.
Costs
1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses and test addresses on sandbox.email-validation.org.
Full guide
Read the full setup guide

Typical uses.

Set it up. 6 steps.

The short version of the full setup guide, which stays the reference when a step does not match what you see.

  1. Create a key

    Create an API key for Segment on the API keys page, with a daily credit cap.

  2. Create the function

    In Segment, go to Connections, Catalog, open the Functions tab and click New Function. Choose Insert, or Destination.

  3. Paste the code

    Replace the editor’s code with the function in the guide.

  4. Add the settings

    In the Settings tab, add at least apiKey, marked as secret, and any of the optional settings you need.

  5. Test it

    In the Test tab, send an identify call with accepted@sandbox.email-validation.org as traits.email. The output shows the event with the four fields added.

  6. Deploy and connect

    Save and deploy it, then connect an insert function to the destination it should enrich, or a destination function to the source whose events it should check.

Good to know.

Updated · Maintained by the email-validation.org team