JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q58090F
  • License MIT

n8n community node for LeadMagic - B2B data enrichment, email finder, company intelligence, and lead generation API integration

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

npm version License: MIT

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.

๐Ÿ“‹ Browse All Templates โ†’

๐Ÿ“ฆ Installation

Prerequisites

  1. Open your n8n instance
  2. Go to Settings โ†’ Community Nodes
  3. Click Install a Community Node
  4. Enter: n8n-nodes-leadmagic
  5. 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 start

Method 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

  1. In n8n, go to Credentials โ†’ Add Credential
  2. Search for LeadMagic API
  3. Enter your LeadMagic API key
  4. Test the connection
  5. Save the credential

Getting your API Key:

  1. Sign up at LeadMagic
  2. Navigate to your API settings
  3. Generate a new API key
  4. 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
Email 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 dev

Testing

# Lint the code
pnpm run lint

# Fix linting issues
pnpm run lintfix

# Format code
pnpm run format

๐Ÿ“– Documentation

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/your-feature
  3. Make your changes
  4. Add tests if applicable
  5. Commit your changes: git commit -m 'Add some feature'
  6. Push to the branch: git push origin feature/your-feature
  7. Submit a pull request

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ†˜ Support

๐Ÿท๏ธ 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