N8N_Builder: AI-Powered Workflow Automation
July 19, 2025 ยท View on GitHub
๐ค Transform plain English into powerful N8N workflows using AI
Built with Augment Code - Demonstrating advanced AI-assisted development capabilities
๐ท๏ธ Editions
N8N_Builder is available in two editions:
| Edition | Description | Best For |
|---|---|---|
| ๐ Community Edition | Full AI workflow generation with standard error handling | Individual developers, learning, open source projects |
| ๐ Private Modules | Optional enhanced monitoring and recovery capabilities | Production environments, enterprise deployments |
Note: This repository contains the complete Community Edition. Optional Private modules are being held in reserve at this time.
๐ Quick Start (Choose Your Speed)
| Time Available | Start Here | What You'll Get |
|---|---|---|
| 15 minutes | ๐ Getting Started | Complete setup + understanding |
| 30 minutes | ๐ Integration Guide | Connect external services |
| 45 minutes | ๐ง Troubleshooting | Handle common issues |
๐๏ธ How It Works
graph LR
A[Describe in English] --> B[AI Generates JSON]
B --> C[Import to n8n]
C --> D[Workflow Runs]
classDef process fill:#e8f5e8
class A,B,C,D process
Complete System:
- ๐ค N8N_Builder (this repo) - AI workflow generator
- ๐ณ n8n-docker - Production execution environment
- ๐ Integration - Seamless workflow transfer
- ๐ Optional Modules - Enhanced monitoring and recovery (separate deployment)
โจ What You Can Build
๐ก Example Automations:
- "Send me an email when a new file is uploaded to my folder"
- "Post to Twitter when I publish a new blog article"
- "Convert CSV files to JSON and send to a webhook"
- "Alert me when my website goes down"
- "Send welcome emails to new customers"
๐ฏ Key Features
๐ Community Edition Features
- ๐ค AI-Powered: Convert plain English to n8n workflows
- ๐ Smart Research: Real-time n8n documentation lookup
- โก Dual APIs: Standard REST + AG-UI Protocol
- โ Validation: Ensures workflows meet n8n standards
- ๐ Iteration: Modify existing workflows easily
- ๐ Web Interface: User-friendly workflow generation
- ๐ญ Production Ready: Complete Docker execution environment
- ๐ง Basic Error Handling: Standard retry logic and error logging
- ๐งช Testing Suite: Core system validation and health checks
๐ Private Modules
- ๐ Advanced Monitoring: Real-time system health dashboards
- ๐ก๏ธ Automated Recovery: Intelligent error detection and resolution
- ๐๏ธ Enhanced Database: Advanced data management with stored procedures
- ๐ Log Management: 24-hour rotation with compression and retention
- ๐งน Smart Maintenance: Automated project optimization and cleanup
- ๐ Automated Recovery: Proactive system maintenance and recovery
๐ Getting Started
๐ Community Edition (This Repository)
Run the Community Edition:
# Start N8N Builder
python run.py
Basic Health Check:
# Run core system tests
python tests/test_system_health.py
๐ How to Tell Which Edition You're Running
- Community: Standard error logging, basic retry logic
- Private: Advanced monitoring dashboard, automated recovery system
๐ Documentation
๐ฏ Start Here
- ๐๏ธ Architecture Overview - System design and components
- ๐ง Troubleshooting Guide - Fix common issues
- ๐จ Design Principles - Project philosophy and approach
๐ง For Developers
- โก Developer Workflow - Development process and VS Code integration
- ๐ API Reference - Complete API documentation
- ๐ Technical Specifications - Detailed technical specs
๐ณ n8n-docker Setup
- ๐ Getting Started Guide - Complete setup instructions
- ๐ Integration Setup - Connect external services
๐ค Advanced Topics
- ๐จ Design Principles - Project philosophy and architecture
- ๐ Technical Specifications - Detailed system specs
๐ Recent Updates
๐ Community Edition (Latest)
- โ Enhanced AI Generation - Improved workflow quality and reliability
- โ MCP Research Integration - Real-time n8n documentation lookup
- โ Better Error Handling - Robust retry logic and fallback strategies
- โ Dual API Support - Standard REST + AG-UI Protocol
- โ Improved Validation - Enhanced workflow structure checking
- โ Docker Integration - Streamlined n8n-docker setup
๐ Advanced Private Module Features
- โ System Health Monitoring - Real-time system health dashboards
- โ Automated Recovery - Intelligent error detection and resolution
- โ Database Enhancement - Stored procedures for optimal performance
- โ Log Management - 24-hour rotation with compression and retention
- โ Smart Maintenance - Automated project optimization and cleanup
๐จโ๐ป Developer Workflow
Quick Start for Developers:
- Work in N8N_Builder (main workspace)
- Commit + Sync:
Ctrl+Shift+Pโ "Tasks: Run Task" โ "Commit and Sync Community" - Enter messages: Main commit message + community message (or skip)
- Done! Changes committed locally + synced to GitHub automatically
๐ Complete Developer Guide - Detailed workflow documentation
๐ค Contributing
- Fork the repository
- Create a feature branch
- Add tests for new features
- Update documentation
- Submit a pull request
๐ License
MIT License - See LICENSE file for details
๐ Project Overview
N8N_Builder represents a focused, well-architected solution for AI-powered workflow automation:
๐ฏ Project Statistics
- ๐ Streamlined Documentation: 11 organized files (reduced from 69)
- ๐ Community Edition: Full-featured open source version
- ๐ Private Modules: Optional advanced features available separately
- ๐ง Maintenance Scripts: Automated project management and optimization
๐ Architecture Highlights
| Component | Description | Benefits |
|---|---|---|
| ๐ค AI-Powered Core | Local LLM integration with LM Studio | Privacy-first, no external API calls |
| ๐๏ธ Clean Architecture | Modular FastAPI-based design | Easy to extend and maintain |
| ๐ Comprehensive Docs | Hierarchical documentation structure | Quick start to detailed specifications |
| ๐ง Script-Driven Ops | Automated maintenance and analysis | Reduces manual effort, improves reliability |
| ๐ณ Docker Integration | Seamless n8n-docker deployment | Production-ready containerization |
๐๏ธ Development Philosophy
- ๐ฏ Simplicity First: Clean, maintainable code over complexity
- โ Documentation-Driven: Every feature thoroughly documented
- ๐ Script-Driven Operations: Automate repetitive tasks for reliability
- ๐ก๏ธ Privacy-Focused: All AI processing happens locally
- ๐ Community-Centered: Open source with MIT License
๐ Quality Assurance
- ๐๏ธ Structured Organization: Clear separation of concerns
- ๐ Validated Links: All documentation cross-references verified
- ๐งช Comprehensive Testing: Robust validation and quality checks
- ๐ Continuous Improvement: Regular optimization and cleanup
Notes:
At the moment the current version should be considered a draft. Having made various changes to the code base, I have not yet run the tests to ensure that everything is still working as expected. I will be doing that soon, and will update the repository accordingly. I am also in the process of writing additional tests to ensure that all of the new features are properly tested. I will be updating the documentation as I go, and will be adding additional documentation as needed. I will also be adding additional comments to the code as needed. My experience with it at the moment is a bit spotty, probably due to my determination to use local models. That said, it does work, but not always. I believe the concept and the architecture are sound, but more tooling around is needed.
This was built using Cursor for the first pass, but it fell down completely after that, so I switched to Augment, which is much more stable once the first pass has been completed. I could have used Augment for both, as they both would use Claude 4, but I had existing credits to use on Cursor... and if it hadn't crapped out on me with ridiculous mistakes and code crushing errors, I would have simply stuck with it. Augment is far more stable on existing code bases in my experience. I started working on this on June 20th, so that may give you an idea of how effective Augment is. On the other hand I ran out of credits for it several times since then, and so I paid about $40 in extra credits. Not too bad given how much I learned in the process, and how happy I am with the results overall.
While not required by the MIT license, if you find this code useful in your projects, a link back to this repository would be appreciated. And, of course, we should give credit where credit is due - to Augment Code and Anthropic's Claude 4, of course. Well, and to me for having the many years worth of experience in software development to use them well enough to ensure that the results are useful and of high quality. Thank you!
๐ Ready to automate your workflows with AI? Start with ๐ Getting Started and be running in 15 minutes!