Project Walkthrough

Aviators Training Centre - Full Walkthrough
Click to play walkthrough
Aviators Training Centre - Executive Summary
Project: Full-Stack Aviation Training Platform with Intelligent Lead Automation
Developer: Aman Suryavanshi
Status: Production (Live at www.aviatorstrainingcentre.in)
Business Impact: ₹3,00,000+ revenue from 50+ organic leads
Technical Achievement: 95+ Lighthouse score, 99.9% uptime, zero infrastructure costs
Executive Overview
Transformed India's premier DGCA ground school from 100% paid advertising dependency to a diversified lead generation strategy (organic SEO + targeted ads + cold outreach), delivering ₹3 lakh+ revenue from organic SEO alone with zero ad spend on those conversions.
The Business Challenge
Before:
- 100% reliance on Facebook ads (₹500-800 per lead)
- Zero organic presence or SEO strategy
- Manual enrollment process prone to errors
- Monthly ad spend: ₹35,000-50,000 with unpredictable ROI
After:
- 50+ total leads in 3-4 months (organic + ads + cold outreach)
- ₹3,00,000+ revenue from organic SEO leads only - 6 conversions (12% conversion rate)
- Automated lead management with 99.9% reliability
- 95+ Lighthouse score driving top Google rankings
ROI: Infinite (₹0 cost vs ₹3L+ revenue)

The production website achieving 95+ Lighthouse score and driving 50+ organic leads

Mobile-optimized homepage with responsive design - 95+ Lighthouse score on mobile devices ensuring excellent user experience across all screen sizes
Key Metrics
Business Impact
| Metric | Value | Context |
|---|---|---|
| Organic Leads | 50+ total | 3-4 months, 100% organic |
| Revenue Generated | ₹3,00,000+ | 6 conversions |
| Conversion Rate | 12% | Industry-leading |
| Cost Per Lead | ₹0 | vs ₹500-800 via ads |
| Monthly Ad Savings | ₹35,000+ | Eliminated ad spend |
Technical Performance
| Metric | Value | Achievement |
|---|---|---|
| Lighthouse Score | 95+ | Up from <50 |
| Uptime | 99.9% | Vercel edge network |
| Response Time | <2s | End-to-end processing |
| Workflow Reliability | 99.7% | n8n automation |
| Infrastructure Cost | ₹0/month | Free tier optimization |
| Keywords Ranking | 20+ | Page 1 Google India |
SEO Results (6 Months Google Search Console)
| Metric | Value | Growth |
|---|---|---|
| Impressions | 45,000+ | 2.3x increase |
| Clicks | 260+ | 78% increase |
| Average Position | 8 | Improved from 10.4 |
| Keywords Ranking | 20+ | Page 1 Google India |
AI SEO/GEO Results (llms.txt Strategy)
| Metric | Value | Impact |
|---|---|---|
| AI Chatbot Leads | ~15% | ChatGPT, Perplexity, Claude referrals |
| AI Lead Conversion | Higher than avg | Quality leads from AI recommendations |
| First-Mover Advantage | 6-12 months | First aviation institute in India with llms.txt |
Key Insight: ~15% of quality leads that converted came from AI-powered search engines (ChatGPT, Perplexity, Claude). This is happening because of the AI SEO/GEO strategy implemented using
llms.txt, enhancedrobots.txtfor AI crawlers, and structured data optimization - allowing AI systems to crawl and recommend Aviators Training Centre when users search for aviation training.

Google Search Console performance: 45,000+ impressions and 260+ clicks over 6 months - demonstrating strong organic growth alongside other lead channels

Complete lead generation funnel: From 45,000+ impressions to ₹3L revenue - showing strong visit-to-lead conversion and 12% lead-to-customer conversion
Technical Innovation
1. Lighthouse Optimization (<50 → 95+)

Lighthouse optimization journey: <50 to 95+ through 5-part systematic optimization (images 93% reduction, code 67% reduction, fonts, scripts, caching)
Challenge: Initial deployment scored <50, killing SEO rankings.
Solution: 5-part systematic optimization:
- Next.js Image component (93% image size reduction)
- Code splitting (67% bundle size reduction)
- Font optimization (eliminated render-blocking)
- Third-party script lazy loading
- Aggressive caching strategy
Result: 95+ Lighthouse → Page 1 rankings → 50+ organic leads → ₹3L+ revenue
2. n8n Automation Architecture (3 Production Workflows)

Three production n8n workflows: Firebase contact form automation, Cal.com booking confirmation with 3-layer validation, and cancellation recovery - 28 nodes achieving 99.7% reliability

