Skip to content
>_<
AI EngineeringWiki

n8n: Workflow Automation

Tools Β· 8 min

n8n is a powerful workflow automation tool. It connects apps, services and APIs β€” without programming.

Why n8n? β€” illustration from the German article
Why n8n? β€” illustration from the German article

Why n8n?

Advantages

  • Self-hosted - all data stays local
  • Open Source - free
  • 400+ integrations
  • Code nodes for custom logic

Disadvantages

  • More setup than cloud tools
  • You are responsible for hosting
  • Steeper learning curve

Installation

services:
  n8n:
    image: n8nio/n8n:latest
    ports:
      - "5678:5678"
    volumes:
      - n8n_data:/home/node/.n8n

Basic Concepts

Nodes are the building blocks. Each node does one thing.Workflows connect nodes into chains.Expressions like {{$json.name}} manipulate data.

Useful Nodes

  • HTTP Request - API calls
  • IF - Conditional branching
  • Set - Transform data
  • Function - Custom JavaScript code
  • Slack / Team-Chat - Send messages
  • Ollama - Local LLMs

Practical Examples

# Stripe Payment β†’ E-Mail
Webhook (Stripe) β†’ IF (success) β†’ Email Send

# RSS β†’ Newsletter  
RSS Read (daily) β†’ Slack β†’ Email Send

# Form β†’ AI β†’ Save
Webhook β†’ Ollama β†’ Notion β†’ Slack

Best Practices

  1. Start small - first simple, then expand
  2. Add error handling
  3. Use test mode
  4. Check logs for debugging

Related articles: n8n Workflow Bundle Β· Ollama Tutorial

For implementation support, find resources at ai-engineering.at.

Related articles

Was this article helpful?

Continue the learning path

The learning path puts these articles in order, and the Hub carries the building blocks we have checked in our own operations.

Why AI Engineering
  • Local and self-hosted
  • Documented and verifiable
  • From our own operations
  • Made in Austria
Not legal advice.