Digital Booking System for Headquarters Barber Shop by Pedro CostaDigital Booking System for Headquarters Barber Shop by Pedro Costa
Built with Lovable

Digital Booking System for Headquarters Barber Shop

Pedro Costa

Pedro Costa

Headquarters (HQ) Business Case Study

We eliminated mid-haircut interruptions and peak-hour walk-outs for a solo Coimbra barber by turning his chaotic walk-in queue into a self-serve, phone-only booking and SMS retention engine.
Headquarters (HQ) is a high-demand, single-chair barbershop in the heart of Coimbra, Portugal (Rua Ferreira Borges 42), owned and operated entirely by João.
While João’s reputation for sharp cuts keeps the shop popular, operating strictly on a walk-in, first-come, first-served basis—with no receptionist—was costing him daily revenue and burning him out.
During peak hours, the shop turned into chaos. With clippers in one hand and scissors in the other, João was constantly forced to stop mid-haircut to answer inquiries or tell walk-ins how long the wait was—frustrating the client in the chair and pushing his schedule further behind. Meanwhile, quiet mid-morning hours often sat underbooked, followed by unmanageable 5:30 PM rushes.
Worse, potential clients in Coimbra (from busy professionals on lunch breaks to international university students between classes) had no way to lock in a slot in advance. When they walked up to Headquarters, saw four people waiting on the bench, and realized they faced a 90-minute wait, they simply turned around and left.
Yet João hesitated to adopt traditional booking software—fearing that free online bookings would lead to costly no-shows, and knowing he didn't have time between haircuts to manage a complex CRM.

Key Pain Points to Solve

For João (The Owner): Needs to keep his hands on the clippers, eliminate mid-haircut interruptions, fill quiet morning hours to smooth out evening rushes, and prevent no-shows—all without hiring a receptionist or tapping through complex software after every cut.
For the Clients: Want certainty before walking to the shop—a 10-second way (in Portuguese or English) to choose their service, check live availability, claim a discounted slot, or reschedule via SMS using just their phone number, without creating an account or entering a credit card.

How We Solved the Problems

To transform Headquarters (HQ) without forcing João to hire a receptionist or abandon his walk-in culture, we built a bilingual (PT | EN) automated digital ecosystem powered by Lovable, Supabase, and the BulkGate SMS API—turning his counter into a silent, 24/7 booking and retention engine.

Frictionless Web Booking with 3-Service Dynamic Pricing

The Headquarters website features an instant 14-day calendar picker that requires only a name and a Portuguese (+351) phone number. Clients select between Haircut (€15 base), Beard Trim (€10 base), or Hair & Beard (€20 base). Walk-ins are always welcome on a first-come, first-served basis at standard prices, while booking online unlocks automatic server-calculated savings:
Advance Booking Discounts (-10%): Clients pay less (€13.50 Haircut / €9.00 Beard / €18.00 Combo) when they lock in their slot more than 24 hours ahead, giving João predictable weekly revenue.
Off-Peak Demand Smoothing (-20%): The calendar applies a 20% discount (€12.00 Haircut / €8.00 Beard / €16.00 Combo) to quieter mid-morning (09:00–12:00) and early-afternoon (14:00–16:00) slots booked in advance, naturally shifting flexible clients out of the 5:30 PM rush.
Storefront Window QR Code Funnel: If a walk-in arrives during peak rush and sees a full waiting bench, a printable QR sticker on the front glass ("Bench full? Scan to grab an off-peak slot tomorrow at 20% off") opens /src=window_qr pre-filtered to tomorrow's discounted off-peak slots, capturing them on the spot before they walk away.

Phone-Based Gamified Reputation System

Booking is 100% free with no credit card required. Instead of upfront deposits or a bloated third-party CRM, our Supabase database uses the client's phone number as their digital passport to track a gamified reliability score (0 to 100 points, starting at 50):
Instant Recognition: As a client types their +351 phone number into the calendar, the system immediately recognizes their history—tracking completed services (+10 pts), on-time cancellations (0 penalty), late cancellations (-15 pts), and no-shows (-30 pts).
Earned Perks & Automated Protection: High-reputation VIP phone numbers (80+ pts) unlock a 10-minute exclusive early-access window to claim newly cancelled prime slots, while numbers that drop below 35 pts due to repeated no-shows automatically lose online discount privileges and revert to standard walk-in pricing.

Self-Serve Booking Page & Instant Slot Recycling

The moment a slot is claimed, the system generates a unique token-protected Booking Confirmation Web Page (/b/:token) and texts the link directly to the client's phone:
Two-Tap Rescheduling & Live Repricing: Clients can check their appointment countdown, reschedule to a new slot (with the database dynamically recalculating their exact price based on the new window), or cancel in two taps without calling the shop.
Notice-Window Protection & Slot Recycling: If a client reschedules or cancels more than 2 hours ahead, Supabase protects their reputation score, restores any applied review voucher, and immediately recycles that slot back onto the live website (with a 10-minute VIP priority window)—all without interrupting João mid-haircut.

The 3-Tab Barber Workstation Hub & Google Calendar Protection

Instead of forcing João to manage complex software between haircuts, we built a PIN-protected (1234 with brute-force lockout) Barber Admin Workstation Hub (/admin) organized into three focused views:
Counter Mode Schedule: Displays daily KPIs (bookings count, projected € revenue, next client), the client’s chosen service badge (Haircut, Beard, or Hair & Beard), their reputation tier, and the exact discounted € price to charge in oversized gold typography.
1-Tap Walk-In Blocker (With Undo): When a walk-in sits down in an open chair, João taps a single "+ Walk-In (Block 30m)" button to immediately remove that slot from the public website and prevent online double-bookings.
Zero-Touch Auto-Complete & 1-Tap No-Show: João never has to touch his screen when a haircut goes smoothly—every appointment automatically marks itself as completed after the slot ends, awarding +10 reputation points and triggering follow-up texts. João only touches the screen for the rare exception: tapping a compact "No-Show" button if a chair stays empty.
Google Calendar Personal Blocks & Conflict Alerts: Personal blocks (gcal_block) remove private errand hours from the public calendar, while any personal calendar event overlapping an existing client booking raises a non-destructive conflict warning directly on João's counter card.

Automated SMS Lifecycle & Local Growth Engine

Powered by Supabase scheduled cron jobs and the BulkGate Transactional SMS API (with a built-in Live vs. Free Simulation toggle for demos), every touchpoint lands directly on the client's lock screen:
Instant SMS Confirmations & 2-Hour Reminders: Clients receive an immediate text confirmation with their /b/:token management link, followed by an automated reminder 2 hours before their cut so they show up on time.
Phone-Linked €2.00 Google Maps Review Rewards: Right after an appointment auto-completes (respecting shop opening hours), an automated SMS sends a direct review link (/b/:token?action=review) pointing to Headquarters in Coimbra—automatically crediting a -€2.00 reward directly to the client's phone number on their next booking with zero promo codes required.
Predictive Cadence Re-Booking Offers: Supabase calculates each client's personal average days between completed cuts (defaulting to 21 days for new clients) and automatically texts a personalized booking link right when their hair is growing out and they are due for a trim.
Like this project

Posted Sep 29, 2026

Created a booking and retention system for a Coimbra barber shop.