Black Friday: DSLR Remote Pro $299, Breeze Booth $399 a year, 20% off more

See the deals
Breeze Help Center
Video tutorial 6:13

CSV Data Lookup Example

On this page

This example allows you to look up an an employee ID number from a CSV spreadsheet, and then use those details to generate an ID card.

Download the Demo HTML and set the Token ID to: checkin



Tokens#

In this example, you can use the following tokens on your print layouts, file suffixes, emails etc

{checkin_employeeId} — the ID typed on the keypad, e.g. 1000
{checkin_firstName} — employee's first name from data.csv, e.g. Kenneth
{checkin_lastName} — employee's last name from data.csv, e.g. Davis
{checkin_fullName} — first + last name combined, e.g. Kenneth Davis
{checkin_city} — employee's city from data.csv, e.g. New York
{checkin_department} — employee's department from data.csv, e.g. Finance
{checkin_found} — always 1, confirms a valid match was made and confirmed


The Prompt#

I need a touch keypad to unlock a photo booth ID card screen using an employee ID. Read the employee list from a data.csv file sitting next to the HTML (see attached sample for the columns) — first name, last name, city, department. Enter a 4-digit ID on the keypad; if it matches, show the employee's name and ask "Would you like to make your ID card?" with Yes/No. No returns to the keypad for the next person.
On Yes, write the employee's details back to the booth (see attached instruction sheet for how that works), then show a big "Let's Start" button that starts the photo booth, with a small Cancel link to back out.
Style it to match the booth's look — fully transparent background so the booth screen shows through behind the panel, dark glass tiles, rounded, touch-friendly, large tap targets, amber accent on the main buttons.
Needs to run fully offline with no external dependencies apart from reading the local data.csv. If that file can't be read, fall back to a baked-in copy of the sample data so it never breaks mid-event.
Test it actually works before giving it to me — right ID unlocks and shows the correct name, wrong ID gets rejected with an error, and confirm the details get handed off correctly on Yes.