Skip to main content
New

1,300+ funded startups directory

Browse
LeadMagic logo
LeadMagic
Back to guides
Platform Guide22 min read

The Complete Guide to n8n: Open-Source Workflow Automation [2026]

Everything you need to know about n8n — the open-source workflow automation platform. Self-host, connect 400+ apps, and automate.

LeadMagic Team

Updated January 10, 2025

n8n is an open-source workflow automation platform that lets you connect apps, automate tasks, and build powerful integrations. Unlike Zapier or Make, n8n can be self-hosted, giving you complete control over your data.

What is n8n?

n8n (pronounced "n-eight-n") is a workflow automation tool that:

  • Connects 400+ apps and services
  • Can be self-hosted or cloud-hosted
  • Uses a visual, node-based editor
  • Supports custom code when needed

Getting Started

Self-Hosted vs Cloud

Self-Hosted:

  • Complete data control
  • No usage limits
  • One-time setup required
  • You manage infrastructure

Cloud (n8n.io):

  • Instant setup
  • Managed infrastructure
  • Usage-based pricing
  • Always up-to-date

Your First Workflow

  1. Create a new workflow
  2. Add a trigger node (e.g., Webhook, Schedule)
  3. Add action nodes (e.g., HTTP Request, Spreadsheet)
  4. Connect the nodes
  5. Activate your workflow

Key Concepts

Nodes

Nodes are the building blocks of n8n workflows. Each node performs a specific action:

  • Trigger nodes start workflows
  • Action nodes perform operations
  • Logic nodes control flow (IF, Switch, Merge)

Expressions

n8n uses expressions to reference data between nodes:

{{ $json.email }}
{{ $node["HTTP Request"].json.data }}

Error Handling

Build robust workflows with:

  • Error triggers
  • Retry on failure
  • Fallback paths

Common Use Cases

Lead Enrichment

  1. Webhook receives new lead
  2. Call LeadMagic API for enrichment
  3. Update CRM with enriched data
  4. Notify sales team

Data Sync

  1. Schedule daily trigger
  2. Fetch data from source
  3. Transform and map fields
  4. Push to destination

Alert Monitoring

  1. Monitor for conditions
  2. Evaluate thresholds
  3. Send notifications (Slack, Email)

Advanced Features

Sub-Workflows

Break complex automations into reusable components.

Custom Nodes

Build your own nodes for proprietary systems.

Credentials Management

Securely store and manage API keys and credentials.

LeadMagic + n8n

Integrate LeadMagic with n8n for automated enrichment:

  1. Add HTTP Request node
  2. Configure LeadMagic API endpoint
  3. Pass lead data in request body
  4. Use enriched data in subsequent nodes

Conclusion

n8n is powerful, flexible, and puts you in control. Whether you self-host or use the cloud, it's an excellent choice for workflow automation.

Get your API key in 30 seconds

100 free credits. No credit card. API, CLI, and MCP — all from one key.