Skip to main content

Helpful Tips

This page provides practical tips for making your templates more flexible and reusable across multiple sites.


Using Site-Specific Variables for Emails

You can create custom site variables to allow a single template to work across multiple sites. This is particularly useful for sending emails to site-specific addresses without hardcoding them.

Step 1: Create a Site Variable

  1. Go to the Sites page in the platform.
  2. Add a new variable, for example:
Variable NameValue
site_emailwatersidehotel.com

You can create a different value for each site:

Sitesite_email
Waterside Hotelwatersidehotel.com
Carlton Hotelcarltonhotel.com

Step 2: Use the Variable in Your Template

When defining recipients in your template emails, use the variable:

reception@£{site_email} manager@£{site_email}

When the handover is generated, this will automatically resolve to the correct email for each site:

Waterside Hotel: reception@watersidehotel.com

manager@watersidehotel.com

Carlton Hotel: reception@carltonhotel.com

manager@carltonhotel.com


Benefits

  • Reusable templates: One template can be used for multiple sites.
  • Less maintenance: No need to update emails if the site changes.
  • Consistency: Ensures correct email addresses are always used.

Pro Tips

  • Keep variable names clear and descriptive.
  • Test your template with multiple sites to ensure the variables resolve correctly.
  • Combine site variables with other built-in or custom variables to create fully dynamic templates.

Using site-specific variables like site_email makes your templates smarter and ensures that communication always goes to the right place.