Overview
WiroBot agent dashboard
Total Memories
8
Total Messages
236
Messages Today
152
Active Tasks
4
Recent Activity
Yeah, you're good: Script is saved at /Users/Sam/WiroBot/salon-revenue.js Boulevard skill is updated with the commission logic, DB connection, and all the staff/order patterns Morning digest heartbeat is active and will call that script Go make your fixes - nothing's going anywhere.
Ok, that sounds cool. Im going to make some fixes on the back end. Are we all backed up in the right places?
Working. Yesterday (Friday) was a solid day - $4,956 total, 114 clients. Centennial led commission, Summerlin actually had the best retail day. The morning digest will now show yesterday's numbers with proper context. Updated the skill too.
That sounds good. And we're going to have to say this is what it looked like yesterday, because you'll be showing me in the morning. So we won't have any information on the current day.
That's live. Here's what today looks like: The Lakes - $770 commission, $0 retail (12 clients) Centennial - $1,310 commission, $72 retail (24 clients) Summerlin - $905 commission, $38 retail (17 clients) Total: $3,095 commission + retail across 53 clients Retail is LOW across the board today, especially Lakes. I'll add this as a section to the morning digest and flag when retail is unusually light. Adding it now - want the "this week vs last week" trend piece too, or just the daily snapshot for now?
Yes
Got everything I need. The DB is queryable directly via Prisma. Active staff breakdown: Hair Stylists (commission): 15 Rental Stylists: 52 Receptionists, Owners, Manager: the rest So the plan for the digest is: pull today's orders, map initialStaffId → Boulevard ID → Staff role, sum revenue only for Hair Stylists + any retail. I can build that into the morning digest as its own Salon section. Want me to wire it up now and show you a test output before making it live?
Yeah, its a supabase db and we have the cli and Prisma, usually all in the repo
Got it. The Prisma DB has a role field on Staff: "Hair Stylist" (commission) and "Rental Stylist" - exactly what you described. Each order's service lines have an initialStaffId which maps to Boulevard's staff ID, and Staff records have a boulevardId to link them. So the flow is doable: pull orders → map initialStaffId to staff role → sum commission-only service + retail revenue. One thing I'd need: the DATABASE_URL from your env to query the Prisma DB directly in the digest script (or I can pull from Boulevard's staff API if it exposes the role there). Is the DB a Supabase postgres? Should be in /Users/Sam/Repos/ths-app/apps/web/.env.
It does, I would look at the repo for more info, this info might already be pulled into metrics the way you want, currently its hair stylist and rental stylist I believe, with hair being commission. And online bookings we are about for rental stylists but thats harder to track right now so we dont have to.