Portfolio / Custom operations panel
What it costs to make each candle.
Soul Candles is a brand of handmade soy candles run by its owner alone: she produces, sells through a WooCommerce store and on WhatsApp, quotes keepsakes for events and puts together seasonal catalogs. We designed and built the panel where all of that comes together: recipes that cost themselves, inventory, production, sales, customers and the profit that is actually left.

01The challenge
A small workshop run by one person.
A Soul Candles candle takes wax, fragrance, wick, a vessel, dye, packaging and hours of work: melting, pouring, unmoulding, curing, labelling. Prices were set by eye and profit was guessed at the end of the month, scattered across web orders, WhatsApp chats, deposits paid by bank app and notebooks full of recipes.
The owner is not technical and runs the brand alone, so the panel had to speak her language: «what does this candle cost me?», «do I have enough wax for the order?», «who still owes me the balance?». She also set the constraints: Vercel and Neon, WooCommerce as the only store, AI on a free tier and WhatsApp without the API.
What had to come together
- 01Raw materials and their cost per gram
- 02Recipes and labour time
- 03Production batches
- 04Products from the WooCommerce store
- 05Orders from the web, WhatsApp and fairs
- 06Deposits and balances
- 07Quotes for events
- 08Seasonal catalogs
- 09Expenses and real profit
Our role
Product, architecture, interface and visual system, frontend and backend development, the WooCommerce integration, email through Resend, a Gemini assistant, automations on cron and n8n, in-app usage guides and deployment.
02The rule
The sum that organises the whole panel.
Every candle knows what it costs.
Cost per candle is the batch's materials divided by the candles it yields, plus labour —minutes over sixty times the hourly rate— divided by the same candles, plus a fixed amount per unit for electricity, gas and wear. The suggested price divides that cost by one minus the target margin and rounds up to the nearest COP 500. Defaults: COP 12,000 an hour, COP 800 per candle and a 60% margin, all editable.
When something sells, the cost of each item is frozen on the order line. If wax goes up tomorrow, what sold yesterday does not change, and last month's profit stays last month's profit.
Cost per candle, not a hunchSuggested price with marginCost frozen at saleWritten in her words
03Make
From recipe to stock.

Each recipe shows cost per candle, suggested price, how many days until it can be sold (work plus drying and curing) and how many candles current stock can cover. It flags a recipe that claims a scent but has no fragrance, and how many products still lack a recipe.

Each purchase adds to stock and recalculates the unit cost as a weighted average, or replaces it if the owner chooses. Minimum levels trigger alerts on the home screen, and the movement log keeps purchases, production consumption and adjustments with a date and a note.

Pick the recipe, how many batches and which product the candles add to. On save, the panel deducts the materials, raises the product's stock and, when connected, updates it in the store. Every batch in the history can be undone.
04The path of an order
From conversation to balance.
An order can come through four doors and ends in the same place: a sale with its frozen cost, its payments and the emails it triggers.
WooCommerce
Web orders and cartsPublic catalog
Cart with depositQuote
Accept from a linkPanel
Sale · cost · paymentsResend
Email journeyCron and n8n
Sync and recovery
- 01
Intake
Web orders arrive through signed WooCommerce webhooks and a daily sync; WhatsApp, Instagram and fair orders are created in the panel with their channel.
- 02
Catalog or quote
A public catalog builds the cart, asks for a delivery date with a minimum lead time and works out the 50% deposit. A quote accepted from its link becomes an order with the same deposit.
- 03
Cost and stock
The sale freezes the cost of each item and deducts product stock. Unpaid web orders are shown separately and count neither as sales nor as pending deliveries.
- 04
Payments
Deposit, instalments and balance are logged as payments; the order shows whether it is waiting for a deposit, partly paid or paid, and the date the customer needs it.
- 05
Emails
Each status change fires its journey step: confirmed, on its way, care tips two days later, a review request after seven. If the customer has no email, the step is queued to be sent by WhatsApp.
- 06
Recovery
An n8n flow calls the panel every 15 minutes to nudge abandoned carts after two hours, send a 10% coupon after 24 and warn the customer when a Wompi payment fails.
WhatsApp is not automated: the panel drafts the message and opens it on wa.me for the owner to send. That was her call.
05Sell
Quote, show and collect.

The order shows channel, delivery date, items with their frozen cost and the profit after the payment gateway fee. From there an affiliate can be assigned, deposit, instalments and balance logged, and the status changed, which fires the journey emails.

A quote is shared as a link with photos, per-line discounts, shipping, deposit and event date. The customer accepts or declines it right there, and the panel records when it was opened. It also prints to PDF.

Catalogs in 7 visual themes, built by hand or from a collection, with retail, wholesale or hidden prices and an expiry date. The customer fills a cart and the order reaches the panel with the deposit already worked out.
06Customers and growth
Selling more without more hours.
Segments that build themselves.
Buyers, repeat buyers, inactive for 90 days, no purchases yet and top spenders, worked out from the orders. Upcoming birthdays on the home screen and CSV export.
Templates that use their name.
WhatsApp and email templates with variables —first name, last product, catalog— that open as a WhatsApp link or go out as an email campaign through Resend, with one-click unsubscribe.
Other people sell for her.
Each affiliate gets a store on their own link, a private portal, a negotiated commission and customer discount —with exceptions by collection or product— and a WooCommerce coupon. Paying out commissions records the expense automatically.
The season up front.
Collections carry a season —Christmas, Colombia's love and friendship month, Mother's Day, events— and the panel puts the upcoming one first in catalogs and filters.
A nudge, not a pilot.
5 Gemini tasks on the free tier: product description, catalog and collection introductions, a customer message and a quote cover note. The text lands in the field for her to edit.
Ask in her own words.
A chat that receives a real snapshot of the business —sales, costs, inventory, customers— and answers like an advisor. Without a Gemini key, the screen explains how to switch it on.
07Automate and measure
What runs on its own, what is left.

