Beauty salon Marketing & Events Planner - promotion delivery-capacity calculator, single file - a sold-out promo is good news and the start of an incident; beds times esthetician hours times treatment duration give the maximum serviceable visits over the campaign window, which is then compared against three sales scenarios, and the moment oversell lights up the answer is tiered ticket caps and weekly releases, not selling harder; the gap gets two labels - staffing problem (solvable by adding hands) and structural problem (bed count is a physical ceiling, adding hands solves nothing)
You are a coding agent building an internal tool for a beauty
salon. Build a single-file HTML tool (HTML, CSS, JS all inline;
no external dependencies, no network requests; opens by
double-click) that lets the marketing planner compute the
delivery capacity of a promotion. Core stance: a sold-out
promo is good news and the start of an incident - every voucher
sold is one future real occupation of a bed, an esthetician,
and a block of standard time; "do we have enough hands" cannot
answer a capacity question. Beds, esthetician hours, and
treatment duration are three constraints computed separately;
the lowest one is the effective supply.
Input section (all manual entry, saveable and exportable):
A. Beds and slots: bed count / opening hours / per-bed
unavailable blocks each day (central disinfection, lunch
break - deducted from available slots)
B. Esthetician roster: name / treatments they can perform
(multi-select) / on-shift hours (entered per day; campaign
days can differ; people hired for the campaign get entered
in advance)
C. Standard treatment duration: for each treatment, two
numbers - service time plus bed-turnover and disinfection
interval; the interval counts toward bed occupancy, not
esthetician hours (during the interval the esthetician
preps the next guest); use measured times, not the nominal
times printed on the price list
D. Promo bundles: bundle name / treatments included with visit
counts / estimated mix share per bundle (must total 100%;
a bundle whose share is incomplete simply does not compute)
E. Campaign window: start and end dates, day count; whether
every campaign day runs the shifts entered in section B
F. Expected sales, three scenarios: conservative / expected /
optimistic, one total voucher count each
Compute and output section:
1. Daily supply table: per treatment, two columns side by
side - maximum serviceable visits under the esthetician-
hours constraint and under the bed-slots constraint; the
lower figure is the effective supply, and each row marks
which side is the short one
2. Oversell-multiple table: campaign-window effective supply
(daily supply x campaign days, folded by bundle mix share)
against the three sales scenarios, each showing "sales
divided by effective supply"; any multiple above 1 is
oversell and turns red - which scenario blows the line is
visible at a glance
3. Gap labels: short on the esthetician-hours side = label
"staffing problem" - add people, extend shifts, stagger
bookings; short on the bed-slots side = label "structural
problem" - the bed count is a physical ceiling, adding
staff solves nothing, and the only moves are capping
releases or lengthening the campaign; short on both =
"double bottleneck", and with a double bottleneck solve the
structural side before looking at staffing
4. Tiered release suggestion table: apply a safety margin of
[ ]% of supply (reschedules, sick calls, and equipment
failures all eat this margin) and output a suggested
release cap; plus a weekly release rhythm: split the
campaign into weeks, release [ ]% of the suggested cap in
week one, then set week two after reading week-one
redemption and reschedule data - release by week, never
all at once, leaving room to rebook and backfill
Hard requirements:
- No external CDN, fonts, or icons; no network requests; data
never leaves the machine; the whole record (beds, roster,
bundles, sales scenarios) exports and imports as one file
- Any input change recomputes live; no "calculate" button
- The tool does arithmetic only; it makes no marketing
judgments and offers no opinion on the promo itself
Prohibitions:
- Pre-fill no industry parameters - durations, intervals, mix
shares, margins, release rhythm all stay blank for the salon
to fill; a pre-filled number installs another salon's rhythm
into this one
- No "recommend increasing ad spend" or "the offer could be
more aggressive" talk - the tool computes whether demand can
be served, not whether it can be sold
- When it cannot compute, show the gap, never an estimate - a
bundle with an incomplete mix share stops on that row, no
averaging across bundles; a treatment nobody on the roster
can perform shows a staffing supply of zero, truthfully
- No "smart scheduling" or "auto-booking" feature - scheduling
is a human decision; when an auto-generated plan goes wrong,
nobody can say whose fault it was
Why it is written this way
Splitting the gap into two labels is the tool's first design decision. After a promo sells out, hiring is the reflex - but the gap has two entirely different diseases. An esthetician-hours shortage is a staffing problem: more hands, longer shifts, staggered bookings all help. A bed-slot shortage is structural: there are only so many beds, and ten more estheticians will not conjure an eleventh one. Without the labels, the common ending is money spent, people hired, and the gap untouched - because the short board was never the staff. The "solve structure before staffing" order for double bottlenecks follows the same logic: with the structure unsolved, every staffing tweak is redecorating a room with a sealed ceiling.
The oversell table faces three scenarios, not one. The planner pitching the plan always quotes the expected scenario, but platform push traffic, competitor co-riding, and regulars stocking up on vouchers routinely push actual sales toward the optimistic one. Lining up all three makes "does the optimistic scenario blow the line" visible before anything is sold. Discovering the shortfall after the vouchers are gone means refunds, reschedules, and bad reviews arriving together - and the review will not read "this salon's promo was too successful"; it will read "this salon can never fit you in", which damages the salon, not the campaign's ROI.
Every parameter stays blank - durations, intervals, mix shares, margin, week-one share - continuing this tool series' discipline. Bed structures, duration conventions, and reschedule rates differ wildly between salons, and any pre-fill installs another salon's rhythm into this one. The margin especially cannot be pre-filled: a salon with a low reschedule rate releasing against a high margin simply undersells, and one with a high reschedule rate releasing against a low margin re-enacts the oversell on a different date. Section C insists on measured durations because price-list times routinely exclude changing, consultation, and buffers - computing supply on nominal times bakes the oversell in at the moment of entry.
Weekly release is written into the suggestion table, not left as a one-line tip. A pool released all at once has zero buffer: one week of concentrated reschedules, one day of equipment failure, one esthetician's sick call - all of it lands on customers who cannot book. Weekly releases build each week's pool on the prior week's actual redemption and reschedule data, so releasing more or less than planned in week two is a decision with numbers behind it.
Variables
| Variable | Description |
|---|---|
| Safety-margin percentage | Set it from this salon's own reschedule rate and sick-call frequency - the higher the reschedule rate, the fatter the margin; this is a house number, not an industry figure |
| Week-one release share | Set it from confirmable demand already in hand for week one; err small - week two can release more, but a week-one blowout cannot be recalled |
| Standard treatment duration | Use one week of continuous measured records including changing, consultation, and buffers; price-list times run short, and supply computed on them oversells by construction |
| Bundle mix share | Estimate from a past campaign's redemption mix if one exists; otherwise estimate from sign-up intent and flag it as an estimate in the tool's notes, so the next person knows where the number came from |