Package Exports
- n8n-nodes-leadmagic
- n8n-nodes-leadmagic/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (n8n-nodes-leadmagic) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
LeadMagic n8n Integration
A comprehensive n8n community node for LeadMagic - the premier B2B data enrichment and lead generation platform. This integration brings LeadMagic's powerful API capabilities directly into your n8n workflows for automated lead generation, email finding, company intelligence, and sales automation.
๐ Features
๐ง Email Intelligence
- Email Validation: Verify email addresses with detailed deliverability scores
- Email Finder: Discover email addresses using names and domains
- Personal Email Discovery: Find personal email addresses for contacts
- Work Email Discovery: Locate professional email addresses
๐ข Company Intelligence
- Company Search: Find companies by name, domain, or keywords
- Funding Information: Access company funding rounds and investment data
๐ค Profile & People Enrichment
- Professional Profile Enrichment: Enhance profiles with comprehensive B2B data
- Email-to-Profile Lookup: Convert email addresses to detailed profiles
- Profile-to-Email Lookup: Extract email addresses from profile information
- Role Finder: Identify key personnel by job titles and departments
- Employee Search: Discover employees within specific companies
๐ผ Job Intelligence
- Job Search: Find job opportunities with advanced filtering
- Job Countries: Access available job markets by geography
- Job Types: Explore different employment types and categories
๐ฑ Mobile Intelligence
- Phone Number Finding: Discover mobile and phone numbers for contacts
๐ Advertisement Intelligence
- Google Ads Intelligence: Track and analyze Google advertising campaigns
- Meta Ads Intelligence: Monitor Facebook and Instagram ad strategies
- B2B Ad Search: Discover B2B advertising campaigns and strategies
- Ad Details: Get comprehensive advertisement performance data
๐ณ Credit Management
- Credit Check: Monitor your LeadMagic API credit usage and limits
๐ Workflow Templates
Get started quickly with our professional workflow templates! The templates/ directory contains ready-to-use n8n workflows for common LeadMagic use cases:
- ๐ง Email Enrichment Workflow - Comprehensive contact data enrichment pipeline
- ๐ CRM Contact Cleanup - Automated contact validation and enrichment system
- ๐ข Company Intelligence Pipeline - Complete B2B company research automation
- ๐ฏ Job-Based Lead Generation - Automated prospect discovery from job postings
- ๐งน Bulk Email List Cleaning - Efficient email validation and list segmentation
Each template includes detailed documentation, setup instructions, and customization guides.
๐ฆ Installation
Prerequisites
- n8n version 0.190.0 or higher
- Node.js 18.10 or higher
- A LeadMagic API key
Method 1: Install via n8n Community Nodes (Recommended)
- Open your n8n instance
- Go to Settings โ Community Nodes
- Click Install a Community Node
- Enter:
n8n-nodes-leadmagic - Click Install
Method 2: Manual Installation
# Navigate to your n8n installation directory
cd ~/.n8n
# Install the package
npm install n8n-nodes-leadmagic
# Restart n8n
n8n startMethod 3: Docker Installation
# For n8n Docker users, mount the node_modules volume
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-v ~/.n8n:/home/node/.n8n \
-v ~/.n8n/nodes_modules:/usr/local/lib/node_modules \
docker.n8n.io/n8nio/n8n
# Then install inside the container
npm install n8n-nodes-leadmagic๐ Configuration
Setting up LeadMagic Credentials
- In n8n, go to Credentials โ Add Credential
- Search for LeadMagic API
- Enter your LeadMagic API key
- Test the connection
- Save the credential
Getting your API Key:
- Sign up at LeadMagic
- Navigate to your API settings
- Generate a new API key
- Copy the key for use in n8n
๐ฏ Usage Examples
Example 1: Email Validation Workflow
{
"nodes": [
{
"name": "Validate Email",
"type": "n8n-nodes-leadmagic.leadMagic",
"parameters": {
"resource": "email",
"operation": "validate",
"email": "contact@example.com"
}
}
]
}Example 2: Company Enrichment Pipeline
{
"nodes": [
{
"name": "Find Company",
"type": "n8n-nodes-leadmagic.leadMagic",
"parameters": {
"resource": "company",
"operation": "search",
"searchMethod": "domain",
"domain": "leadmagic.io"
}
}
]
}Example 3: Automated Lead Generation
{
"nodes": [
{
"name": "Find Email",
"type": "n8n-nodes-leadmagic.leadMagic",
"parameters": {
"resource": "email",
"operation": "find",
"firstName": "John",
"lastName": "Doe",
"domain": "example.com"
}
},
{
"name": "Enrich Profile",
"type": "n8n-nodes-leadmagic.leadMagic",
"parameters": {
"resource": "profile",
"operation": "emailToProfile",
"email": "{{$node['Find Email'].json['email']}}"
}
}
]
}๐ API Coverage
This integration provides complete coverage of the LeadMagic API with 19 endpoints across 6 main resources:
| Resource | Operations | Description |
|---|---|---|
| Credit | 1 operation | Monitor API usage and limits |
| 4 operations | Validation, finding, and discovery | |
| Company | 2 operations | Search and funding intelligence |
| Profile | 5 operations | Professional enrichment and lookups |
| Job | 3 operations | Job search and market intelligence |
| Advertisement | 4 operations | Ad intelligence and tracking |
๐ง Development
Building from Source
# Clone the repository
git clone https://github.com/LeadMagic/leadmagic-n8n.git
cd leadmagic-n8n
# Install dependencies
pnpm install
# Build the project
pnpm run build
# Development mode with auto-rebuild
pnpm run devTesting
# Lint the code
pnpm run lint
# Fix linting issues
pnpm run lintfix
# Format code
pnpm run format๐ Documentation
- LeadMagic API Documentation: https://docs.leadmagic.io
- n8n Community Nodes Guide: n8n Community Nodes Documentation
- LeadMagic Platform: https://leadmagic.io
๐ค Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Add tests if applicable
- Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature/your-feature - Submit a pull request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Support
- Issues: GitHub Issues
- Documentation: LeadMagic Docs
- Community: n8n Community
- Email: support@leadmagic.io
๐ท๏ธ Keywords
n8n leadmagic lead-generation email-finder b2b-data data-enrichment email-validation company-intelligence profile-enrichment job-intelligence sales-automation professional-enrichment advertisement-tracking lead-enrichment sales-intelligence
Made with โค๏ธ by LeadMagic