Catalog request, confirmed, on its way, care tips, review, welcome, win-back at 90 days, birthday, cart at 2 hours, coupon at 24 hours and failed payment. Each step can be edited, previewed and paused, and respects whether the customer accepts promotions.

An affiliate's page gathers what she sold, what she is owed, what has been paid and what the brand keeps after cost and commission, plus links to her store and to each catalog with her code. Name and figures are fictitious.

Sales, shipping charged, production cost and operating expenses step down line by line to net profit, alongside break-even, average ticket and expenses by category. The figures are fictitious.
08On the phone
Where it actually gets used.

Catalogs are shared on WhatsApp, so they are almost always opened on a phone. The cover, the WhatsApp order button and the PDF download settle into a single column.

The panel gets used between batches and deliveries: the sidebar turns into a menu and the cards stack two by two.
09Architecture
Simple to run, cheap to maintain.
Every page reads the database on each visit and every change goes through a server action that checks the session first. No cache layers to explain, no extra services to pay for.
Next.js 16
App Router · Server ActionsNeon Postgres
DrizzleOwn sessions
bcrypt · JWT cookieWooCommerce
REST · HMAC webhooksGemini
Free tierVercel
Deploys · daily cron
- 01
The interface
Next.js 16 with React 19, TypeScript and Tailwind CSS 4. A collapsible guide on every screen and a help centre with 17 sections written for the owner.
- 02
The data
Drizzle on Neon, 27 tables. Locally, the same code uses the standard Postgres driver; on Vercel, Neon's.
- 03
Access
Custom authentication with bcrypt and a signed httpOnly cookie. The first account can only be created with the email authorised in the environment.
- 04
The store
WooCommerce's REST API to pull products, customers and orders and to push stock and products; HMAC-signed webhooks for ten events, including captured cart and failed payment.
- 05
Scheduled work
A Vercel cron syncs the store daily at 6 a.m. Colombia time; n8n triggers cart recovery every 15 minutes. Deploys ship from GitHub Actions.
Resend sends the email and Gemini writes; both are called from the server only. Keys live in Vercel's environment.
10Visual system
The store's warmth, inside the panel.
Text · Primary buttons · Active state
- HEX
- #2B2420
- RGB
- 43 · 36 · 32
App background
- HEX
- #FBF7F1
- RGB
- 251 · 247 · 241
Sidebar · Secondary surfaces
- HEX
- #F2E8D8
- RGB
- 242 · 232 · 216
Sales · Profit · Tags
- HEX
- #F3B8C7
- RGB
- 243 · 184 · 199
Alerts · Expenses
- HEX
- #F8A348
- RGB
- 248 · 163 · 72
Guides · In-between states
- HEX
- #B8A7D9
- RGB
- 184 · 167 · 217
Completed · Paid
- HEX
- #A5B49B
- RGB
- 165 · 180 · 155
Low stock · Unpaid · Negatives
- HEX
- #F27661
- RGB
- 242 · 118 · 97
11Evidence of depth
Technical scope, not commercial results.
Figures counted in the repository. They describe the size of what was built, not sales, hours saved or adoption.
- 27
- tables in the Drizzle schema
- 32
- pages, nine of them public or sign-in
- 9
- API routes: webhooks, cron, export and AI
- 11
- steps in the email journey
- 7
- visual catalog themes
- 14
- days from the panel's first commit to the last one reviewed
12Where it stands
Built fast, with clear limits.
The panel's first commit is from 10 November 2026 and the last one reviewed from the 23rd. In those two weeks came, in this order, the base panel, email through Resend, the journey and webhooks, catalogs with cart and deposit, quotes, recipe-to-product linking, affiliates, and cart recovery with failed-payment notices.
There are things the panel does not do, and they are worth saying. Every account sees everything: the role exists in the database but restricts nothing. There is no lot traceability and no product variants in the panel, WhatsApp works through links rather than its API, and there are no automated tests or versioned migrations: the schema is applied with drizzle-kit push. For a solo owner it was the right trade; if a team joins, permissions and tests come first.
Out of scope today
- 01Role-based permissions
- 02Lot traceability
- 03Product variants in the panel
- 04WhatsApp API
- 05Automated tests
- 06Versioned migrations
About the screenshots
Every screenshot uses fictitious data seeded into a disposable local database. Product names, photos and list prices come from the store's public catalog; customers, orders, stock, the added recipes and every figure are invented.
13The outcome
What changes when cost is visible.
Pricing with numbers.
Soul Candles now has a place to answer what used to be guessed: what a Christmas tin costs —in the screenshots, COP 16,463 per candle with a suggested price of COP 41,500—, whether there is enough wax for a keepsake order, and what was left of the month after materials, labour and expenses.
The rest is decided on that basis: what to produce before Christmas, whom to write to, what to charge for a quote and what to pay an affiliate.
CostedConnectedIn her words
beleafdesign
Do you know what it costs to make what you sell?
We design custom panels that work with what you already use —your store, your WhatsApp, your email— and turn day-to-day operations into costs, orders and profit you can review. We can look at how your business runs today, together.
Let's talk about your project