Skip to content

Repository files navigation

n8n Automation Projects Portfolio

A collection of practical n8n workflows demonstrating AI-powered automation, integrations, and intelligent agents built to solve real-world business problems.

๐Ÿ“‹ Table of Contents


๐ŸŽฏ Overview

This repository contains 9 sophisticated n8n automation workflows that showcase:

  • AI Agent Development using OpenAI GPT-4
  • Multi-modal Processing (text, voice, documents)
  • Vector Database Integration with Pinecone
  • RAG (Retrieval-Augmented Generation) implementations
  • Business Process Automation
  • Natural Language Processing
  • Multi-platform Integrations (WhatsApp, Gmail, Google Drive, Airtable, etc.)

๐Ÿš€ Projects

1. WhatsApp Agent

Description: A comprehensive multimodal AI assistant that operates through WhatsApp, capable of handling both text and voice inputs, managing emails, calendars, and accessing team information.

Key Features:

  • ๐Ÿ“ฑ WhatsApp integration with text and voice message support
  • ๐ŸŽค Audio transcription using OpenAI Whisper
  • ๐Ÿ”Š Text-to-speech response generation
  • ๐Ÿ“ง Email management (Gmail Tool)
  • ๐Ÿ“… Calendar operations (Google Calendar Tool)
  • ๐Ÿ“Š Google Sheets integration for team data
  • ๐Ÿง  Conversation memory with context window management
  • ๐Ÿ”„ Multi-agent architecture with sub-workflows

Components:

  • WhatsApp Trigger
  • Switch nodes for message type routing
  • Audio transcription & generation
  • AI Agent with multiple tools WhatsApp Agent
  • Sub-workflows:
    • Email Agent WhatsApp Agent
    • Calendar Agent WhatsApp Agent
  • Memory management (20 message window)

Use Cases:

  • Personal assistant via WhatsApp
  • Voice-controlled email and calendar management
  • Team information lookup
  • Hands-free workflow automation

2. Vector Database

Description: Automated document ingestion pipeline that monitors Google Drive and stores document embeddings in Pinecone for semantic search capabilities.

Key Features:

  • ๐Ÿ” Automatic Google Drive monitoring
  • ๐Ÿ“„ Multi-format document processing
  • โœ‚๏ธ Intelligent text chunking (900 chars, 50 overlap)
  • ๐Ÿงฎ OpenAI embeddings generation
  • ๐Ÿ’พ Pinecone vector storage
  • โšก Real-time document indexing

Components:

  • Google Drive Trigger (monitors specific folder)
  • Document download
  • Text splitting with recursive character splitter
  • OpenAI embeddings
  • Pinecone vector store Vector Database

Use Cases:

  • Building searchable knowledge bases
  • Document Q&A systems
  • Semantic search implementations
  • RAG system data preparation

3. Sentiment Analysis

Description: Web form-based feedback collection system with AI-powered sentiment analysis that automatically categorizes responses and stores them in Google Sheets.

Key Features:

  • ๐Ÿ“ Custom web form for feedback collection
  • ๐Ÿค– AI sentiment classification (Positive/Negative/Neutral)
  • ๐Ÿ“Š Automatic Google Sheets logging
  • ๐Ÿ”„ Real-time analysis
  • ๐Ÿ“ˆ Structured data output

Components:

  • Form Trigger (public web form)
  • OpenAI GPT-4.1-mini for sentiment analysis
  • Data merging
  • Google Sheets integration Sentiment Analysis

Use Cases:

  • Customer feedback analysis
  • Product review categorization
  • Survey response processing
  • Customer satisfaction tracking

4. Respond to Sponsorship

Description: Intelligent email automation system that detects sponsorship inquiries and generates professional responses with pricing and channel details.

Key Features:

  • ๐Ÿ“ฌ Gmail monitoring (every minute)
  • ๐Ÿค– AI-powered sponsorship detection
  • ๐Ÿ“‹ Structured output parsing
  • โœ‰๏ธ Automated professional responses
  • ๐Ÿ’ฐ Custom pricing information inclusion
  • ๐ŸŽฏ Conditional workflow execution

Components:

  • Gmail Trigger

  • AI Agent with structured output parser

  • Conditional logic (If node)

  • OpenAI for email generation

  • Gmail send integration

    Respond to Sponsorship

