Email/SMS Template Variables

ADVANCED TOPIC: If this page is confusing just get in touch and let us know what you're trying to do, we'll be happy to help!

Buzzshot lets you customise the emails and SMS it sends out to your players. You'll find a '{ }' icon in the editor to help you insert common variables into your message templates. Eg.

Alt text

One common Variable is the ability to include your Game Master's name directly within the email your send to your players after their game to perhaps encourage them to leave a more personalised review. This video below explains how you can add the Game Master name as well as provides an introduction to Conditions.

If you are still using our old editor you can use written "template variables" to insert data about the player and the game they played into the emails. Here is a list of some of the written variables you can use:

{{ player.first_name }} The first name entered for the player (eg "Bob")

{{ player.last_name }} The last name entered for the player (eg "Smith")

{{ room.name }} The name of the room played

{{ game.team_name }} The team name the players entered

{{ game.time|timeclock }} The escape time displayed in digital clock form (eg "52:30")

{{ game.time|timewords }} The escape time displayed with numbers and words (eg "52 minutes 30 seconds")

{{ game.score }} The score for the game (if collected, you can enable that in settings)

{{ game.hints }} The number of hints given in the game (if collected, you can enable that in settings)

{{ game.game_master }} The name of the game master who took the game (if collected, ask if you'd like a game master field added)

{{ game.datetime|datetime }} The date and time of the game is set for in the default format (1 Jan 2022 10:10 AM)

{{ game.datetime|datetime:"DATE_FORMAT" }} The date and time of the game is set for in a custom format (see this document for the codes you can use)

{{ organization.name }} The name of your organization {{ organization.url }} The website of your organization

{{reviews_widget}} Insert the currently selected reviews widget (usually the buttons for each TripAdvisor, Google etc but look in "Reviews & Feedback" in the settings for what you have it set to). Note this is often automatically inserted by your email template so you may not need to use this.

You can also used advanced tags to display some content only under certain conditions. For example to display different content if the players win or lose you could write the following:

{% if game.did_win %}
Congratulations on winning our game!
{% else %}
At least you tried!
{% endif %}

If you need any help with any of this, or if you'd like to include some data we don't list here, then please do get in touch!