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
- Create a new workflow
- Add a trigger node (e.g., Webhook, Schedule)
- Add action nodes (e.g., HTTP Request, Spreadsheet)
- Connect the nodes
- 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
- Webhook receives new lead
- Call LeadMagic API for enrichment
- Update CRM with enriched data
- Notify sales team
Data Sync
- Schedule daily trigger
- Fetch data from source
- Transform and map fields
- Push to destination
Alert Monitoring
- Monitor for conditions
- Evaluate thresholds
- 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:
- Add HTTP Request node
- Configure LeadMagic API endpoint
- Pass lead data in request body
- 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.
Related Guides
Master B2B data enrichment with our complete guide. Learn how to enrich contact and company data, compare top tools, and implement best practices.
Master Clay data enrichment workflows — from lead scoring to waterfall enrichment. Step-by-step guide to building GTM automation with Clay + LeadMagic.