Channel Details:

  • Channel: TubeNotes (By Ayoub Youhad)
  • Subscribers: 15,000+
  • Average Views: 3,000 โ€“ 10,000
  • Focus: Artificial Intelligence
  • Pricing: โ‚ฌ600 โ€“ โ‚ฌ1,300 per sponsorship

Use Cases:

  • Automated sponsorship inquiry handling
  • Professional brand communication
  • Lead qualification
  • Time-saving for content creators

5. RAG Chatbot

Description: Public-facing chatbot specialized in answering questions about Tesla's quarterly financial reports using Retrieval-Augmented Generation.

Key Features:

  • ๐Ÿ’ฌ Public chat interface
  • ๐Ÿ” Vector database retrieval (Pinecone)
  • ๐Ÿ“Š Financial data expertise
  • ๐Ÿง  Conversation memory
  • โšก Accurate, source-attributed responses
  • ๐ŸŽฏ Domain-specific knowledge

Components:

  • Chat Trigger (public webhook)

  • AI Agent with custom system prompt

  • Pinecone vector store retrieval

  • OpenAI embeddings and GPT-4

  • Memory management

    RAG Chatbot

Use Cases:

  • Financial report Q&A
  • Investment research automation
  • Corporate data accessibility
  • Specialized knowledge chatbots

6. Google Sheets

Description: Simple utility workflow for programmatically creating Google Sheets spreadsheets.

Key Features:

  • ๐Ÿ“Š Automated spreadsheet creation
  • ๐Ÿ–ฑ๏ธ Manual trigger activation
  • โšก Quick setup template

Components:

  • Manual Trigger
  • Google Sheets create operation Google Sheets

Use Cases:

  • Template generation
  • Automated report initialization
  • Batch spreadsheet creation
  • Workflow testing

7. Form Submission to Airtable

Description: Hotel room booking system with web form submission, Airtable database storage, and local file backup.

Key Features:

  • ๐Ÿจ Room type selection (Deluxe, Standard, Studio, Double, Suite)
  • ๐Ÿ“‹ Airtable database integration
  • ๐Ÿ’พ Local file backup (text format)
  • ๐Ÿ”„ Multi-step data processing
  • ๐Ÿ“ Form validation
  • Form Submission to Airtable

Components:

  • Form Trigger (public web form)
  • Airtable record creation
  • File conversion
  • Local disk write Form Submission to Airtable

Use Cases:

  • Hotel booking systems
  • Registration forms
  • Data collection with backup
  • Multi-destination data flow

8. Customer Service Assistant

Description: Automated order notification system that monitors Airtable for new orders and sends formatted email notifications to the team.

Key Features:

  • ๐Ÿ”” Real-time Airtable monitoring
  • ๐Ÿค– AI-generated professional emails
  • ๐Ÿ“ง Automatic team notifications
  • ๐Ÿ“‹ Structured order details
  • โšก Instant processing

Components:

  • Airtable Trigger

  • OpenAI for email generation

  • Gmail send integration

    Customer Service Assistant

Order Information Included:

  • Order Number
  • Customer details
  • Product information
  • Quantity & Price
  • Order Date & Status

Use Cases:

  • E-commerce order processing
  • Team communication automation
  • Order tracking systems
  • Customer service workflows

9. AI-Powered Email Automation System

Description: A comprehensive three-workflow system for intelligent email management with vector database integration for contact lookup and AI-powered email composition.

9.1 Emails to Pinecone

Features:

  • ๐Ÿ“„ Google Docs fetching

  • โœ‚๏ธ Document chunking (300 chars, 50 overlap)

  • ๐Ÿงฎ Embedding generation

  • ๐Ÿ’พ Pinecone storage for email addresses

    Emails to Pinecone

9.2 Email Sender Agent

Features:

  • โœ‰๏ธ HTML email formatting

  • ๐ŸŽจ Professional email templates

  • ๐Ÿ“ง Gmail integration

  • ๐Ÿค– AI-powered composition

    Email Sender Agent

9.3 Email Agent Pinecone

Features:

  • ๐Ÿ’ฌ Public chat interface
  • ๐Ÿ” Contact lookup via vector search
  • ๐Ÿค– Personalized email generation
  • ๐Ÿ”„ Multi-tool orchestration
  • ๐ŸŽฏ Automatic email sending

Components:

  • Chat Trigger

  • Vector store retrieval tool

  • Email sender workflow tool

  • OpenAI GPT-4

  • Pinecone integration

    Email Agent Pinecone

