N8N-Infrastructure

⚡ N8N Workflow Collection & Documentation

A professionally organized collection of 2,053 n8n workflows with a lightning-fast documentation system that provides instant search, analysis, and browsing capabilities.

⚠️ IMPORTANT NOTICE (Aug 14, 2025): Repository history has been rewritten due to DMCA compliance. If you have a fork or local clone, please see Issue #X for instructions on syncing your copy.

Support My Work

Buy Me a Coffee

If you’d like to say thanks, consider buying me a coffee—your support helps me keep improving this project!

🚀 NEW: High-Performance Documentation System

Experience 100x performance improvement over traditional documentation!

Quick Start - Fast Documentation System

# Install dependencies
pip install -r requirements.txt

# Start the fast API server
python run.py

# Open in browser
http://localhost:8000

Features:

Performance Comparison

Metric Old System New System Improvement
File Size 71MB HTML <100KB 700x smaller
Load Time 10+ seconds <1 second 10x faster
Search Client-side only Full-text with FTS5 Instant
Memory Usage ~2GB RAM <50MB RAM 40x less
Mobile Support Poor Excellent Fully responsive

📂 Repository Organization

Workflow Collection

Advanced Naming System ✨

Our intelligent naming system converts technical filenames into readable titles:

Use Case Category ✨

The search interface includes a dropdown filter that lets you browse 2,000+ workflows by category.

The system includes an automated categorization feature that organizes workflows by service categories to make them easier to discover and filter.

How Categorization Works

  1. Run the categorization script
    python create_categories.py
    
  2. Service Name Recognition The script analyzes each workflow JSON filename to identify recognized service names (e.g., “Twilio”, “Slack”, “Gmail”, etc.)

  3. Category Mapping Each recognized service name is matched to its corresponding category using the definitions in context/def_categories.json. For example:
    • Twilio → Communication & Messaging
    • Gmail → Communication & Messaging
    • Airtable → Data Processing & Analysis
    • Salesforce → CRM & Sales
  4. Search Categories Generation The script produces a search_categories.json file that contains the categorized workflow data

  5. Filter Interface Users can then filter workflows by category in the search interface, making it easier to find workflows for specific use cases

Available Categories

The categorization system includes the following main categories:

Contribute Categories

You can help expand the categorization by adding more service-to-category mappings (e.g., Twilio → Communication & Messaging) in context/defs_categories.json.

Many workflow JSON files are conveniently named with the service name, often separated by underscores (_).


🛠 Usage Instructions

# Clone repository
git clone <repo-url>
cd n8n-workflows

# Install Python dependencies
pip install -r requirements.txt

# Start the documentation server
python run.py

# Browse workflows at http://localhost:8000
# - Instant search across 2,053 workflows
# - Professional responsive interface
# - Real-time workflow statistics

Option 2: Development Mode

# Start with auto-reload for development
python run.py --dev

# Or specify custom host/port
python run.py --host 0.0.0.0 --port 3000

# Force database reindexing
python run.py --reindex

Import Workflows into n8n

# Use the Python importer (recommended)
python import_workflows.py

# Or manually import individual workflows:
# 1. Open your n8n Editor UI
# 2. Click menu (☰) → Import workflow
# 3. Choose any .json file from the workflows/ folder
# 4. Update credentials/webhook URLs before running

📊 Workflow Statistics

Current Collection Stats

Trigger Distribution

Complexity Analysis

Top services by usage frequency:


🔍 Advanced Search Features

Smart Search Categories

Our system automatically categorizes workflows into 12 service categories:

Available Categories:

API Usage Examples

# Search workflows by text
curl "http://localhost:8000/api/workflows?q=telegram+automation"

# Filter by trigger type and complexity
curl "http://localhost:8000/api/workflows?trigger=Webhook&complexity=high"

# Find all messaging workflows
curl "http://localhost:8000/api/workflows/category/messaging"

# Get database statistics
curl "http://localhost:8000/api/stats"

# Browse available categories
curl "http://localhost:8000/api/categories"

🏗 Technical Architecture

Modern Stack

Key Features

Database Performance

-- Optimized schema for lightning-fast queries
CREATE TABLE workflows (
    id INTEGER PRIMARY KEY,
    filename TEXT UNIQUE,
    name TEXT,
    active BOOLEAN,
    trigger_type TEXT,
    complexity TEXT,
    node_count INTEGER,
    integrations TEXT,  -- JSON array of 365 unique services
    description TEXT,
    file_hash TEXT,     -- MD5 for change detection
    analyzed_at TIMESTAMP
);

-- Full-text search with ranking
CREATE VIRTUAL TABLE workflows_fts USING fts5(
    filename, name, description, integrations, tags,
    content='workflows', content_rowid='id'
);

🔧 Setup & Requirements

System Requirements

Installation

# Clone repository
git clone <repo-url>
cd n8n-workflows

# Install dependencies
pip install -r requirements.txt

# Start documentation server
python run.py

# Access at http://localhost:8000

Development Setup

# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate  # Linux/Mac
# or .venv\Scripts\activate  # Windows

# Install dependencies
pip install -r requirements.txt

# Run with auto-reload for development
python api_server.py --reload

# Force database reindexing
python workflow_db.py --index --force

📋 Naming Convention

Intelligent Formatting System

Our system automatically converts technical filenames to user-friendly names:

# Automatic transformations:
2051_Telegram_Webhook_Automation_Webhook.json → "Telegram Webhook Automation"
0250_HTTP_Discord_Import_Scheduled.json → "HTTP Discord Import Scheduled"  
0966_OpenAI_Data_Processing_Manual.json → "OpenAI Data Processing Manual"

Technical Format

[ID]_[Service1]_[Service2]_[Purpose]_[Trigger].json

Smart Capitalization Rules


🚀 API Documentation

Core Endpoints

Response Examples

// GET /api/stats
{
  "total": 2053,
  "active": 215,
  "inactive": 1838,
  "triggers": {
    "Complex": 831,
    "Webhook": 519,
    "Manual": 477,
    "Scheduled": 226
  },
  "total_nodes": 29445,
  "unique_integrations": 365
}

🤝 Contributing

Adding New Workflows

  1. Export workflow as JSON from n8n
  2. Name descriptively following the established pattern
  3. Add to workflows/ directory
  4. Remove sensitive data (credentials, personal URLs)
  5. Run reindexing to update the database

Quality Standards


⚠️ Important Notes

Security & Privacy

Compatibility


📚 Resources & References

Workflow Sources

This comprehensive collection includes workflows from:

Learn More


🏆 Project Achievements

Repository Transformation

Performance Revolution

System Reliability


This repository represents the most comprehensive and well-organized collection of n8n workflows available, featuring cutting-edge search technology and professional documentation that makes workflow discovery and usage a delightful experience.

🎯 Perfect for: Developers, automation engineers, business analysts, and anyone looking to streamline their workflows with proven n8n automations.


中文