Back to home

Guests scan their QR code at the till, earn a point per euro and trade them for rewards and deals.

sparenbijbzg.nl
Under the hood

Points from the till without anyone typing them in.

TypeScriptReactPostgreSQLSupabase Edge Functions (Deno)pg_cronunTill till APIApple and Google Wallet passesLLM insights
From receipt to points
  1. The guest shows the Wallet pass at the till
  2. The pass puts the guest on the receipt
  3. Receipts fetched per venue every two minutes, corrected every hour
  4. Points from the amount and the venue's rate, returns subtracted
  5. Booked in the database, then pushed to the loyalty platform

Shadow mode first

Each venue starts in shadow: every receipt is calculated and recorded but nothing is booked, until the numbers match. Then it goes live.

Reviews that are real

A review earns points only after a daily job matches it against the public Google reviews, or an admin approves it.

AI on aggregates only

Rules find the insights first. A small, fast model adds a summary and recommendations from aggregate numbers only, with a six-second timeout and the rule-based insights as fallback. No guest data goes to the model.

Tested till logic

The till code is pure functions, tested on their own, and the till keys are stored encrypted with AES-GCM.

2 minbetween till checks per venue
63database migrations
37test files
AI animations

The promos too

The promos were made with AI, picture and voice: one film for the programme and a separate ad for each restaurant.

AI animation, tap for sound
Ad for Roels, tap for sound
Ad for Zoetelief, tap for sound
On a phone too
The till

Scanning at the till

Staff scan the pass with the restaurant’s PIN and redeem rewards and vouchers on the spot. A custom integration between unTill and Leat passes the points on, with five checks against double booking.

Behind the scenes

Admin, mails and API

A dashboard with KPIs and an AI analysis on aggregates only, one mail engine in which every mail looks like the savings pass, and an open API for bots.

Next project · Design · 2019 – 2022

Artwork for music.

View project