π€ Transform plain English into powerful N8N workflows using AI
Built with Augment Code - Demonstrating advanced AI-assisted development capabilities
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.
| 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 |
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)
π‘ 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"
- π€ 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
- π 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
Run the Community Edition:
# Start N8N Builder
python run.pyBasic Health Check:
# Run core system tests
python tests/test_system_health.py- Community: Standard error logging, basic retry logic
- Private: Advanced monitoring dashboard, automated recovery system
- ποΈ Architecture Overview - System design and components
- π§ Troubleshooting Guide - Fix common issues
- π¨ Design Principles - Project philosophy and approach
- β‘ Developer Workflow - Development process and VS Code integration
- π API Reference - Complete API documentation
- π Technical Specifications - Detailed technical specs
- π Getting Started Guide - Complete setup instructions
- π Integration Setup - Connect external services
- π¨ Design Principles - Project philosophy and architecture
- π Technical Specifications - Detailed system specs
- β 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
- β 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
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
- Fork the repository
- Create a feature branch
- Add tests for new features
- Update documentation
- Submit a pull request
MIT License - See LICENSE file for details
N8N_Builder represents a focused, well-architected solution for AI-powered workflow automation:
- π 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
| 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 |
- π― 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
- ποΈ 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
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!