#163
feat: Add LeadMagic B2B data enrichment plugin with 9 actions
Overview
Adds LeadMagic integration with 9 B2B data enrichment actions for lead generation and company research workflows.
This PR supersedes #162 with additional improvements and fixes.
Actions Included
People Operations (6 actions)
- Email Finder: Find email addresses from first name, last name, and company domain
- Email Validation: Validate email addresses and check deliverability
- Mobile Finder: Find mobile phone numbers from LinkedIn profiles
- Role Finder: Find people at companies by their role/title
- Profile Search: Search for LinkedIn profiles by name and company
- B2B Profile Email: Get B2B profile data and email from LinkedIn URL
Company Operations (3 actions)
- Company Search: Search for companies by name or domain
- Company Funding: Get company funding and investment data
- Technographics: Get company technology stack information
Implementation Details
Architecture
- ✅ Follows plugin architecture from CONTRIBUTING.md
- ✅ Uses native
fetchAPI (no SDK dependencies per guidelines) - ✅ Standardized output format:
{ success: boolean, data?: object, error?: object } - ✅ Proper error handling and validation
- ✅ Template variable support for all input fields
- ✅ Config field filtering implemented
Code Quality
- ✅ All type checks pass (
pnpm type-check) - ✅ Code formatted with ultracite (
pnpm fix) - ✅ No console.log or debug code
- ✅ Follows existing integration patterns
Testing
- ✅ All 9 actions tested and working
- ✅ Template variables working correctly
- ✅ Error handling validated
- ✅ Connection test function working
- ✅ Integration with workflow builder UI verified
Files Changed
New Files
plugins/leadmagic/- Complete LeadMagic pluginindex.ts- Plugin definition with 9 actionscredentials.ts- Credential type definitionicon.tsx- LeadMagic icon componenttest.ts- Connection test functionsteps/- 9 step functions for each action
public/leadmagic-logo.png- LeadMagic logo asset
Modified Files
plugins/index.ts- Auto-generated plugin registrationlib/workflow-executor.workflow.ts- Config filtering improvements to prevent extra fields from being passed to actions
API Details
Base URL: https://api.leadmagic.io
Authentication: API key via X-API-Key header
Rate Limits: Handled by LeadMagic API
Use Cases
This integration enables workflows for:
- Lead enrichment and validation
- Contact discovery and verification
- Company research and intelligence
- Sales prospecting automation
- Data enrichment pipelines
Checklist
- Code follows existing patterns
- All tests pass (
pnpm type-check) - Code is formatted (
pnpm fix) - No SDK dependencies (uses fetch)
- Standardized output format
- Template variables supported
- Error handling implemented
- Connection test working
- All actions tested manually
- Follows CONTRIBUTING.md guidelines
Related
- Supersedes #162
- Follows same pattern as existing integrations (Firecrawl, Resend, Instantly, etc.)
Pull Request opened by Augment Code with guidance from the PR author
Activity
6Thanks for submitting this! We'll review and follow up.
@bcharleson is attempting to deploy a commit to the Vercel Labs Team on Vercel.
A member of the Team first needs to authorize it.