Skip to content

Commit 2be7c76

Browse files
committed
fix(peopledatalabs): restore name for Person Enrich / Identify
The shared `name` reset at the top of `tools.config.params` was only repopulated for the company-side operations, so any programmatic `name` input to `pdl_person_enrich` or `pdl_person_identify` was silently dropped. Both PDL endpoints accept `name` as a full-name match parameter.
1 parent 092dfba commit 2be7c76

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/sim/blocks/blocks/peopledatalabs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ export const PeopleDataLabsBlock: BlockConfig<PdlPersonEnrichResponse> = {
445445
if (op === 'pdl_person_enrich' || op === 'pdl_person_identify') {
446446
if (params.profile !== undefined) result.profile = params.profile
447447
if (params.location !== undefined) result.location = params.location
448+
if (params.name !== undefined) result.name = params.name
448449
}
449450
if (op === 'pdl_company_enrich') {
450451
if (params.name !== undefined) result.name = params.name

0 commit comments

Comments
 (0)