Skip to content

Commit 9483249

Browse files
committed
fix(peopledatalabs): restore name for Person Enrich
Add the `name` parameter to `PdlPersonEnrichParams`, the tool's params definition, and the URL builder. PDL Person Enrichment accepts `name` as a full-name match alternative to first_name + last_name; without it, programmatic `name` input was silently dropped before reaching the API.
1 parent 2be7c76 commit 9483249

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

apps/sim/tools/peopledatalabs/person_enrich.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ export const personEnrichTool: ToolConfig<PdlPersonEnrichParams, PdlPersonEnrich
4141
visibility: 'user-or-llm',
4242
description: 'LinkedIn numeric ID',
4343
},
44+
name: {
45+
type: 'string',
46+
required: false,
47+
visibility: 'user-or-llm',
48+
description: 'Full name (use as an alternative to first_name + last_name)',
49+
},
4450
first_name: {
4551
type: 'string',
4652
required: false,
@@ -92,6 +98,7 @@ export const personEnrichTool: ToolConfig<PdlPersonEnrichParams, PdlPersonEnrich
9298
phone: params.phone,
9399
profile: params.profile,
94100
lid: params.lid,
101+
name: params.name,
95102
first_name: params.first_name,
96103
last_name: params.last_name,
97104
company: params.company,

apps/sim/tools/peopledatalabs/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ export interface PdlPersonEnrichParams {
209209
phone?: string
210210
profile?: string
211211
lid?: string
212+
name?: string
212213
first_name?: string
213214
last_name?: string
214215
company?: string

0 commit comments

Comments
 (0)