Tokens

Tokens are placeholders for text that is generated at runtime.

They can be used to insert values such as the current date and time, unique IDs, random numbers, survey responses, user details, event information and more.

Tokens can be used in many settings that support text, including:

  • Print captions
  • Print layouts
  • Filenames and folders
  • Email and SMS messages
  • URLs
  • QR codes
  • Background and overlay suffixes
  • HTML Actions
  • AI FX workflows

 

Modifier tokens can also be used to extract, compare, format or modify text, making it possible to create more dynamic behaviour.

 

 

Where Tokens Can Be Used

Tokens can be used anywhere Breeze Booth allows dynamic text.

Common examples include:

  • Adding a guest name to a print caption
  • Creating unique filenames
  • Creating dated folder structures
  • Personalising emails and SMS messages
  • Passing data into URLs
  • Selecting backgrounds or overlays
  • Passing survey data into AI FX prompts
  • Triggering conditional logic using modifier tokens

 

Example: using a token in a print caption

A caption could include the guest’s name using a survey token:

Name: {survey1_text_name}

 

Example: using a token in an email or SMS message

Email or SMS text could include a survey response:

Hi {survey1_text_name}, here are your photos from the wedding.

 

Example: using tokens for suffixes

Tokens can also be used to define background or overlay suffixes for prints, burst GIFs and videos.

This allows different artwork to be selected dynamically based on session data, QR data, survey responses or other values.

 

Tokens for Accessing Survey Data

Surveys are displayed at the start of the session and are used to capture information from users.

There are three survey input types:

  • Text inputs
  • Check boxes
  • Radio buttons

The values entered in these inputs can be accessed using tokens.

 

Survey token format

Survey tokens use the following format:

{<keyboard>*<input_type>*<id>}

 

  • Part
  • Description
Example
<keyboard> The name of the survey keyboard. survey1 for the first survey keyboard, survey2 for the second survey keyboard.
<input_type> The input type. text for text input, chkbox for check box, radio for radio button.
<id> The ID identifying the input. name, promo, mood.

 

Survey token examples

  • Token
  • Description
{survey1_text_name} Returns the value entered in the text input with ID name in the survey1 keyboard.
{survey1_chkbox_promo} Returns 1 if the check box with ID promo is checked in the survey1 keyboard, otherwise returns 0.
{survey1_radio_mood} Returns the ID of the radio button selected in the radio button group mood in the survey1 keyboard.

 

Text fields

To use data from a text input field, use the following token format:

{surveyN_text_ID}

 

 

  • Example
  • Description
{survey1_text_FirstName} Returns the value from a FirstName text input field on the first survey screen.
{survey2_text_email} Returns the value from an email text input field on the second survey screen.

 

Radio button fields

To use data from a radio button field, use the following token format:

{surveyN_radio_ID}

 

 

  • Example
  • Description
{survey1_radio_team} Returns the selected value from a Team radio button field on the first survey screen.
{survey2_radio_color} Returns the selected value from a Color radio button field on the second survey screen.

 

Checkbox fields

To use data from a checkbox field, use the following token format:

{surveyN_chkbox_ID}

 

 

  • Example
  • Description
{survey1_chkbox_OptIn} Returns the value from an OptIn checkbox field on the first survey screen.
{survey2_chkbox_Marketing} Returns the value from a Marketing checkbox field on the second survey screen.

 

Breeze Hub Tokens

These tokens are used when Breeze Booth is connected to Breeze Hub.

  • Token
  • Description
Example
{computerName} The name of the PC running Breeze Hub. DESKTOP-61QGHDE
{path} The filename of the file being downloaded from the iPad. This token can only be used when specifying the download folder. 2023-04-11 103532_1.jpg

 

General Tokens

General tokens provide access to common runtime values such as unique IDs, filenames, user details, event information, QR data and device information.

 

Unique ID and random values

  • Token
  • Description
Example
{uid} Unique ID in the form ABCDE123. The ID is guaranteed not to repeat within 776 days. Two photo booths running at exactly the same time have a 1 in 216,000,000 chance of generating the same ID. APZRT965
{random,n,m} Returns a random number in the range n to m. A new random number is generated each time the ready screen is displayed. {random,1,10} returns a random number between 1 and 10.

 

Device tokens

  • Token
  • Description
Example
{iPadId} Vendor ID of this iPad. This is the same as the ID displayed in the settings screen.
{iPadName} Name of this iPad as defined in iPad Settings > General > About. Demo's iPad

 

User tokens

  • Token
  • Description
{user_name} Name of the user when logged in, otherwise empty.
{user_id} User ID when logged in, otherwise empty.
{user_email} User’s email address when logged in, otherwise empty.

 

File and folder tokens

  • Token
  • Description
{photoboothDir} Path of the current photo booth images folder.
{photoboothSubDir} Name of the current photo booth images folder.
{photoboothParentDir} Name of the parent folder of the current photo booth images folder.
{filename} Filename of the saved print layout in photo booth mode. Only available for captions used in photo booth prints and in message text.
{filenameNoExt} Same as {filename} but returns the filename without a file extension.

 

Ready screen token

  • Token
  • Description
Example
{readyScreenString} Returns the ready screen string, which can be set using touchscreen actions and used to select which ready screen is displayed. It can also be used to select backgrounds and overlays when using built-in AI background removal. rdy1

 

Event tokens

  • Token
  • Description
{eventTitle} Event title. See Creating Events.
{eventDescription} Event description. See Creating Events.
{eventId} ID identifying the event. This is the MD5 hash of the event title and event description and is stored in the summary XML file saved after each session.
{eventName} Event name, defined locally or supplied by Breeze Hub.
{eventString1} to {eventString5} Event strings 1 through 5, defined locally or supplied by Breeze Hub.

 

Event Kite tokens

  • Token
  • Description
Example
{eventKiteGalleryId} ID identifying a gallery when using Event Kite for online galleries and microsites.
{eventKiteSessionId} A unique ID when using Event Kite in the form ABC123DEF. This is updated at the start of each photo booth shooting sequence and can be used in captions, QR codes and the filename prefix. ABC123DEF

 

Print and prize tokens

  • Token
  • Description
Example
{printCounter} Print counter supplied by Breeze Hub.
{printQuotaUsed} Returns 1 if {printCounter} reaches 0, otherwise returns 1.
{prize} Value of the prize won in Prize Mode. freehat

 

Sync, QR and Bluetooth tokens

  • Token
  • Description
{syncCode} The text entered in the sync keyboard displayed before updating an event.
{qr1}, {qr2}, {qr3} … {qr10} The values of strings scanned from a QR code.
{bt1}, {bt2}, {bt3} … {bt10} The values of strings received from a Bluetooth device.

 

Email, SMS and timed session tokens

  • Token
  • Description
Example
{to} The to email address when sending an email, or the phone number when sending a text. This token can only be used in the message text.
{startTime} Photo booth start time when using timed sessions. 19:00
{endTime} Photo booth end time when using timed sessions. 22:30
{timeToStart} Time until photo booth starts when using timed sessions. 2:35:12

Feedback

Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
Contact Us

Post Comment