Emmanuel BalogunFrontend & Full-Stack Developer
--:--:-- WAT

03AI · Customer operations

Lumistro Relay

AI reply drafts that stick to facts the owner has approved

A workspace where a small business owner saves approved facts — hours, menu, prices, delivery, payment methods — and tests an AI receptionist that drafts replies from those facts and hands anything risky to a human.

Year
2026
Role
Full-stack developer
Stack
React 19 · TypeScript · Vite · tRPC · TanStack Query · Express · Drizzle ORM (MySQL) · Zod · Tailwind CSS · shadcn/ui · Vitest
A — The problem

Small businesses get the same questions again and again on Instagram and WhatsApp: what time do you close, how much is delivery, do you take transfers. An AI can draft those replies, but only if it never invents a price or promises something the owner has not confirmed.

B — What it does
  • 01Owners set up a business profile using guided controls — business type, opening days and times, payment methods — instead of typing everything.
  • 02They add catalogue items and FAQs tagged by intent (opening hours, price, delivery area and so on).
  • 03A test console sends sample customer messages to the receptionist and shows the draft reply, its intent and why it was handled that way.
  • 04Instagram and WhatsApp connections are clearly marked as simulated; nothing is ever sent to real customers.
C — Decisions & trade-offs
  1. D-01

    Safety rules run before the model is called

    Complaints, refunds, allergy or safety questions, large or custom orders and direct requests for a person are detected by rules and sent to a human without calling the LLM at all. The model only handles what remains, and even it can decide to hand off.

    Trade-offRule matching can over-trigger on harmless messages, but the riskiest categories never depend on how a model behaves on a given day.

  2. D-02

    Match meaning, answer only from approved facts

    Messages are classified into a fixed list of intents shared by client and server, so 'What time do you close?' uses the same approved opening-hours fact as 'What are your opening hours?'. Each reply is checked against a Zod schema that records whether it came from the model, a safety rule, a fallback or a built-in response.

    Trade-offA fixed intent list is easier to test and explain, but new kinds of questions need a code change instead of being picked up automatically.

  3. D-03

    End-to-end types from database to UI

    Drizzle defines the schema and tRPC carries those types through the Express API to React Query hooks on the client, so a change to a table shows up as a type error in the components that use it. Vitest suites cover the receptionist, brand setup, workspaces and auth.

    Trade-offThe client and server are tightly linked to one TypeScript codebase, which is great for a small team but less suited to separate public API consumers.

D — Outcome
Draft-onlyevery reply is a preview for the owner; nothing is sent
6Vitest test files covering receptionist, setup, workspaces and auth
Rules-firstrisky messages go to a human before any model call
E — Known limits
  • Instagram and WhatsApp are simulated; provider authorization, webhooks and real sending are out of scope.
  • Answers are only as good as the facts each owner saves.