Dynamic content in templates
Briskine lets you add dynamic content to templates by using variables, helpers, and partials. Instead of manually typing in details like names or dates, Briskine inserts them automatically, saving time and reducing errors.
Using variables for personalized messages
Variables act as placeholders in templates and are replaced with real-time data when inserted. For example, {{to.first_name}}
automatically adds the recipient's first name in emails or messages. Other available variables include the sender’s name, CC or BCC recipients, email addresses, and email subjects. These variables maintain a personal tone while reducing manual input.
To prevent missing names, the {{or}}
helper sets a fallback value.
Writing Hi {{or to.first_name "there"}}
, ensures the greeting always includes a name or a default word. This will make sure there are no awkward gaps in messages, such as "Hi ," instead of a properly formatted greeting.
See all of the available Briskine variables in the Help Center
Inserting dates and times
The {{moment}}
helper automatically inserts dates and times. It can add the current date, calculate a future or past date, or specify the next occurrence of a particular day. This is useful for setting deadlines, scheduling follow-ups, or creating end dates for offers.
For example, {{moment add="7;days"}}
inserts the date seven days from now, which helps with reminders or meeting confirmations. Meanwhile, {{moment add="1;week" isoWeekday="Monday"}}
retrieves the next Monday's date, making scheduling easier.
By default, dynamic dates follow your device's date format and time zone settings, but you can override them for specific templates if needed. For example, {{moment locale="fr"}}
inserts the current date in French.
Learn more about inserting dates
Formatting and extracting text
Text helpers format text, extract key information, or replace characters. This can guarantee proper capitalization, or pull details like domain names from email addresses.
-
{{capitalizeAll to.name}}
capitalizes first and last names correctly, even if entered in all lowercase. -
{{lookup (text to.email "split" "@") 1}}
extracts the domain from an email address, making it easy to identify a contact’s company or service provider.
Conditional helpers for smarter templates
Conditional helpers adjust content based on available data, time of day, or other factors. They can personalize greetings based on when an email is written or adjust responses depending on whether a recipient's name is available.
The {{or}}
helper can make sure a value is always present, preventing blank spaces or missing details in messages.
For example, combining a conditional if
with the {{compare}}
and {{moment}}
helpers, you can use a different greeting depending on when you're writing the message, with:
Good {{#if (compare ">" (moment format="HH") 17)~}}
evening
{{else if (compare ">" (moment format="HH") 12)}}
afternoon
{{else}}
morning
{{~/if}},
Learn more about conditional helpers
Using partials for reusable content
Partials simplify template management by reusing pre-written content, making updates easier and keeping messages consistent.
Instead of rewriting the same details repeatedly, you can store commonly used text as a separate template and reference it in others. A company address, for example, can be stored separately and inserted with {{> address}}
in multiple templates. Updating the main address template automatically updates all instances where it appears.
Partials are useful for email signatures, phone numbers, disclaimers, or any frequently repeated information. If company contact details change, updating the main template will keep all templates accurate without requiring individual updates.
Learn more about template partials
To quickly add commonly used variables and dynamic elements, press the 💎 Variables button in the Briskine template editor.
Biskine's dynamic content features will ultimately save you time and effort. Whether inserting names, dates, or frequently used text, they help create personalized content with less effort. Templates automatically adapt to the context, so you won't have to make manual adjustments once they're inserted.
For more details and examples of using dynamic content, visit the Briskine Help Center.