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
- Download the Dummy Data for this demo
- Download the PBLT print layout for this demo
- Learn how to Embed the HTML
- Learn how to use AI to make your own
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.
Okay. So, let's imagine you're doing a trading card event or you're producing ID cards for a conference or some kind of internal staff activation. Now, to save time, what you could do is have guests pre-register through a QR code system such as we offer through Breeze Cloud to have them enter their details. But in some circumstances, the organization may already have a list of all the attendees or the staff details which they could export out to a CSV file. So rather than having to have guests re-enter that information, we could simply look it up from an existing CSV file or many other formats, but in this example, we'll keep it simple to a CSV. Now, in addition to just being a convenient way to get data and add it onto an output, it is also a more private and secure way to do it because potentially the client could remain in control of the spreadsheet or the data that they're giving you or it can be kept very much local on the PC that we're working on. So, let's have a look at how this works. So, go ahead and download the demo HTML for this which I made in Claude and I've got the prompt down below to see how I got kickstarted with that. So put that on the desktop. Now, I've got some dummy data which we'll have a look at in just a sec. And we have a PBLT print layout that I've also made that you'll be able to import on the desktop as well. Okay. So, we're going to come into remote pro into advanced settings web panel. Again, make sure it's turned on and we'll go ahead and select our ID card HTML file. And as I do for a lot of these, we'll just have it running off the ready screen, but you can of course run that off whatever you need. Now, in this one, we also need to set a token which is going to be checkin as it's kind of I guess a check-in type system. Now let's have a look at the dummy data. So on the desktop here we have a file and I'm just going to open this with Notepad++. Okay. So it's a simple CSV file and we've got ID, first name, last name, city and department. Of course, this could be anything you want and you would use Claude or ChatGPT to adapt the script depending on what data you've got here. So the key thing is we've got these ID numbers. And we're going to use the ID as the lookup. Now presumably in a real world example that ID might be their phone number or it might be the actual staff ID or some other unique ID that they could use.
Could be the email address. But in this case, I'm just going to use a four-digit ID number between 1,000 and 1,050 for the sake of simplicity. So, we've got the data here, and I've just got it on the desktop. Now, again, you might move all this into your assets folder. All this would also work remotely, so the data could be on a web server somewhere as well. Okay, so we've got that all in place. Let's go ahead and run the booth and see what we've got. All right. So, we've got a pin pad that comes up and we need to enter the staff ID. So, if I put in one that I know is not going to work, like 9999, and hit enter, it's going to say not found. If we clear that and say 1,000 which is going to be the first one. There we go. It's presented with the attendee's details and I can confirm that to run the session and then we can take the photo for the ID card.
So, let's just have a look at that again. We'll say 1045. Joshua Gonzalez. I think it's 1,022. Joshua Green. Now, using AI and this new HTML embed function in Remote Pro just makes doing this so easy, and it's such a better way to do things because we can really easily have user confirmation on the screen by displaying their details to make sure it's correct. So, let's go ahead and now run a session using Joshua Green's details. Okay. All right. So, here's my ID card. So, it's pulled in all these details. Joshua Green, legal department, Philadelphia, ID number 1022.
All right. So, if we come and have a look at the print layout here, you could just go ahead and import the PBLT for this demo. And you can see I've got the tokens checkin full name, checkin department, checkin city, checkin employee ID, and I've also used the uppercase token here to make sure this all outputs in uppercase. So if we just come back to the user guide and we'll just look at this ID card example here, we'll see that we need to just set that ID to checkin in remote pro. And here are all the tokens you can use for this example. Now, all you would need to do with Claude is to take this demo HTML file and throw it into Claude or ChatGPT and say, I've got a new set of data. So, if you're doing a trading card event where you have all the attendees' details in advance, put that into a spreadsheet. So, it might also include the shirt number or the player position or whatever it might be. Throw that into Claude or ChatGPT along with this demo file here, and just tell it to reconfigure it for that data and it will just go ahead and do that and it will spit out all the tokens that you would need. So this would be a fantastic idea for a conference or internal staff events where the data for all these people is already known in advance and the client can get it to you in a spreadsheet and rather than having to have everyone re-enter that information, they could just look it up by their phone number, email address, staff ID or something else along those lines. So, it's another great example of how you can use the new HTML embed feature to do some really cool stuff so quickly and easily as well.
Was this page helpful?
Thanks, that helps us improve the guides.