Enrich Layer ACTION
Search People
Search for people who meet a set of criteria. Returns a single page of results per call — use the
next_page URL from the response to retrieve subsequent pages. Cost: 3 credits per profile URL returned. See the documentation.- Action
- Read only
- API key
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's Enrich Layer account once, then configure and run Search People 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: "enrich_layer-search-people",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
enrich_layer: { authProvisionId: "apn_xxxxxxx" },
country: "Country",
firstName: "First Name",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "enrich_layer-search-people",
"configured_props": {
"enrich_layer": { "authProvisionId": "apn_xxxxxxx" },
"country": "Country",
"firstName": "First Name"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "enrich_layer",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "enrich_layer-search-people",
arguments: {
country: "Country",
firstName: "First Name",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
country Country | string | Filter people located in this country (Alpha-2 ISO 3166 code). Optional |
firstName First Name | string | Filter by first name using boolean search. Optional |
lastName Last Name | string | Filter by last name using boolean search. Optional |
currentRoleTitle Current Role Title | string | Filter by current job title using boolean search (e.g., CEO || Founder). Optional |
pastRoleTitle Past Role Title | string | Filter by past job title using boolean search. Optional |
currentCompanyName Current Company Name | string | Filter by current company name using boolean search. Optional |
pastCompanyName Past Company Name | string | Filter by past company name using boolean search. Optional |
currentCompanyProfileUrl Current Company Profile URL | string | Filter by current company profile URL. Optional |
pastCompanyProfileUrl Past Company Profile URL | string | Filter by past company profile URL. Optional |
city City | string | Filter by city. Wrap names with spaces in double quotes. Optional |
region Region | string | Filter by region/state/province. Optional |
headline Headline | string | Filter by headline using boolean search. Optional |
summary Summary | string | Filter by summary using boolean search. Optional |
educationFieldOfStudy Education Field of Study | string | Filter by field of study. Optional |
educationDegreeName Education Degree Name | string | Filter by degree name (e.g., MBA). Optional |
educationSchoolName Education School Name | string | Filter by school name. Optional |
educationSchoolProfileUrl Education School Profile URL | string | Filter by school profile URL. Optional |
currentRoleBefore Current Role Started Before | string | Filter people who started their current role before this date (ISO 8601). Optional |
currentRoleAfter Current Role Started After | string | Filter people who started their current role after this date (ISO 8601). Optional |
currentJobDescription Current Job Description | string | Filter by current job description. Optional |
pastJobDescription Past Job Description | string | Filter by past job description. Optional |
industries Industries | string | Filter by person's inferred industry. Optional |
interests Interests | string | Filter by interests. Optional |
skills Skills | string | Filter by skills using boolean search. Cannot combine with Skills All In List. Optional |
skillsAllInList Skills All In List | string | Comma-separated list of skills. Returns profiles with ALL listed skills. Cannot combine with Skills. Optional |
languages Languages | string | Filter by language. Optional |
groups Groups | string | Filter by group membership. Optional |
currentCompanyCountry Current Company Country | string | Filter by current company's country (Alpha-2 ISO 3166 code). Optional |
currentCompanyRegion Current Company Region | string | Filter by current company's region. Optional |
currentCompanyCity Current Company City | string | Filter by current company's city. Optional |
currentCompanyType Current Company Type | string | Filter by current company type. Optional |
currentCompanyIndustry Current Company Industry | string | Filter by current company's industry (includes inferred). Optional |
currentCompanyPrimaryIndustry Current Company Primary Industry | string | Filter by current company's primary industry. Optional |
currentCompanySpecialities Current Company Specialities | string | Filter by current company's specialities. Optional |
currentCompanyEmployeeCountCategory Current Company Employee Count Category | string | Filter by current company's size. Optional |
currentCompanyEmployeeCountMin Current Company Employee Count Min | integer | Filter by minimum current company employee count. Optional |
currentCompanyEmployeeCountMax Current Company Employee Count Max | integer | Filter by maximum current company employee count. Optional |
currentCompanyDescription Current Company Description | string | Filter by current company's description. Optional |
currentCompanyFoundedAfterYear Current Company Founded After Year | integer | Filter by current company founded after this year. Optional |
currentCompanyFoundedBeforeYear Current Company Founded Before Year | integer | Filter by current company founded before this year. Optional |
currentCompanyFundingAmountMin Current Company Funding Amount Min (USD) | integer | Filter by minimum current company funding amount. Optional |
currentCompanyFundingAmountMax Current Company Funding Amount Max (USD) | integer | Filter by maximum current company funding amount. Optional |
currentCompanyFundingRaisedAfter Current Company Funding Raised After | string | Filter by funding raised after this date (ISO 8601). Optional |
currentCompanyFundingRaisedBefore Current Company Funding Raised Before | string | Filter by funding raised before this date (ISO 8601). Optional |
currentCompanyDomainName Current Company Domain Name | string | Filter by current company's domain name. Optional |
currentCompanyFollowerCountMin Current Company Follower Count Min | integer | Filter by minimum current company follower count. Optional |
currentCompanyFollowerCountMax Current Company Follower Count Max | integer | Filter by maximum current company follower count. Optional |
followerCountMin Follower Count Min | integer | Filter people with more than this many followers. Optional |
followerCountMax Follower Count Max | integer | Filter people with fewer than this many followers. Optional |
publicIdentifierInList Public Identifier In List | string | Comma-separated list of person public identifiers to include. Optional |
publicIdentifierNotInList Public Identifier Not In List | string | Comma-separated list of person public identifiers to exclude. Optional |
enrichProfiles Enrich Profiles | string | Get the full profile data instead of only profile URLs. enrich adds 1 credit per result. Optional |
pageSize Page Size | integer | Max results per call. Default is 10 (max 100). When enriching, max is 10. Optional |
useCache Cache Strategy | string | if-present returns cached data regardless of age. if-recent returns fresh data (max 29 days old) for 1 extra credit. 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
- enrich_layer-search-people
- Version
- 0.0.2
- App
- Enrich Layer
- Authentication
- API key
- Read-only
- Yes
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