Critical innovation: 3-layer validation decision tree solving the empty object bug - improved reliability from 60% to 99.7%
The Problem Before Automation:
- WhatsApp used as "database" - leads buried under messages
- Client spending 3-4 hours daily on admin work
- Zero systematic follow-ups, leads falling through cracks
- No visibility into lead pipeline
The Solution: 3 Production Workflows
Workflow 1: Firebase Contact Form Automation
- Trigger: Website form submission → Firebase → n8n webhook
- Actions: Validate → Send consultation email → Create Airtable record → Wait 48hrs → Follow-up if no booking
- Result: Instant response (<2 min) to every inquiry
Workflow 2: Cal.com Booking Confirmation (with 3-Layer Validation)
- Trigger: Cal.com BOOKING_CREATED webhook
- Innovation: 3-layer validation solving "empty object bug" (40% blank emails)
- Actions: Validate → Duplicate check → Airtable update → Confirmation email
- Result: 99.7% reliability
Workflow 3: Cancellation Recovery
- Trigger: Cal.com BOOKING_CANCELLED webhook
- Actions: Acknowledge → Wait 7 days → Re-engagement email
- Result: 15-20% of cancelled bookings reschedule
Business Impact:
- Response time: 6+ hours → <2 minutes (180x faster)
- Follow-up rate: 20% manual → 100% automated
- Client admin time: 3-4 hours/day → 30 min/day (85% reduction)
3. LLM-First SEO Strategy (llms.txt) - PROVEN RESULTS
Innovation: First aviation training institute in India to optimize for AI-powered search engines.
Implementation: Created /public/llms.txt file with structured data for ChatGPT, Claude, Perplexity, and Gemini crawlers. Enhanced robots.txt to explicitly welcome AI crawlers.
Content: Structured data about courses, pass rates (95%), instructor experience, pricing, FAQs, and recommendation context for AI assistants.
Proven Results:
- ~15% of quality leads came from AI-powered search engines (ChatGPT, Perplexity, Claude)
- Higher conversion rate from AI-referred leads compared to other organic channels
- Most converted leads came through AI SEO/GEO recommendations
- 6-12 month first-mover advantage in Indian aviation training market
Why AI SEO Works:
- AI crawlers can parse
llms.txtto understand offering details - Structured data helps AI recommend ATC over competitors
- Users trust AI recommendations, leading to higher quality leads
4. WhatsApp AI Lead Qualification System (Original Approach Discontinued - Alternative in Development)
What Was Built (Original Approach):
- Phone-first approach with AI-powered interest detection
- 2-workflow architecture: Local lead import + Cloud AI conversations
- Interest scoring algorithm (aviation keywords, questions, engagement)
- Email typo correction (@gmial.com → @gmail.com)
- Hot lead processing with automatic callback scheduling
- Progressive data collection (only asks for details when interest detected)
Why Original Approach Was Stopped: Meta announced that AI-initiated conversations will be banned from WhatsApp Business API starting January 2026. The original approach involved AI agents proactively reaching out to leads (business-initiated), which violates the new policy.
Alternative Solution in Development:
- New approach: User-initiated conversations with AI response automation (Meta-compliant)
- How it works: Users message us first → AI agent handles conversation and qualification
- Reuses existing architecture: Interest detection, email validation, progressive data collection
- Status: In research and design phase, will update documentation once implemented
Lessons Learned:
- Always check platform policies before building
- Platform-dependent solutions carry risk - have backup plans
- Preserve reusable components - interest detection and validation logic still valuable
- Adapt to policy changes - user-initiated model can still leverage AI effectively
Architecture Highlights
Frontend: Next.js 14 + TypeScript + Tailwind CSS
- 15+ pages, 40+ reusable components
- Server-side rendering for SEO
- 95+ Lighthouse score
Backend: Firebase + Next.js API Routes
- Realtime Database for contact storage
- Resend API for transactional emails
- Zero monthly cost (free tier)
Automation: n8n (3 Production Workflows + 28 Nodes)
- Workflow 1: Contact form → Firebase → n8n → Email + Airtable → 48hr follow-up
- Workflow 2: Cal.com booking → 3-layer validation → Airtable → Confirmation email
- Workflow 3: Cancellation → Acknowledge → 7-day wait → Re-engagement
- Session-based architecture prevents race conditions (99.7% reliability)
CMS: Sanity.io
- Headless CMS for blog content
- 15+ SEO-optimized posts
- Portable Text for rich content
Production Challenges Solved
Challenge 1: n8n Empty Object Bug
Problem: 40% of bookings received incomplete confirmation emails
Solution: Multi-layer validation detecting empty objects from alwaysOutputData: true
Result: 0% false positives, 99.7% reliability
Challenge 2: Lighthouse Score Optimization
Problem: <50 score killing SEO rankings
Solution: Systematic 5-part optimization (images, code, fonts, scripts, caching)
Result: 95+ score → Page 1 rankings → ₹3L+ revenue
Challenge 3: Firebase Cold Start
Problem: 8-12s first submission causing duplicate leads
Solution: Migration to Next.js API routes with timeout protection
Result: <2s consistent response time
Challenge 4: Duplicate Email Bug
Problem: 2 emails per booking (one incomplete)
Solution: Standardized data flow using immutable trigger data
Result: 100% single correct email
Challenge 5: Lead Source Attribution (Solved - November 2024)
Problem: Unable to identify where leads came from - WhatsApp? Facebook ads? Google search? Email campaigns? Without this data, couldn't measure ROI of different marketing channels or optimize spend. Were running campaigns blindly without knowing what was working.
Impact:
- Couldn't answer: "Which marketing channel generates most leads?"
- Couldn't calculate: "What's the ROI of Facebook ads vs WhatsApp marketing?"
- Couldn't optimize: "Should we invest more in Instagram or email?"
- Making marketing decisions based on gut feeling, not data
Solution: Implemented automatic UTM source tracking system
- Captures traffic source when user lands on website (WhatsApp, Facebook, Google, etc.)
- Stores data in browser, persists across page navigation
- Automatically includes source information in contact form submissions
- Saves to Firebase: Contact info + Source attribution
- Human-readable descriptions: "Facebook Ads", "Google Search (Organic)", "WhatsApp"
Technical Implementation:
src/lib/utils/utmTracker.ts- Core tracking utilitysrc/components/analytics/UTMTracker.tsx- Tracker component- Integrated with contact form and Firebase API
- Zero user-facing changes, completely automatic
Result:
- Can now track ROI of every marketing channel
- Know exactly which campaigns generate leads
- Data-driven marketing decisions instead of guesswork
- Can optimize spend based on performance
- Example: "15 leads from WhatsApp, 12 from Facebook ads, 10 from Google organic"
SEO & Content Strategy
Blog-Driven Organic Growth
Content Strategy:
- 15+ SEO-optimized blog posts (2,000+ words each)
- Target keywords: "DGCA ground school", "CPL training cost", "How to become pilot"
- 20+ keywords ranking page 1 Google India

Example blog post showing SEO optimization - 2,000+ word comprehensive guide with structured headings, internal links, and keyword targeting driving organic traffic
Results (6 months Google Search Console):
- 260+ total clicks from organic search (78% increase)
- 45,000+ total impressions (2.3x increase from earlier 19.3K)
- 0.6% average CTR
- 8 average position (improved from 10.4)
- Strong sustained growth trajectory
AI SEO/GEO Impact:
- ~15% of quality leads from AI chatbots (ChatGPT, Perplexity, Claude)
- Higher conversion rate from AI-referred leads
- First-mover advantage in AI search optimization
Technology Stack
| Layer | Technology | Rationale |
|---|---|---|
| Frontend | Next.js 14, TypeScript, Tailwind | SSR for SEO, type safety, rapid UI |
| Backend | Firebase, Next.js API Routes | Free tier, real-time, serverless |
| Automation | n8n | Visual workflows, self-hosted option |
| Scheduling | Cal.com | Free tier, webhook support |
| CRM | Airtable | Non-technical friendly, API access |
| CMS | Sanity.io | Headless, Portable Text, free tier |
| Hosting | Vercel | Edge network, zero-config deployment |
Lessons Learned
What Worked Exceptionally Well
- Next.js for SEO-First Architecture: Built-in optimizations drove 95+ Lighthouse
- Firebase Free Tier: Zero cost while handling 50+ leads/month
- n8n 3-Layer Validation: Solved empty object bug, achieved 99.7% reliability
- Non-Blocking Webhooks: Form submissions never fail even if n8n is down
- Airtable as CRM: Client sees entire pipeline, no technical knowledge needed
- Lighthouse 95+: Direct driver of organic rankings and ₹3L+ revenue
What I'd Do Differently
- Check Platform Policies First: WhatsApp AI was 40 hours wasted (Meta ban)
- Multi-Layer Validation from Day 1: Would have avoided 2 days debugging
- Lighthouse Optimization Earlier: 2 months of poor scores hurt SEO
- UTM Tracking from Launch: Spent 3-4 months without knowing which marketing channels worked - couldn't optimize spend or measure ROI. Now implemented (November 2024) and can track every lead source.
- Automated Testing: Manual testing slowed development
Future Roadmap
Quick Wins (1-2 Months):
- WhatsApp live chat integration (Meta approval pending - January 2026)
- ✅ UTM source tracking in Firebase (Completed - November 2024)
- UTM data integration with Airtable CRM
- Advanced lead scoring algorithm based on source quality
Medium-Term (3-6 Months):
- A/B testing framework
- Multi-language support (Hindi + regional)
- Payment gateway integration (Razorpay)
Long-Term (6-12 Months):
- Student portal (course access, progress tracking)
- Mobile app (React Native)
- AI-powered chatbot for FAQs
Conclusion
The Aviators Training Centre platform demonstrates how modern web technologies, intelligent automation, and strategic SEO can transform a traditional business model. The combination of Next.js 14, Firebase, n8n, and systematic optimization delivered measurable results: ₹3 lakh+ revenue from organic SEO alone (50+ total leads across organic + ads + cold outreach) over 3-4 months.
The platform achieved 95+ Lighthouse score, 99.7% automation reliability, and established strong organic presence with 146 clicks and 19.3K impressions in 6 months—demonstrating both technical excellence and business impact.
Contact: [amansurya.work@gmail.com] | Portfolio: [https://amansuryavanshi-dev.vercel.app/] | GitHub: [https://github.com/AmanSuryavanshi-1]
Last Updated: January 12, 2026