View as Markdown
Enrich Layer icon

Enrich Layer ACTION

Get Employee Count

Get the total number of employees of a company from various sources. Cost: 1 credit per successful request. 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 Get Employee Count 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-get-employee-count",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    enrich_layer: { authProvisionId: "apn_xxxxxxx" },
    url: "Company Profile URL",
    coyNameMatch: "Company Name Match",
  },
})

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.

Get Employee Count inputs
Property Type Description
url Company Profile URL string
The professional network URL of the company (e.g., https://www.linkedin.com/company/google/).
Required
coyNameMatch Company Name Match string
Include profiles that match the company name in addition to exact URL matches.
Optional
employmentStatus Employment Status string
Filter by employment status.
Optional
atDate At Date string
Fetch the employee count at a specific date. Format: YYYY-MM-DD. Costs 1-5 extra credits depending on plan.
Optional
estimatedEmployeeCount Estimated Employee Count string
Include a retrieved employee count from the target company's profile. Costs 1 extra credit.
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-get-employee-count
Version
0.0.2
App
Enrich Layer
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes