automation7 min

n8n Setup Guide: From Zero to First Workflow

2026-03-30

Stay ahead of the curve

Get weekly technical intelligence delivered to your inbox. No fluff, just signal.

n8n is an open-source workflow automation tool. Think Zapier but self-hosted, cheaper, and more powerful. Here's how to set it up.

Why n8n?

  • Free: Self-host for unlimited workflows
  • Powerful: Code inside workflows
  • Flexible: Webhooks, cron, triggers
  • Privacy: Your data stays on your server

Option 1: Cloud (Easiest)

bash
# Just visit https://n8n.cloud and sign up
# Free tier: 1 user, 100 active executions/month

Pros: Instant setup, managed Cons: Limited on free tier, data on their servers

Option 2: Docker (Recommended)

```bash # Create a docker-compose.yml version: '3' services: n8n: image: n8nio/n8n ports: - "5678:5678" environment: - N8N_BASIC_AUTH_ACTIVE=true - N8N_BASIC_AUTH_USER=admin - N8N_BASIC_AUTH_PASSWORD=your_secure_password - N8N_HOST=your-domain.com volumes: - n8n_data:/home/node/.n8n

volumes: n8n_data: ```

Then: ``bash docker-compose up -d

Access at http://localhost:5678

Option 3: Railway (Still Free)

  1. Go to railway.app
  2. Deploy n8n template
  3. Add environment variables
  4. Done — running in ~2 minutes

Your First Workflow

Trigger: HTTP Request

  1. Click "+ Add first step"
  2. Select "HTTP Request"
  3. Configure:
  4. Test → You get SOL price

Action: Discord Notification

  1. Add new step → Discord
  2. Configure webhook
  3. Set message: "SOL price: {{json.solana.usd}}"
  4. Connect trigger → Action

You've just built a SOL price monitor.

Essential Nodes to Learn

NodeUse Case
HTTP RequestCall any API
CodeCustom JavaScript/Python
Schedule TriggerCron jobs
WebhookReceive web requests
IFConditional logic
LoopIterate over items
Slack/DiscordSend notifications
Google SheetsSpreadsheet ops

Pro Tips

1. Use Code Node

Don't wait for pre-built integrations:

javascript
// In Code node
return items.map(item => {
  const data = item.json;
  return {
    json: {
      value: data.price * 1.1,
      signal: data.price > 100 ? 'BUY' : 'WAIT'
    }
  };
});

2. Error Workflows

Never miss a failure:

  1. Create separate workflow
  2. Set trigger: Error Trigger (catch)
  3. Actions: Slack notification, email, log

3. Encryption

For sensitive data:

bash
# Set encryption key
docker run -d -p 5678:5678   -e N8N_ENCRYPTION_KEY=your-32-char-key   n8nio/n8n

Final Verdict

n8n is the real deal. It's not just "free Zapier" — it's a programmable automation platform that grows with you.

Start with Docker on a $5 VPS. The community is excellent. The documentation is thorough. And once you have one workflow running, you'll find 10 more to automate.

Related Intelligence

n8n Setup Guide: From Zero to First Workflow | Decryptica | Decryptica