Use Cases:

  • Automated email campaigns
  • Personalized outreach at scale
  • Contact database management
  • Conversational email interface

๐Ÿ› ๏ธ Technologies Used

AI & ML

  • OpenAI GPT-4 - Language model for intelligent responses
  • OpenAI GPT-4.1-mini - Efficient model for lightweight tasks
  • OpenAI Whisper - Audio transcription
  • OpenAI TTS - Text-to-speech generation
  • OpenAI Embeddings - Vector representations

Vector Databases

  • Pinecone - Vector storage and similarity search

Integrations

  • WhatsApp Business API - Messaging platform
  • Gmail / Google Workspace - Email management
  • Google Calendar - Calendar operations
  • Google Drive - Document storage
  • Google Sheets - Spreadsheet operations
  • Google Docs - Document processing
  • Airtable - Database and CRM

n8n Features

  • AI Agents
  • LangChain integration
  • Memory management
  • Vector stores
  • Sub-workflows
  • Form triggers
  • Chat triggers
  • Webhook automation

๐Ÿ“ฆ Setup Instructions

Prerequisites

  1. n8n Installation

    npm install -g n8n
    # or
    docker run -it --rm --name n8n -p 5678:5678 n8nio/n8n
  2. Required API Keys

    • OpenAI API Key
    • Pinecone API Key
    • WhatsApp Business API credentials
    • Google Cloud Platform credentials (OAuth2)
    • Airtable Personal Access Token

Installation Steps

  1. Clone or Download Workflows

    • Import each .json workflow file into n8n
    • Go to n8n โ†’ Workflows โ†’ Import from File
  2. Configure Credentials

    • Set up each integration in n8n credentials panel:
      • OpenAI API
      • Pinecone API
      • WhatsApp OAuth
      • Gmail OAuth2
      • Google Calendar OAuth2
      • Google Drive OAuth2
      • Google Sheets OAuth2
      • Airtable Token API
  3. Update Workflow-Specific Settings

    WhatsApp Agent:

    • Replace YOUR_WEBHOOK_ID with your webhook
    • Replace YOUR_PHONE_NUMBER_ID
    • Update system prompt with your name/details
    • Configure sub-workflow IDs

    Vector Database:

    • Update Google Drive folder ID
    • Configure Pinecone index name and namespace

    Sentiment Analysis:

    • Update Google Sheets document ID

    Respond to Sponsorship:

    • Update channel details in system prompt
    • Modify pricing structure as needed

    RAG Chatbot:

    • Configure Pinecone index and namespace
    • Customize system prompt for your use case

    Customer Service Assistant:

    • Update Airtable base and table IDs
    • Configure recipient email address

    Email Automation System:

    • Update Google Docs URL
    • Configure Pinecone index
    • Link sub-workflows correctly
  4. Test Each Workflow

    • Use manual triggers for testing
    • Verify all connections work
    • Check data flow between nodes
  5. Activate Workflows

    • Enable production workflows
    • Monitor execution logs
    • Set up error notifications

๐Ÿ”‘ Prerequisites

Technical Requirements

  • n8n instance (cloud or self-hosted)
  • Node.js 16+ (for self-hosted)
  • Stable internet connection
  • Webhook endpoints (for triggers)

Account Requirements

  • OpenAI account with API access
  • Pinecone account (free tier available)
  • Google Cloud Platform project
  • WhatsApp Business account
  • Gmail account
  • Airtable account
  • Google Workspace (for Drive, Sheets, Calendar, Docs)

Knowledge Requirements

  • Basic n8n workflow understanding
  • API concepts
  • JSON data structures
  • OAuth2 authentication
  • Vector databases (basic understanding)
  • LangChain concepts (helpful)

๐Ÿค Contributing

Contributions, improvements, and feedback are welcome!


๐Ÿ“ License

This project is open source and available under the MIT License.


๐Ÿ™ Acknowledgments

  • n8n community for excellent automation platform
  • OpenAI for powerful AI models
  • Pinecone for vector database solution
  • All integration providers

๐Ÿ“ง Contact

For questions, suggestions, or collaboration:


About

A collection of 9 production-ready n8n automation workflows showcasing AI-powered automations, WhatsApp agents, RAG chatbots, sentiment analysis, email automation systems, Airtable integrations, Google Workspace tools, and full vector database pipelines using Pinecone + OpenAI.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors