Case file 03 · Turf & café

Hattrick

Brand identity, a website and a WhatsApp agent that books the turf, takes UPI and sends café orders to your bench.

Client
Hattrick
Sector
Turf & café · Gorakhpur
What we did
Brand identity, Website, WhatsApp agent, Owner dashboard
Status
Launching soon
I.

The brief

Teams already plan their games in WhatsApp groups. So booking, paying and ordering should happen there too. Hattrick needed one brand that works on a pitch, a menu and a phone, and a booking agent that never double-books a court.

0Double bookings, enforced by the database
15 minSlot hold while you pay by UPI
3Plans: Single, Double, Hat-trick
1App the customer needs: WhatsApp
II.

Before → after

Drag to compare
After: the Hattrick website hero beside the WhatsApp booking chat with a UPI payment and slot passBefore: Hattrick had no website, so there was nothing to visit and no online bookingBeforeAfter
Before
  • No website at all: nothing to find, compare or share.
  • Booking a court meant finding a number, calling or messaging, and waiting for a reply.
  • No way to see which slots were free, or to pay ahead.
After
  • A branded website with a live slot picker for the turf and the café.
  • A WhatsApp agent that books, takes UPI and sends a slot pass, in one chat.
  • Open slots shown live, held for 15 minutes while you pay. Double-booking is impossible.
III.

The brand system

One ground, two moods. The turf says “Play hard.” with floodlights and scoreboard type. The café says “Sip slow.” with warm chalk and serif italics. We kept the client’s logo (stumps and a ball hide in the TT) and built the system around it. Ember is the cricket ball: the one thing your eye hunts for, used only for Book, Pay and Order.

Pavilion#0F3B2EBase · 60%
Outfield#1F6F4FDepth
Silk Matcha#A9D3B0Soft
Crease Chalk#F4F0E6Ground · 30%
Ember#FF7A5CCTA on dark · 10%
Leather#C23E22CTA on light
Espresso#2A1B14Café ink
Headlines, scoreboard energyBig Shoulders Display
Café moments, menu namesInstrument Serif Italic
Body, prices, booking UIArchivo
IV.

What we built

01

Identity

Colourway rules, an H3 monogram for the app icon and stamps, and a menu with cricket names: The Yorker, Third Man Chai, Boundary Burger.

02

Naming

Plans called Single (1 h), Double (2 h) and Hat-trick (4 h). The venue’s name became its best-value plan, and a loyalty card: three bookings, fourth hour free.

03

Website

A live slot picker, a 3D cricket ball (an SVG one on phones) and a Book button that hands off to WhatsApp with the slot already chosen.

04

Agent and dashboard

A WhatsApp booking agent, plus an owner dashboard for today’s games, bookings, café orders and the inbox.

Safety

Double-booking is impossible

A Postgres exclusion constraint guards every court. If two people tap the same slot, one gets it and the other sees what’s still open.

Payments

UPI, checked twice

Razorpay webhooks are signature-checked, and the worker re-asks Razorpay before confirming. Paying twice confirms once.

Handoff

From site to chat with the slot chosen

The website’s Book button pre-types a reference, so the agent replies straight away with a payment button for that exact slot.

Café

Food to the bench

A reminder 2 hours before the game offers the bench menu. The order lands on the dashboard and arrives mid-game.

Retention

Same time next week?

15 minutes after full time, a nudge offers the same court and time next week.

People

Humans when it matters

“Refund”, “tournament” or “manager” hands the chat to staff, and the bot stays quiet until they hand it back.

Spotlight · The WhatsApp agent

Book, pay and order without leaving the chat

There’s no app to download and no form to abandon. Every button carries its own data, so the agent never loses track of a conversation, and every price comes from code, never from a guess.

  1. Pick the sport, day, time and duration with buttons. Only open slots are shown.
  2. The slot is held for 15 minutes and a UPI payment link arrives as a button.
  3. Once payment is verified, a slot pass arrives: “Show this message at the gate.”
  4. Unpaid holds expire on their own and the payment link is cancelled.
  5. Reminder before the game, café order to the bench, rebook nudge after.
H
Hattrick Turf & CaféBooking assistant · replies instantly
V.

In the wild

10 frames
Built with
  • Node 22
  • TypeScript
  • Hono
  • Supabase Postgres
  • pg-boss
  • WhatsApp Cloud API
  • Razorpay
  • React 19
  • three.js

What happens next is up to you.

Fifteen minutes. We open your website, talk through what we'd change, and you decide. No pitch deck.

Pick a time

All times IST · 15 minutes