Sep 26, 2026

SalonGrowth AI — Autonomous Retention, Yield & Operations Operator

buildwithswytchcode

 Project Overview

  • Project Name: SalonGrowth AI
  • Track: Track 6: AI Business Operator Agent
  • Tagline: Autonomous revenue yield, physical gift inventory & omnichannel campaign operator for retail salons powered by Swytchcode.
  • Target Business: Belezia Luxury Salon & Spa Atelier (Thoughtworks Tech Park, Gurugram)
  • Local Demo URL: http://localhost:3001

🎯 The Real-World Business Problem

  1. Dead Morning Hours (Idle Stylists): Brick-and-mortar salons are virtually empty between 10:00 AM – 2:00 PM while fixed stylist wages run. In contrast, salons are packed with walk-ins during peak evenings (5:00 PM – 9:00 PM). Unsold salon chair time cannot be inventoried—once an hour passes, that revenue is lost forever.
  2. Promotional Margin Leaks: Salons distribute discounts blindly on social media without slot restrictions or redemption caps, resulting in peak-hour margin cannibalization and stock-outs on physical gift products (e.g., professional shampoo bottles).
  3. Cross-System Fragmentation: Salon managers must manually create Stripe payment links, message floor staff on Slack, email dormant VIP clients, and update billing POS terminals—a tedious 45-minute multi-app ordeal for every single campaign.

💡 The Solution: Autonomous AI Business Operator

A salon owner gives a single plain-English prompt:

“50% discount on all Loreal Facial services” or “Free Professional Shampoo on ₹1000+ billing for 50 clients”

SalonGrowth AI autonomously acts as a full-time revenue yield manager and operations director:

  1. Semantic NLP & Yield Reasoning: Calculates gross profit margins (88–94%), restricts promotional booking to off-peak morning slots (10:00 AM – 2:00 PM), and computes daily customer capacity caps.
  2. Swytchcode Kernel Orchestration: Autonomously executes 4 canonical API tools in a deterministic pipeline.
  3. Omnichannel & Indian UPI Generator: Generates formatted WhatsApp broadcasts, Instagram feed & story stickers, Google My Business updates, and scan-to-pay UPI intent links.
  4. Integrated POS Billing: Synchronizes live with the front-desk POS register, validating minimum bill thresholds, applying discounts, and decrementing gift inventory in real time.

🔌 Swytchcode Integration (Minimum 3 Required — We Use 4)

This project is built directly on top of the Swytchcode Agent Contract using @swytchcode/runtime:

# Swytchcode Canonical ID Provider Operational Role in Salon Workflow Output Dependency (Tool Chain)
1 stripe.coupon.create Stripe.stripe@2026-06-24.dahlia Creates promotional coupon with strict max_redemptions inventory cap. Produces coupon_id & promo code injected into Step 2 and all copy.
2 stripe.payment_link.create Stripe.stripe@2026-06-24.dahlia Generates prepayment reservation link with coupon pre-applied. Produces payment_url embedded into Slack staff briefs and Gmail drafts.
3 slack.chat.postmessage.create Slack.slack@1.7.0 Dispatches real-time briefing to #all-belezia-salon (C0C5H4AKA5N). Briefs receptionists on daily caps, gift stock, and stylist incentives (+₹50).
4 gmail.user.drafts.create Gmail.gmail@v1 Drafts personalized VIP retention letters with 1-click Google Mail compose. Delivers 1-to-1 customer reactivation for clients inactive for 30+ days.

✨ Key Innovations & Unique Highlights

  1. Autonomous Off-Peak Yield Engine (Morning Happy Hours):
    • Automatically gates promotional discounts strictly to 10:00 AM – 2:00 PM.
    • Keeps peak evening hours (5:00 PM – 9:00 PM) 100% reserved for high-paying walk-ins.
  2. Physical Gift Inventory & Daily Slot Quotas:
    • Enforces inventory caps on physical retail items (e.g., 50 shampoo bottles, max 10/day).
    • Real-time stock gauge alerts staff before gifts run out.
  3. Festive & Retention AI Research Studio:
    • Pre-built research strategies for Indian festivals and milestones:
      • 🪔 Diwali Golden Glow Package (₹1,999 combo with free gold mask)
      • 🌙 Karwa Chauth Fast-Track Express (Morning mehendi + facial combo)
      • 🎂 1-Year Salon Anniversary Milestone (Flat ₹500 VIP privilege voucher)
      • 🌙 Eid Festive Grooming (Beard couture + de-tan combo)
      • 🥂 New Year Eve Glamour Hour (Party makeup + blowout combo)
  4. 1-Click Real Gmail Draft Dispatch:
    • Seamlessly generates pre-filled Google Mail drafts (web_compose_url), opening directly in the browser with recipient, subject, and VIP invitation body pre-loaded and auto-saved in Drafts.
  5. Live Slack Channel Delivery:
    • Dispatches operational briefs directly to #all-belezia-salon (C0C5H4AKA5N) via Swytchcode and real-time incoming webhooks.
  6. Gemini AI 8K Commercial Poster Studio:
    • Renders 8K commercial product photography (cinematic studio shampoo bottles & luxury facial treatments) with high-contrast luxury typography ready for 1-click PNG poster export.
  7. Production POS Integration:
    • Full point-of-sale checkout system supporting percent discounts, flat bill deductions, and complimentary gift redemptions with 1-click coupon removal.

🛠️ Tech Stack & Dependencies

  • Core Runtime: Next.js 15 (App Router), React 19, TypeScript
  • Execution Kernel: @swytchcode/runtime
  • Styling & UI: Tailwind CSS, Lucide React Icons
  • Data & Storage: Local Persistence Layer + Supabase PostgreSQL schema
  • Creative & Utilities: HTML2Canvas (Poster Export), QRCode.react (UPI QR generation), Canvas Confetti (Celebration effects)

🚀 2-Minute Demo Script for Judges & Mentors

  1. Open http://localhost:3001 and click the "AI Growth Operator" tab.
  2. Under AI Campaign Researcher, click "Diwali Golden Glow" or "1-Year Milestone" (or type: “Free Shampoo on 1000 or more billing”).
  3. Click Execute AI Operator and watch the 8-step live execution trace:
    • Step 1: Natural Language reasoning & slot restriction.
    • Steps 2–5: Real-time Swytchcode tool invocations (Stripe Coupon, Payment Link, Slack, Gmail).
    • Click 📬 Open Draft in Real Gmail ↗ to see the draft live in your Gmail!
    • Click #all-belezia-salon ↗ to view the Slack channel operations brief.
  4. Scroll to Commercial Poster Studio: Switch between 1:1 Square & 9:16 Story format and click Export High-Res PNG.
  5. Switch to "Billing POS" tab: Add items above ₹1,000, apply the coupon code, and see the automated discount applied at checkout!
Give a star to encourage!Discussion
Start a new conversation!
Login to join the discussion