View as Markdown
People Data Labs icon

People Data Labs ACTION

Enrich a person

The Person Enrichment API provides a one-to-one match, retrieving up-to-date information on a unique individual. See the docs here
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's People Data Labs account once, then configure and run Enrich a person from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "people_data_labs-enrich-person",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    people_data_labs: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    firstName: "First name",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Enrich a person inputs
Property Type Description
name Name string
The person's full name, at least first and last.
Optional
firstName First name string
The person's first name.
Optional
lastName Last name string
The person's last name.
Optional
middleName Middle name string
The person's middle name.
Optional
location Location string
The location in which a person lives. Can be anything from a street address to a country name.
Optional
streetAddress Street address string
A street address in which the person lives.
Optional
locality Locality string
A locality in which the person lives.
Optional
region Region string
A state or region in which the person lives.
Optional
country Country string
A country in which the person lives.
Optional
postalCode Postal code string
The postal code in which the person lives, must be used with either a country or a region.
Optional
company Company string
A name, website, or social url of a company where the person has worked.
Optional
school School string
A name, website, or social url of a university or college the person has attended.
Optional
phone Phone string
A phone number the person has used.
Optional
email Email string
An email the person has used.
Optional
emailHash Email hash string
A sha256 email hash.
Optional
profile Profile string
A social profile the person has used. List of available social profiles.
Optional
lid Linkedin ID integer
A LinkedIn numerical ID.
Optional
birthDate Birth date string
The person's birth date. Either the year, or a full birth date.
Optional
required Required string
Parameter specifying the fields and data points a response must have to return a 200. See docs.
Optional
pretty Pretty boolean
Whether the output should have human-readable indentation.
Optional
minLikelihood Min Likelihood integer
The minimum likelihood score a response must have to return a 200.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
people_data_labs-enrich-person
Version
0.0.6
App
People Data Labs
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes