Skip to content

krishna-build/coach-automation-kit

πŸš€ Coach Automation Kit

Open-source marketing automation for coaches, consultants & solopreneurs

Stop paying $500+/month for marketing tools. Coach Automation Kit gives you everything β€” for free.

Stars MIT License Issues Built with AI Supabase React

Quick Start β€’ Features β€’ Architecture β€’ Tech Stack β€’ Contributing


πŸ’‘ Why Coach Automation Kit?

Most coaches and solopreneurs pay $200-500/month for tools like HubSpot, ActiveCampaign, or ConvertKit. Coach Automation Kit replaces all of them with a single open-source toolkit that you own and control.

Feature HubSpot ConvertKit Coach Automation Kit
Email sequences βœ… $800/mo βœ… $66/mo βœ… Free
Payment tracking ❌ ❌ βœ… Free
UTM attribution βœ… $800/mo ❌ βœ… Free
Analytics dashboard βœ… $800/mo βœ… $66/mo βœ… Free
Lead management βœ… $800/mo βœ… $66/mo βœ… Free
Self-hosted ❌ ❌ βœ… Yes

✨ Features

πŸ“§ Email Automation

  • Multi-step nurture sequences β€” automatically enroll new leads
  • Payment recovery emails β€” recover failed payments with automated follow-ups
  • Smart stop rules β€” sequences pause when leads convert
  • HTML template engine β€” beautiful emails with personalization tokens

πŸ’° Payment Tracking

  • Razorpay webhook integration β€” real-time payment capture
  • Lifecycle tagging β€” Lead β†’ Paid β†’ Call Booked β†’ Purchased
  • Revenue attribution β€” trace every payment to its source ad
  • Refund detection β€” automatic status updates

πŸ“Š UTM Attribution Engine

  • Server-side visitor tracking β€” capture UTM parameters on page load
  • Payment-visitor matching β€” link ad clicks to payments automatically
  • Cloudflare geolocation β€” free city detection (no API key needed)
  • Campaign analytics β€” performance breakdown by campaign, creative, and audience

πŸ“‹ Lead Management

  • Google Sheet sync β€” bidirectional import from existing spreadsheets
  • Smart deduplication β€” match by email and phone
  • Contact timeline β€” full journey from first click to purchase
  • Bulk operations β€” tag, segment, export, and manage at scale

πŸ“ˆ Analytics Dashboard

  • 9-page dashboard β€” contacts, segments, sequences, attribution, revenue
  • Real-time metrics β€” delivery rates, open rates, conversion rates
  • Campaign comparison β€” side-by-side ad performance
  • Revenue tracking β€” daily, weekly, monthly breakdowns

πŸ“Έ Screenshots

Dashboard

Dashboard

Contacts Management

Contacts

UTM Attribution Analytics

Attribution

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Ad Platforms   │────▢│  Landing Page     │────▢│   Razorpay      β”‚
β”‚  (Meta/Google)   β”‚     β”‚  (your website)   β”‚     β”‚  (payment)      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                               β”‚                          β”‚
                    UTM tracking script            Webhook (payment)
                               β”‚                          β”‚
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚              Supabase                         β”‚
                    β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
                    β”‚  β”‚ Contacts β”‚  β”‚ Visitors  β”‚  β”‚ Sequences β”‚ β”‚
                    β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
                    β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
                    β”‚  β”‚ Payments β”‚  β”‚ Campaigns β”‚  β”‚ Analytics β”‚ β”‚
                    β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                       β”‚
                            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                            β”‚  React Dashboard    β”‚
                            β”‚  (9 pages)          β”‚
                            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ› οΈ Tech Stack

Layer Technology Why
Frontend React 18 + Vite + TailwindCSS Fast, modern, beautiful
Database Supabase (PostgreSQL) Free tier, real-time, auth
Edge Functions Supabase Edge Functions (Deno) Serverless webhooks
Email Resend API / Any SMTP Flexible, affordable
Payments Razorpay India-first, extensible to Stripe
Hosting Netlify / Vercel / Cloudflare Pages Free tier available
Analytics Recharts + Custom tracking No third-party dependencies

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • Supabase account (free tier works)
  • Email provider (Resend API key OR any SMTP)

Installation

# Clone the repository
git clone https://github.com/krishna-build/coach-automation-kit.git
cd coachkit

# Install dependencies
npm install

# Set up environment
cp .env.example .env
# Edit .env with your credentials

# Start development server
npm run dev

Visit http://localhost:5173 β€” your dashboard is live! πŸŽ‰

Database Setup

# Push schema to Supabase
npx supabase db push

# Or run migrations manually
npx supabase migration up

πŸ“ Project Structure

coachkit/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/          # Reusable UI (Layout, Modals, Charts)
β”‚   β”œβ”€β”€ pages/               # Dashboard pages (20+ pages)
β”‚   β”‚   β”œβ”€β”€ Dashboard.tsx    # Overview & stats
β”‚   β”‚   β”œβ”€β”€ Contacts.tsx     # Lead management
β”‚   β”‚   β”œβ”€β”€ Sequences.tsx    # Email automation
β”‚   β”‚   β”œβ”€β”€ Attribution.tsx  # UTM analytics
β”‚   β”‚   β”œβ”€β”€ Analytics.tsx    # Revenue & performance
β”‚   β”‚   β”œβ”€β”€ MetaAds.tsx      # Ad campaign tracking
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ hooks/               # Custom React hooks
β”‚   β”œβ”€β”€ lib/                 # Supabase client, helpers
β”‚   └── types/               # TypeScript definitions
β”œβ”€β”€ supabase/
β”‚   β”œβ”€β”€ functions/           # Edge functions
β”‚   β”‚   β”œβ”€β”€ razorpay-webhook/   # Payment processing
β”‚   β”‚   β”œβ”€β”€ track-visitor/      # UTM tracking
β”‚   β”‚   β”œβ”€β”€ email-engine/       # Email sending
β”‚   β”‚   └── sync-master-sheet/  # Google Sheet sync
β”‚   └── migrations/          # Database schema
β”œβ”€β”€ scripts/                 # Automation (cron jobs)
└── docs/                    # Documentation

🀝 Who Is This For?

  • πŸ§‘β€πŸ« Coaches running paid programs who need lead nurturing
  • πŸ’Ό Consultants automating their sales pipeline
  • πŸš€ Solopreneurs who can't afford enterprise marketing tools
  • πŸ‘©β€πŸ’» Developers building marketing tools for clients
  • 🌍 Anyone who believes marketing automation should be free and open

πŸ—ΊοΈ Roadmap

  • Email nurture sequences
  • Payment recovery automation
  • Razorpay webhook integration
  • UTM attribution system
  • Google Sheet bidirectional sync
  • 9-page analytics dashboard
  • Contact lifecycle management
  • Campaign performance tracking
  • WhatsApp Cloud API integration
  • Stripe payment support
  • Multi-tenant mode (SaaS)
  • AI-powered email copywriting
  • Booking system (Cal.com alternative)

🀝 Contributing

Contributions are welcome! Please read our Contributing Guide and Code of Conduct.

# Fork β†’ Clone β†’ Branch β†’ Code β†’ PR
git checkout -b feature/your-feature
git commit -m "Add: your feature"
git push origin feature/your-feature

πŸ“„ License

MIT β€” use it, modify it, ship it. Free forever.


πŸ’¬ Story

"I'm a solo entrepreneur from India. I needed marketing automation for my coaching clients but couldn't afford HubSpot or ActiveCampaign. So I built Coach Automation Kit with AI as my development partner. No team, no funding β€” just one person and an AI. Now I'm open-sourcing it so every coach and solopreneur can have enterprise-grade automation for free."


If Coach Automation Kit saves you money, give it a ⭐

Made with ❀️ in India

About

πŸš€ Open-source marketing automation for coaches, consultants & solopreneurs. Email sequences, payment tracking, UTM attribution, analytics dashboard. Built with AI. Supabase + React.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages