n8n-workflows Documentation

All of the workflows of n8n i could find (also from the site itself)

55,397 stars Python Python 1 file ยท ~1,221 tokens
RAW Doc

Docker & Self-Hosted Deployment Verified OCI

Deploy n8n-workflows on any server, homelab, or cloud container platform.

1-Click Terminal Command
bash (docker run)
docker run -d --name n8n-workflows -p 5678:5678 --restart always n8nio/n8n:latest
Configured Services & Ports
โš™๏ธ n8n
image: n8nio/n8n:latest
๐Ÿ”Œ Ports: 5678:5678
โš™๏ธ agent-zero
image: frdel/agent-zero-run:latest
๐Ÿ”Œ Ports: 50080:80
โš™๏ธ comfyui
image: aidockorg/comfyui-cuda:latest
๐Ÿ”Œ Ports: 8188:8188
docker-compose.yml
yaml (docker-compose.yml)
# =============================================================================
# Turnkey Local AI Automation Stack
# n8n (orchestration) + Agent Zero (agent runtime) + ComfyUI (media generation)
# =============================================================================
# Usage: docker compose up -d
# URLs:
#   - n8n:        http://localhost:5678
#   - Agent Zero: http://localhost:50080
#   - ComfyUI:    http://localhost:8188
# =============================================================================

services:
  # ---------------------------------------------------------------------------
  # n8n - Workflow Automation Engine (The Conductor)
  # ---------------------------------------------------------------------------
  n8n:
    image: n8nio/n8n:latest
    container_name: ai-stack-n8n
    ports:
      - "5678:5678"
    environment:
      # Core configuration
      - N8N_HOST=localhost
      - N8N_PORT=5678
      - N8N_PROTOCOL=http
      # Webhook URL - critical for correct webhook URLs in editor
      - WEBHOOK_URL=http://localhost:5678
      # Timezone
      - GENERIC_TIMEZONE=${TZ:-America/Los_Angeles}
      - TZ=${TZ:-America/Los_Angeles}
      # Execution settings
      - EXECUTIONS_DATA_PRUNE=true
      - EXECUTIONS_DATA_MAX_AGE=168
      # Allow calling local services
      - N8N_PAYLOAD_SIZE_MAX=256
    volumes:
      - ./data/n8n:/home/node/.n8n
      - ./shared:/shared
    networks:
      - ai-stack-network
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "wget -qO- http://localhost:5678/healthz || exit 1"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 30s

  # ---------------------------------------------------------------------------
  # Agent Zero - AI Agent Runtime & UI
  # ---------------------------------------------------------------------------
  agent-zero:
    image: frdel/agent-zero-run:latest
    container_name: ai-stack-agent-zero
    ports:
      # Agent Zero web UI is on container port 80
      - "50080:80"
    environment:
      - TZ=${TZ:-America/Los_Angeles}
    volumes:
      - ./shared:/shared
      - ./data/agent-zero:/app/data
    networks:
      - ai-stack-network
    restart: unless-stopped
    depends_on:
      - n8n

  # ---------------------------------------------------------------------------
  # ComfyUI - AI Image/Video Generation
  # ---------------------------------------------------------------------------
  # Using a well-maintained community image
  # GPU support requires NVIDIA Container Toolkit
  comfyui:
    image: aidockorg/comfyui-cuda:latest
    container_name: ai-stack-comfyui
    ports:
      - "8188:8188"
    environment:
      - CLI_ARGS=--listen 0.0.0.0 --port 8188
    volumes:
      # Model storage (checkpoints, loras, etc.)
      - ./shared/comfyui/models:/comfyui/models
      # Output directory
      - ./shared/comfyui/output:/comfyui/output
      # Input directory
      - ./shared/comfyui/input:/comfyui/input
      # Custom nodes
      - ./shared/comfyui/custom_nodes:/comfyui/custom_nodes
    networks:
      - ai-stack-network
    # GPU support - requires NVIDIA Container Toolkit
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "curl -f http://localhost:8188/system_stats || exit 1"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 60s

  # ---------------------------------------------------------------------------
  # ComfyUI CPU-only variant (uncomment if no GPU available)
  # ---------------------------------------------------------------------------
  # comfyui-cpu:
  #   image: frdel/comfyui-docker:latest
  #   container_name: ai-stack-comfyui-cpu
  #   ports:
  #     - "8188:8188"
  #   environment:
  #     - CLI_ARGS=--listen 0.0.0.0 --port 8188 --cpu
  #   volumes:
  #     - ./shared/comfyui/models:/comfyui/models
  #     - ./shared/comfyui/output:/comfyui/output
  #     - ./shared/comfyui/input:/comfyui/input
  #     - ./shared/comfyui/custom_nodes:/comfyui/custom_nodes
  #   networks:
  #     - ai-stack-network
  #   restart: unless-stopped
  #   profiles:
  #     - cpu-only

networks:
  ai-stack-network:
    driver: bridge
    name: ai-stack-network

volumes:
  n8n-data:
  agent-zero-data:
  comfyui-models:
  comfyui-output:

n8n Workflow Collection

What's New

Latest Updates (November 2025)

  • Enhanced Security: Full security audit completed, all CVEs resolved
  • Docker Support: Multi-platform builds for linux/amd64 and linux/arm64
  • GitHub Pages: Live searchable interface at zie619.github.io/n8n-workflows
  • Performance: 100x faster search with SQLite FTS5 integration
  • Modern UI: Completely redesigned interface with dark/light mode

Quick Access

Use Online (No Installation)

Visit zie619.github.io/n8n-workflows for instant access to:

  • Smart Search โ€” Find workflows instantly
  • 15+ Categories โ€” Browse by use case
  • Mobile Ready โ€” Works on any device
  • Direct Downloads โ€” Get workflow JSONs instantly

Features

| ### By The Numbers

  • 4,343 Production-Ready Workflows
  • 365 Unique Integrations
  • 29,445 Total Nodes
  • 15 Organized Categories
  • 100% Import Success Rate | ### Performance
  • < 100ms Search Response
  • < 50MB Memory Usage
  • 700x Smaller Than v1
  • 10x Faster Load Times
  • 40x Less RAM Usage |
    | --- | --- |

Local Installation

Prerequisites

  • Python 3.9+
  • pip (Python package manager)
  • 100MB free disk space

Quick Start

bash
# Clone the repository
git clone https://github.com/Zie619/n8n-workflows.git
cd n8n-workflows

# Install dependencies
pip install -r requirements.txt

# Start the server
python run.py

# Open in browser
# http://localhost:8000

Docker Installation

bash
# Using Docker Hub
docker run -p 8000:8000 zie619/n8n-workflows:latest

# Or build locally
docker build -t n8n-workflows .
docker run -p 8000:8000 n8n-workflows

Documentation

API Endpoints

Endpoint Method Description
/ GET Web interface
/api/search GET Search workflows
/api/stats GET Repository statistics
/api/workflow/{id} GET Get workflow JSON
/api/categories GET List all categories
/api/export GET Export workflows

Search Features

  • Full-text search across names, descriptions, and nodes
  • Category filtering (Marketing, Sales, DevOps, etc.)
  • Complexity filtering (Low, Medium, High)
  • Trigger type filtering (Webhook, Schedule, Manual, etc.)
  • Service filtering (365+ integrations)

Architecture

mermaid
graph LR
    A[User] --> B[Web Interface]
    B --> C[FastAPI Server]
    C --> D[SQLite FTS5]
    D --> E[Workflow Database]
    C --> F[Static Files]
    F --> G[Workflow JSONs]

Tech Stack

  • Backend: Python, FastAPI, SQLite with FTS5
  • Frontend: Vanilla JS, Tailwind CSS
  • Database: SQLite with Full-Text Search
  • Deployment: Docker, GitHub Actions, GitHub Pages
  • Security: Trivy scanning, CORS protection, Input validation

Repository Structure

text
n8n-workflows/
โ”œโ”€โ”€ workflows/           # 4,343 workflow JSON files
โ”‚   โ””โ”€โ”€ [category]/     # Organized by integration
โ”œโ”€โ”€ docs/               # GitHub Pages site
โ”œโ”€โ”€ src/                # Python source code
โ”œโ”€โ”€ scripts/            # Utility scripts
โ”œโ”€โ”€ api_server.py       # FastAPI application
โ”œโ”€โ”€ run.py              # Server launcher
โ”œโ”€โ”€ workflow_db.py      # Database manager
โ””โ”€โ”€ requirements.txt    # Python dependencies

Contributing

We love contributions! Here's how you can help:

Ways to Contribute

  • Report bugs via Issues
  • Suggest features in Discussions
  • Improve documentation
  • Submit workflow fixes
  • Star the repository

Development Setup

bash
# Fork and clone
git clone https://github.com/YOUR_USERNAME/n8n-workflows.git

# Create branch
git checkout -b feature/amazing-feature

# Make changes and test
python run.py --debug

# Commit and push
git add .
git commit -m "feat: add amazing feature"
git push origin feature/amazing-feature

# Open PR

Security

Security Features

  • Path traversal protection
  • Input validation & sanitization
  • CORS protection
  • Rate limiting
  • Docker security hardening
  • Non-root container user
  • Regular security scanning

Reporting Security Issues

Please report security vulnerabilities to the maintainers via Security Advisory.


License

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


Support

If you find this project helpful, please consider: