Skip to content

feat(enrichments): add LinkedIn profile lookup - #6926

Merged
TheodoreSpeaks merged 5 commits into
stagingfrom
feat/linkedin-profile-enrichment
Aug 21, 2026
Merged

feat(enrichments): add LinkedIn profile lookup#6926
TheodoreSpeaks merged 5 commits into
stagingfrom
feat/linkedin-profile-enrichment

Conversation

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator

Summary

  • add a LinkedIn Profile enrichment backed by hosted provider cascades
  • normalize matches to canonical LinkedIn person URLs
  • add the LinkedIn icon, canvas sentence, tests, and generated tool output metadata

Type of Change

  • New feature

Testing

  • bun run test -- enrichments (44 tests)
  • bun run type-check
  • bun run lint
  • bun run check:audits
  • bun run docs-manifest:check

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Aug 21, 2026 5:32am

Request Review

@cursor

cursor Bot commented Aug 21, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
New people-data lookups send name/email/company to third-party providers; logic is additive and follows the existing enrichment cascade pattern.

Overview
Adds a LinkedIn Profile enrichment that finds a person’s LinkedIn URL from full name plus optional email and company identifiers.

Providers cascade Findymail → Datagma → Prospeo → LeadMagic → PDL. Email reverse lookups run first; later providers use name + company when needed. Matches are normalized to https://www.linkedin.com/in/{slug} and company pages are rejected.

The enrichment is registered in the catalog and gets a canvas sentence on the Data Enrichment block. Unit tests cover cascade order, param building, URL normalization, and Prospeo NO_MATCH handling.

Reviewed by Cursor Bugbot for commit 0352193. Bugbot is set up for automated code reviews on this repo. Configure here.

@greptile-apps

greptile-apps Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Adds a LinkedIn profile enrichment that searches a hosted provider cascade and normalizes successful matches to canonical LinkedIn person URLs.

  • Registers the enrichment and its canvas sentence.
  • Adds Findymail, Datagma, Prospeo, LeadMagic, and People Data Labs provider mappings.
  • Adds provider-contract and URL-normalization tests.
  • Adds the LinkedIn icon and regenerated tool-output metadata.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
apps/sim/enrichments/linkedin-profile/linkedin-profile.ts Defines the provider cascade, request projections, failure handling, and canonical LinkedIn person-URL normalization.
apps/sim/enrichments/linkedin-profile/linkedin-profile.test.ts Covers provider order, parameter construction, output normalization, and Prospeo failure projection.
apps/sim/enrichments/registry.ts Registers the new LinkedIn profile enrichment.
apps/sim/blocks/blocks/enrichment.ts Adds the LinkedIn profile operation’s canvas sentence.
packages/emcn/src/icons/linkedin.tsx Adds the LinkedIn brand glyph used by the enrichment.

Sequence Diagram

sequenceDiagram
  participant W as Workflow
  participant E as LinkedIn Enrichment
  participant P as Provider Cascade
  W->>E: Name, email, and company hints
  loop Findymail → Datagma → Prospeo → LeadMagic → PDL
    E->>P: Build provider-specific request
    P-->>E: Provider response
    E->>E: Normalize LinkedIn person URL
  end
  E-->>W: Canonical linkedinUrl or no match
Loading

Reviews (5): Last reviewed commit: "Merge remote-tracking branch 'origin/sta..." | Re-trigger Greptile

Comment thread apps/sim/enrichments/linkedin-profile/linkedin-profile.ts Outdated
@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@greptile

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@cursor review

Comment thread apps/sim/enrichments/linkedin-profile/linkedin-profile.ts Outdated
@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@greptile

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 088f8b7. Configure here.

Comment thread apps/sim/enrichments/linkedin-profile/linkedin-profile.ts Outdated
@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@greptile

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 7822eae. Configure here.

…ile-enrichment

# Conflicts:
#	apps/sim/tools/generated/tool-outputs.ts
@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@greptile

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 0352193. Configure here.

@TheodoreSpeaks
TheodoreSpeaks merged commit a0a1438 into staging Aug 21, 2026
30 checks passed
@TheodoreSpeaks
TheodoreSpeaks deleted the feat/linkedin-profile-enrichment branch August 21, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant