Log/AI agents/

A QR code on a school door that tells the bot your language

How a door QR code and a tagged WhatsApp message let the school's AI agent answer in the right language and log where the lead came from.

An art school in Barcelona runs about 50 messages a day in four languages: Spanish, Catalan, English and Russian. They go through an AI agent that sits behind every funnel the school has. It reads messages from WhatsApp and Facebook, qualifies who is ready to book, writes the follow-ups, reminds people about classes and reactivates those who have gone quiet. One entry point was still a black box: the QR code on the front door.

The old code went through a link shortener straight to the booking platform. Nobody knew how many people scanned it, which language they spoke, or whether they ever booked. And changing where the code pointed was a paid feature.

What I built

A tiny page between the door and WhatsApp.

  1. The QR code opens a page with four buttons: ES, CA, EN, RU. The page reads the phone’s language and puts that button first, but the person still picks.
  2. Each button opens WhatsApp with a short pre-filled message that ends in a tag, for example (QR puerta ES).
  3. When the message arrives, the agent reads the tag. It records the lead source as “door QR to WhatsApp”, stores the chosen language in a CRM field and answers in that language from the first message.
  4. The dashboard now shows a door funnel split by language: chats that came from the door and the bookings they led to.

The page is a static site on Vercel. No tracking scripts, no forms, nothing to break.

The test

I scanned it from my own phone. The lead appeared in the CRM with the right source, the language field set, and the reply came back in Spanish. Total build time was one evening, including a new branded QR.

Why the person picks the language

The agent could guess the language from the first message. Often it would be right. But people at a door in Barcelona write “hola” whether they speak Spanish, Catalan or Russian at home, and a wrong guess makes the whole conversation feel off. Four buttons cost the visitor one tap and remove the guessing completely. That is the human-first part: the person makes the one decision that matters, the AI does everything after it.

What I would do differently

Put the tag in from day one. Every entry point the school has (website, Instagram, posters, the door) should open the same WhatsApp number with its own tag. Then one dashboard answers the question every owner asks: which of these actually brings students.

All entries · Book a call · Discuss on X