Loading...
Loading...
Loading...
Welcome to the most comprehensive n8n AI Agent course! Build powerful automation workflows and intelligent AI agents using n8n's visual workflow builder.
# ๐ค n8n AI Agent Mastery Course 2025
Welcome to the most comprehensive n8n AI Agent course! Build powerful automation workflows and intelligent AI agents using n8n's visual workflow builder.
## ๐ฏ Course Overview
This hands-on course teaches you to create sophisticated AI agents and automation workflows using n8n. From basic chatbots to advanced RAG (Retrieval-Augmented Generation) systems, you'll master the art of building intelligent automation solutions.
### ๐ **What You'll Learn**
**๐ง AI Theory & Fundamentals**
- Master the theory of LLMs and AI agents through clear visual examples
- Summarize key AIโagent research and distinguish between AI agents, workflows, automation, and AI automation
- Explain detailed definitions of APIs, servers, hosting, function calling, and testโtime compute
- Differentiate between selfโhosting, cloud hosting, and various other hosting types
**๐ n8n Deployment & Management**
- Deploy and manage n8n via selfโhosting (Node.js, Docker), cloud platforms, and hosting providers like Hostinger
- Expose webhook endpoints by tunneling a selfโhosted n8n Docker instance
- Configure credentials in selfโhosted n8n instances
- Debug n8n workflows and integrate with external applications
**๐ค AI Agent Development**
- Build robust n8n AI agents locally at no cost
- Differentiate among user, system, and assistant message roles in LLM interactions
- Master prompt engineering and context engineering techniques
- Develop a tool to automatically generate system messages for AI agents
- Develop voiceโenabled AI agents using n8n
- Master the design and implementation of over 100 AI agents
**๐ Advanced AI Systems**
- Understand RetrievalโAugmented Generation (RAG) in depth and develop powerful RAGโdriven AI agents
- Optimize RAG chatbots using embeddings, chunking, and related techniques
- Develop advanced AI agent solutions, including collaborative agent teams and MCP implementations
- Build multiple sentiment analysis projects
**๐ Integration & Automation**
- Build practical automation projects using Gmail and Google Workspace apps (e.g., Sheets)
- Integrate WhatsApp, Telegram, calendar, web scraping, and other services with n8n
- Integrate apps with websites and build an AIโautomation-driven business
- Compare pricing plans of major AI platforms (OpenAI, Claude, Gemini, DeepSeek, xAI, etc.)
**๐ก๏ธ Security & Optimization**
- Implement strategies to address challenges, ensure security compliance, and protect data
- Identify all memory types in n8n
- Develop premium AI agents for business applications
### ๐ **Course Statistics**
- **๐ฌ 40+ Video Tutorials**: Step-by-step implementation guides
- **๐ค 10 Complete Projects**: From beginner to advanced AI agents
- **โฑ๏ธ 20+ Hours**: Comprehensive hands-on learning
- **๐ Production-Ready**: Deploy real business solutions
## ๐ฅ Complete Course Playlist
**[๐บ Watch Full Course on YouTube](https://www.youtube.com/playlist?list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v)**
**๐ If you want to access the course on Udemy for FREE** - [๐ Get Free Access](https://www.udemy.com/course/mastering-ai-agentic-engineering-with-n8n/?couponCode=CD911814FEB35662C2D9)
*(Valid for only 1000 people until 09/06/2025)*
## ๐ Prerequisites
- **n8n installation** (we'll cover this in setup guide)
- **Enthusiasm to learn** AI automation!
- **No coding experience required** - n8n is visual!
## ๐ Quick Start Guide
### 1. **Clone This Repository**
```bash
git clone https://github.com/MohElshamy1994/n8n-course-Projetcs.git
cd n8n-course-Projetcs
```
### 2. **Import Workflows**
1. Open n8n at `http://localhost:5678`
2. Go to **Workflows** โ **Import** โ **From File**
3. Select any JSON file from the `workflows/` folder
4. Follow along with the corresponding YouTube video
## ๐ Docker Management
### **Initial Docker Setup**
**๐ New to n8n Docker Setup?** If you haven't set up n8n in a Docker container yet, **watch this video first** and follow the steps one by one:
> **๐บ Complete Setup Guide**: [๐ฅ n8n Docker Installation Tutorial](https://www.youtube.com/watch?v=VXCC8jHN7zA&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=50)
>
> **๐ Reference Material**: [๐ Lecture 37 PDF Guide](workflows/37-n8n_Docker_Installation/Lec37.pdf)
This comprehensive tutorial will guide you through the complete Docker installation process before you proceed with updates.
---
### **Updating n8n Docker Container**
To keep your n8n instance up-to-date with the latest features and security patches, follow this step-by-step process:
| Step | Command | Description |
|------|---------|-------------|
| **1. Stop Container** | `docker stop n8n` | Safely stop the running n8n container |
| **2. Remove Container** | `docker rm n8n` | Remove the old container (data persists in volume) |
| **3. Pull Latest Image** | `docker pull docker.n8n.io/n8nio/n8n` | Download the latest n8n Docker image |
| **4. Start New Container** | `docker run -d --name n8n -p 5677:5678 ^`<br/>` -e WEBHOOK_URL=https://n8ncourse.n8ncourse.cfd ^`<br/>` -e N8N_DEFAULT_BINARY_DATA_MODE=filesystem ^`<br/>` -v C:\Docker\n8n-data:/home/node/.n8n ^`<br/>` docker.n8n.io/n8nio/n8n` | Launch updated n8n with preserved data and settings |
> **๐บ Video Tutorial**: [๐ฅ How to Update n8n Docker Container](https://www.youtube.com/watch?v=VIDEO_ID_PLACEHOLDER) *(Coming Soon)*
> **โ ๏ธ Important Notes:**
> - Your workflows and data are preserved thanks to the volume mount (`-v C:\Docker\n8n-data:/home/node/.n8n`)
> - Always backup your data before updating: `docker cp n8n:/home/node/.n8n C:\Backup\n8n-backup-$(date +%Y%m%d)`
> - The container will be accessible at `http://localhost:5677` after the update
## ๐ค AI Agent Projects
> **๐ Note**: This is not the whole course - projects are updated with time as new content is added!
### ๐ข **Beginner Level Projects**
| Project | Description | Source File | YouTube Video |
|---------|-------------|-------------|---------------|
| **Smart Company Chatbot** | Build an intelligent customer service chatbot for businesses with FAQ handling and lead generation | [๐ Download](workflows/25_Smart_Chatbot_For_Companies.json) | [๐ฅ Watch](https://www.youtube.com/watch?v=BFi05jLLjMU&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=31) |
| **Company Chatbot with Grok** | Enhanced chatbot using Grok AI for more natural conversations and better context understanding | [๐ Download](workflows/26_Comp_Company_Chatbot_Grok4.json) | [๐ฅ Watch](https://www.youtube.com/watch?v=exsnquJcSmE&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=32) |
### ๐ก **Intermediate Level Projects**
| Project | Description | Source File | YouTube Video |
|---------|-------------|-------------|---------------|
| **RAG Chatbot System** | Build a Retrieval-Augmented Generation chatbot that can answer questions based on your documents | [๐ Download](workflows/29-RAG_Chatbot.json) | [๐ฅ Part 1](https://www.youtube.com/watch?v=ntGE0fN8WWM&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=39) โข [๐ฅ Part 2](https://www.youtube.com/watch?v=axOTx3e8660&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=40) |
| **RAG AI Agent** | Advanced AI agent with document processing, vector storage, and intelligent query handling | [๐ Download](workflows/30-RAG_AI_Agent.zip) | [๐ฅ Watch](https://www.youtube.com/watch?v=K1G86IlyWyE&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=41) |
| **GPT Open Source Agent** | Create your own GPT-like agent using open-source models and custom training data | [๐ Download](workflows/39-GPT-Oss.json) | [๐ฅ Watch](https://www.youtube.com/watch?v=evFucdQK7kQ&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=52) |
### ๐ด **Advanced Level Projects**
| Project | Description | Source File | YouTube Video |
|---------|-------------|-------------|---------------|
| **High-Accuracy RAG Agent** | Ultra-precise RAG system with advanced chunking, multiple vector stores, and context optimization | [๐ Download](workflows/31-RAG_AI_Agent_Very_Accurate.zip) | [๐ฅ Part 1](https://www.youtube.com/watch?v=nMURjvGpVYo&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=42) โข [๐ฅ Part 2](https://www.youtube.com/watch?v=SWXhl0iQNX4&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=43) |
| **Fully Synchronized RAG Agent** | Enterprise-grade RAG system with real-time data sync, multi-source integration, and advanced caching | [๐ Download](workflows/32-Course32-%20RAG%20AI%20Agent_FullySync.zip) | [๐ฅ Watch](https://www.youtube.com/watch?v=WtmpNiGbuw4&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=44) |
| **Business Owner GPT-5** | Comprehensive business AI assistant with financial analysis, market research, and strategic planning capabilities | [๐ Download](workflows/41_BusinessOwnerGPT5/41-BOwner_GPT5.json) | [๐ฅ Watch](https://www.youtube.com/watch?v=LTAw0B5bKb4&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=55&t=451s) |
| **Auto Meeting Scheduler** | Intelligent meeting scheduler with voice and text processing, calendar integration, and conflict resolution | [๐ Download](workflows/42-%20Auto%20Meeting%20Shecduler_Text+Voice.zip) | [๐ฅ Watch](https://www.youtube.com/watch?v=x0EZioGrEMM&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=55) |
| **Multi-Modal WhatsApp Agent** | Advanced WhatsApp AI agent supporting voice messages, text, images, and document processing with calendar integration | [๐ Download](workflows/46-Voice+Text+Image_WhatsAppAgent.json) | [๐ฅ Watch](https://www.youtube.com/watch?v=X1m10pipxU8) |
| **WhatsApp Multi-Agent System** | Comprehensive multi-agent WhatsApp system with voice, text, and image processing. Features specialized agents for calendar management, email handling, web search, and social media posting | [๐ Download](workflows/49-WhatsApp%20Multi-Agent_Voice_Text_Image.json) | [๐ฅ Watch](https://www.youtube.com/watch?v=VSeo-PUuva8&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=62) |
| **Secured WhatsApp Multi-Agent System** | Enhanced multi-agent WhatsApp system with voice, text, and image processing plus security authentication. Features specialized agents for calendar management, email handling, web search, and social media posting with authorized user verification | [๐ Download](workflows/50_WAgentEnhancement_Secured.json) | [๐ฅ Watch](https://www.youtube.com/watch?v=T92UuCE0Prk&list=PLZ42ZUInDWC79Bw1K_tYQhUPfFRV7fy8v&index=63) |
| **WhatsApp Multi-Agent with Evolution API** | Advanced WhatsApp multi-agent system using Evolution API for enhanced messaging capabilities. Features improved reliability, QR code management, and seamless integration with specialized AI agents | [๐ Download](workflows/53_WAgentEnhancement_Evolution_API.json) | [๐ฅ Watch](https://www.youtube.com/watch?v=VIDEO_ID_PLACEHOLDER) *(Coming Soon)* |
| **Messenger Multi-Agent Text-Image-Voice** | Comprehensive Facebook Messenger multi-agent system supporting text, voice, and image processing. Advanced AI agent integration with Facebook Graph API for seamless multimedia communication. See [๐ API Command Reference](workflows/Messenger_API_Command.md) for sending audio messages via curl. | [๐ Download](workflows/55%20-%20MessengerMultiAgent_Text_Voice_Image.json) | [๐ฅ Watch](https://www.youtube.com/watch?v=VIDEO_ID_PLACEHOLDER) *(Coming Soon)* |
| **Telegram Multi-Agent MCP System** | Advanced Telegram multi-agent system with MCP (Model Context Protocol) integration supporting text, voice, and image processing. Features specialized orchestrator agent coordinating email, calendar, and web search agents with OpenAI GPT-5 integration. | [๐ Download](workflows/62-%20TelegramMultiAgent_MCP_Text_Voice_Image.json) | [๐ฅ Watch](https://www.youtube.com/watch?v=VIDEO_ID_PLACEHOLDER) *(Coming Soon)* |
| **Outlook Email & Calendar Multi-Agents MCP** | Enterprise-grade Outlook integration with multi-agent system for intelligent email classification, calendar management, and automated workflow processing. Features advanced MCP (Model Context Protocol) integration for seamless AI agent coordination and Microsoft Graph API integration. | [๐ Download](workflows/Outlook_Email&Calendar-Multi-Agents_MCP.json) | [๐ฅ Watch](https://www.youtube.com/watch?v=VIDEO_ID_PLACEHOLDER) *(Coming Soon)* |
## Advanced RAG (Retrieval Augmented Generation)
A comprehensive suite of tools and services for building production-ready RAG systems with n8n.
### RAG Architecture Pipeline
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ RAG SYSTEM ARCHITECTURE FLOW โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
INPUT PHASE
โโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโ
โ ๐ PDF Document โ
โโโโโโโโโโฌโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ง PREPROCESSING & CONVERSION โ โ Docling MCP (See table below)
โ โข Extract text from PDF โ
โ โข Convert to structured format โ
โโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ๏ธ TEXT SPLITTING โ
โ โข Split into chunks โ
โ โข Maintain context โ
โโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
PROCESSING PHASE
โโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ง EMBEDDING MODEL โ
โ โข OpenAI / Hugging Face โ
โ โข Convert chunks to vectors โ
โโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ VECTOR DATABASE โ
โ โข FAISS / Pinecone / Weaviate โ
โ โข Store embeddings โ
โโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
QUERY PHASE
โโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฏ VECTOR SEARCH โ
โ โข Find similar chunks โ
โ โข Rank by relevance โ
โโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ QUESTION ANSWERING โ
โ โข LangChain / Claude โ
โ โข Generate response โ
โโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโ
โ ๐ฌ User Output โ
โ Answer โ
โโโโโโโโโโโโโโโโโโโโ
```
---
### ๐ Step 1: Preprocessing & Conversion Tools
The diagram above shows the complete RAG pipeline. The **first critical step** is **Preprocessing & Conversion** - extracting and converting your PDF documents into structured formats that can be processed by the rest of the pipeline.
The table below provides tools and services specifically designed for this preprocessing step:
### Integration Tools
| Project | Description | Resources | Setup Guide |
|---------|-------------|-----------|------------|
| **Docling MCP** | Document conversion and processing service. Converts PDF documents into structured JSON formats with caching mechanism for improved performance. Provides tools for document conversion, processing, and generation through the Model Context Protocol (MCP) for seamless n8n integration. | [GitHub Repository](https://github.com/docling-project/docling-mcp/tree/main) โข [Official Docs](https://github.com/docling-project/docling-mcp) | [๐ Complete Setup Guide](DOCLING_MCP_SETUP.md) |
---
## ๐ ๏ธ Technologies & Integrations
### **Core Technologies**
- **n8n** - Visual workflow automation platform
- **OpenAI GPT** - Advanced language models
- **Grok AI** - Alternative AI model for enhanced conversations
- **Vector Databases** - Pinecone, Weaviate for RAG systems
- **Speech Processing** - Voice-to-text and text-to-speech
### **Popular Integrations**
- **๐ง Email**: Gmail, Outlook automation
- **๐
Calendar**: Google Calendar, Outlook Calendar
- **๐ฌ Chat**: Slack, Discord, Telegram, WhatsApp
- **๐๏ธ Database**: PostgreSQL, MySQL, MongoDB
- **โ๏ธ Cloud**: AWS, Google Cloud, Azure services
- **๐ Analytics**: Google Analytics, custom dashboards
## ๐ Learning Path
**Recommended progression through the course:**
1. **๐ข Start Here**: Smart Company Chatbot โ Company Chatbot with Grok
2. **๐ก Build Knowledge**: RAG Chatbot โ RAG AI Agent โ GPT Open Source
3. **๐ด Master Advanced**: High-Accuracy RAG โ Fully Synchronized RAG โ Business GPT-5
4. **๐ Capstone**: Auto Meeting Scheduler (combines all skills)
## ๐ง Setup Requirements
### **Required Accounts** (Free tiers available)
- **OpenAI API** - For GPT models
- **Pinecone** - Vector database for RAG systems
- **Google Cloud** - Speech and document processing
- **Telegram/Discord** - For chatbot deployment
### **Optional but Recommended**
- **Grok AI API** - Alternative AI model
- **AWS/Azure** - Cloud deployment
- **MongoDB Atlas** - Document storage
- **Zapier** - Additional integrations
## ๐ Troubleshooting
### **Common Issues**
**โ "Workflow won't start"**
- โ
Check API keys are properly configured
- โ
Verify webhook URLs are accessible
- โ
Ensure all required nodes are activated
**โ "API rate limits exceeded"**
- โ
Implement delay nodes between API calls
- โ
Use API key rotation for high-volume workflows
- โ
Consider upgrading to paid API tiers
**โ "RAG system not finding relevant documents"**
- โ
Check document chunking strategy
- โ
Verify vector embeddings are generated correctly
- โ
Adjust similarity search thresholds
### **Getting Help**
- **๐บ Video Comments** - Ask questions on specific YouTube videos
- **๐ GitHub Issues** - Report bugs or request features
- **๐ฌ Community** - Join our Discord for real-time help
## ๐ Additional Resources
### **Official Documentation**
- [๐ n8n Documentation](https://docs.n8n.io/)
- [๐ค OpenAI API Docs](https://platform.openai.com/docs)
- [๐๏ธ Pinecone Documentation](https://docs.pinecone.io/)
### **Advanced Learning**
- [๐ n8n Academy](https://academy.n8n.io/)
- [๐ง AI/ML Resources](https://github.com/josephmisiti/awesome-machine-learning)
- [โก Automation Best Practices](https://n8n.io/blog/workflow-automation-best-practices/)
- [๐ Awesome N8N: Top 100 Community Nodes](https://github.com/restyler/awesome-n8n) - Curated list of the most popular community nodes and resources
## ๐จโ๐ซ About the Instructor
**Mohamed Elshamy** - AI Automation Expert & Course Creator
Specialized in building production-ready AI agents and automation systems. Creator of multiple successful courses on YouTube with thousands of students worldwide.
- **๐ฅ YouTube Channel**: [AI Plus ME](https://www.youtube.com/@AIPlus_ME)
- **๐ผ LinkedIn**: [Mohamed Elshamy](https://www.linkedin.com/in/moh-elshamy/)
- **๐ GitHub**: [MohElshamy1994](https://github.com/MohElshamy1994)
## ๐ค Contributing
Found a bug or want to improve a workflow? Contributions are welcome!
1. **Fork this repository**
2. **Create your feature branch** (`git checkout -b feature/AmazingFeature`)
3. **Commit your changes** (`git commit -m 'Add some AmazingFeature'`)
4. **Push to the branch** (`git push origin feature/AmazingFeature`)
5. **Open a Pull Request**
## ๐ License
This educational content is provided for learning purposes. Please respect the terms of service of all integrated platforms and APIs.
---
**โญ If you find this course helpful, please star this repository and subscribe to the YouTube channel!**
**๐ Ready to build intelligent AI agents? Start with the Quick Start Guide above!**
**Happy Automating! ๐คโจ**
[](https://github.com/BUAADreamer/EasyRAG/blob/main/licence)
Chunking is the process that decides which modules are placed into which bundles, and the relationship between these bundles.
<img src="frontend/public/logo.svg" alt="FinSight AI Logo" width="80" height="80" />