People Data Labs ACTION
Enrich a company
The Company Enrichment API provides a one-to-one match, retrieving up-to-date information on a unique company. 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 company 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-company",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
people_data_labs: { authProvisionId: "apn_xxxxxxx" },
name: "Name",
profile: "Profile",
},
})
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": "people_data_labs-enrich-company",
"configured_props": {
"people_data_labs": { "authProvisionId": "apn_xxxxxxx" },
"name": "Name",
"profile": "Profile"
}
}'// 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": "people_data_labs",
},
},
},
)
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: "people_data_labs-enrich-company",
arguments: {
name: "Name",
profile: "Profile",
},
})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 |
|---|---|---|
name Name | string | The company's name. Optional |
profile Profile | string | The company's social profile. Optional |
ticker Ticker | string | The company's stock ticker, if publicly traded. Optional |
website Website | string | The company's website. Optional |
location Location | string | The complete or partial company location. You can input multiple location values. Optional |
locality Locality | string | The company's locality. You can only input one locality. Optional |
region Region | string | The company's region. You can only input one region. Optional |
country Country | string | The company's country. You can only input one country. Optional |
streetAddress Street Address | string | The company's street address. You can only input one street address. Optional |
postalCode Postal Code | string | The company's postal code. You can only input one postal code. Optional |
dataInclude Data Include | string | A comma-separated string of fields that you want the response to include. For example, full_name,emails.address. Begin the string with a - if you want to exclude the specified fields. If you want to exclude all data from being returned, use data_include="" 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-company
- Version
- 0.0.6
- App
- People Data Labs
- Authentication
- API key
- Read-only
- No
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