SABRAMAN

SABRAMAN DANYA YUDIN КАРТОН SABRAMAN DANYA YUDIN КАРТОН SABRAMAN DANYA YUDIN КАРТОН SABRAMAN DANYA YUDIN КАРТОН SABRAMAN DANYA YUDIN КАРТОН SABRAMAN DANYA YUDIN КАРТОН
Flower Retail Suite
Case Study

Flower Retail Suite

Complete retail digital suite for a flower brand: a secure write-off tracking Telegram Mini App with optimistic UI rollbacks, and an interactive customer bouquet recommendation quiz PWA.

Problem and context

Our flower retail client suffered from two main friction points in their digital operations: shop managers and staff struggled with manual, untracked inventory write-off logs (often leading to lost profits and delays), while the marketing team had low customer conversion rates using static forms.

The goal was to design a unified digital suite: a fast, mobile-friendly Telegram Mini App for retail workers to submit real-time write-offs, and an interactive matching PWA quiz to guide customers through aesthetic bouquet selections, capturing qualified leads.

We needed to support secure user roles, rapid entry (write-off in one tap), optimistic UI rollback within 60 seconds, and group chat invites via Telegram deep links, alongside responsive layouts that load quickly on mobile networks.

Architecture and implementation

The Telegram Mini App is built using Next.js 16 and a reactive Convex database backend, featuring hashed-token session validation and optimistic UI decrements to match active staff actions.

The bouquet recommendation quiz is a single-page PWA leveraging a client-side rule engine matching bouquet tags with user lifestyle and aesthetic answer profiles.

Data flows separate the internal operations logs and the public marketing capture endpoints, keeping security high and validation strict.

  • Next.js 16 and Convex reactive database backend
  • Optimistic UI with 60s rollback window for staff write-offs
  • Rule-based scoring algorithm for flower matching quiz

Feature deep dive

The write-off interface allows staff to log items in one tap, supported by optimistic state updates, a 60-second rollback timer, and haptic feedback. Invitation deep links (`startapp`) automate onboarding for new outlets.

The customer quiz uses a five-step visual lifestyle questionnaire, dynamically filtering bouquet arrangements, explaining pairings, and offering coupon discount codes upon lead form submission.

Owners access global multi-point reports, period summary cards, CSV exports, and direct copy-to-clipboard spreadsheet formatting.

Tooling and integrations

Built with Next.js 16, Tailwind CSS v4, and React Compiler. Haptics and native theme colors are controlled using the Telegram Mini App SDK.

The recommendation engine matches selected answers with flavor and color tag matrices, loading highly optimized WebP assets lazily to preserve load speeds.

Lead capture data is sent to CRM endpoints using secure client-side API requests, passing strict server validation rules before generating discount codes.

Outcome and impact

Unified operational write-off logs cut reporting discrepancies across sales points, providing the business owner with instant visibility into daily losses.

Staff errors were reduced using the one-tap logging interface combined with the 60-second undo window and tactile feedback.

The florist recommendation quiz generated high user engagement, achieving a 40% conversion rate from starting the questions to lead form submissions.

Constraints and tradeoffs

The write-off Mini App operates strictly in Russian for the localized store workforce, while the quiz is available in both languages.

Relying on Convex reactive queries requires active network connectivity during write-off actions to sync values.

Keeping the marketing quiz questions engaging required limiting them to five steps, balancing depth with session completion rates.

FAQ

Why is the write-off tracker inside a Telegram Mini App?

To provide instant access for store cashiers without requiring custom app store installs, leveraging group chat deep link invitations.

How does the bouquet recommendation engine work?

It scores products based on tags associated with each selected answer, matching the highest-scoring bouquets.

Are report exports easy to use?

Yes, the dashboard supports standard CSV exports and copies formatted tables directly to spreadsheets like Excel.

INTERESTED IN WORKING TOGETHER?

Let's build high-performance web platforms, custom Telegram Mini Apps, or premium design systems for your business.