Skip to content

Template: Message participants

Staff-composed message to activity participants, guardians, or instructors.

activity_staff_message

This message

Category
Staff messages
Message type
Service message
Variants
No variants
Who receives it
Families member, guardian
Staff instructor, staff
About audiences

Sends by default

Chosen by the sender

This message has no fields to filter on.

This message offers no smart blocks.

Subject: Bring a water bottle

From: Acme Gymnastics <hello@acme.example>

<!doctype html><html lang="en-AU" dir="ltr" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><title>Bring a water bottle</title><!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
#outlook a { padding: 0; }
body { margin: 0; padding: 0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
table, td { border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
img { border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; }
p { display: block; margin: 13px 0; }
</style>
<!--[if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
</noscript>
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
<!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet" type="text/css"><style type="text/css">@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);</style><!--<![endif]--><style type="text/css">@media only screen and (min-width:480px) { .mj-column-per-100 { width:100% !important; max-width:100%; } }</style><style media="screen and (min-width:480px)">.moz-text-html .mj-column-per-100 { width:100% !important; max-width:100%; } </style><style type="text/css">@media only screen and (max-width:479px) {
table.mj-full-width-mobile { width: 100% !important; }
td.mj-full-width-mobile { width: auto !important; }
}
</style><style type="text/css">:root { color-scheme: light dark; supported-color-schemes: light dark; }
.t p { margin: 0 0 12px; }
.t p:last-child { margin-bottom: 0; }
.t h1, .t h2, .t h3 { margin: 0 0 12px; line-height: 1.25; }
.t h1 { font-size: 24px; }
.t h2 { font-size: 20px; }
.t h3 { font-size: 18px; }
.t ul, .t ol { margin: 0 0 12px; padding-left: 24px; }
.t blockquote { margin: 0 0 12px; padding-left: 12px; border-left: 4px solid #d4d4d8; }
.t pre { margin: 0 0 12px; padding: 12px; background: #f4f4f5; white-space: pre-wrap; }
.t a { color: #1a73e8; text-decoration: underline; }
.muted a { color: #1a73e8; text-decoration: underline; }
@media (prefers-color-scheme: dark) {
.page { background-color: #0f0f10 !important; }
.card, .card > table, .identification, .identification > table {
background: #1c1c1e !important; background-color: #1c1c1e !important;
}
.t div, .t td, .t th, .t p, .t h1, .t h2, .t h3 { color: #e4e4e7 !important; }
.muted div { color: #b4b4bb !important; }
.t a, .muted a { color: #93c5fd !important; }
.t pre { background: #2a2a2e !important; }
.t blockquote { border-left-color: #3f3f46 !important; }
.t th, .t td { border-bottom-color: #3f3f46 !important; }
.divider p { border-top-color: #3f3f46 !important; }
.callout-info { background-color: #172554 !important; }
.callout-warning { background-color: #422006 !important; }
.logo img { background: #ffffff; padding: 8px; border-radius: 6px; box-sizing: border-box; }
}</style><meta name="color-scheme" content="light dark" /><meta name="supported-color-schemes" content="light dark" /></head><body style="word-spacing:normal;background-color:#f4f4f5;"><div style="display:none;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;">A message from Acme Gymnastics.</div><div aria-label="Bring a water bottle" aria-roledescription="email" class="page" role="article" lang="en-AU" dir="ltr" style="background-color:#f4f4f5;"><!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" role="presentation" bgcolor="#ffffff" align="center" width="600" class="card-outlook" style="width:600px;"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--><div class="card" style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" align="center" style="background:#ffffff;background-color:#ffffff;width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:24px 0 8px;text-align:center;"><!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" role="presentation"><tr><![endif]--><!--[if mso | IE]><td style="vertical-align:top;width:600px;"><![endif]--><div class="mj-outlook-group-fix mj-column-per-100" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="vertical-align:top;"><tbody><tr><td align="center" class="logo" style="font-size:0px;padding:0 25px;word-break:break-word;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;"><tbody><tr><td style="width:140px;"><img alt="Acme Gymnastics" height="auto" src="https://docs.keja.co/images/acme_black.svg" width="140" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" /></td></tr></tbody></table></td></tr></tbody></table></div><!--[if mso | IE]></td><![endif]--><!--[if mso | IE]></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--><!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" role="presentation" bgcolor="#ffffff" align="center" width="600" class="card-outlook" style="width:600px;"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--><div class="card" style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" align="center" style="background:#ffffff;background-color:#ffffff;width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:8px 0 16px;text-align:center;"><!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" role="presentation"><tr><![endif]--><!--[if mso | IE]><td style="vertical-align:top;width:600px;"><![endif]--><div class="mj-outlook-group-fix mj-column-per-100" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="vertical-align:top;"><tbody><tr><td align="left" class="t" style="font-size:0px;padding:10px 25px;word-break:break-word;"><div style="font-family:-apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;font-size:16px;line-height:1.5;text-align:left;color:#18181b;"><p>Hi Alex,</p><p><p>Please bring a water bottle to this week's class.</p></p><p>Acme Gymnastics</p></div></td></tr></tbody></table></div><!--[if mso | IE]></td><![endif]--><!--[if mso | IE]></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--><!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" role="presentation" bgcolor="#ffffff" align="center" width="600" class="card-outlook" style="width:600px;"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--><div class="card" style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" align="center" style="background:#ffffff;background-color:#ffffff;width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:16px 0 0;text-align:center;"><!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" role="presentation"><tr><![endif]--><!--[if mso | IE]><td style="vertical-align:top;width:600px;"><![endif]--><div class="mj-outlook-group-fix mj-column-per-100" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="vertical-align:top;"><tbody><tr><td align="center" class="muted" style="font-size:0px;padding:4px 25px;word-break:break-word;"><div style="font-family:-apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;font-size:14px;line-height:1.5;text-align:center;color:#52525b;"><strong>Questions? Contact Acme Gymnastics</strong><br /><a href="tel:+61412345678">+61412345678</a> &middot; <a href="mailto:hello@acme.example">hello@acme.example</a> &middot; <a href="https://acme.example">https://acme.example</a></div></td></tr></tbody></table></div><!--[if mso | IE]></td><![endif]--><!--[if mso | IE]></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--><!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" role="presentation" bgcolor="#ffffff" align="center" width="600" class="card identification-outlook" style="width:600px;"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--><div class="card identification" style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" align="center" style="background:#ffffff;background-color:#ffffff;width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:0 0;text-align:center;"><!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" role="presentation"><tr><![endif]--><!--[if mso | IE]><td style="vertical-align:top;width:600px;"><![endif]--><div class="mj-outlook-group-fix mj-column-per-100" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="vertical-align:top;"><tbody><tr><td align="center" class="muted" style="font-size:0px;padding:16px 25px 24px;word-break:break-word;"><div style="font-family:-apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;font-size:14px;line-height:1.5;text-align:center;color:#52525b;">Acme Gymnastics | ABN 12 345 678 901<br />hello@acme.example, +61412345678<br />12 Example Street, Perth WA 6000, Australia<br />You're receiving this email because you're a member of Acme Gymnastics.</div></td></tr></tbody></table></div><!--[if mso | IE]></td><![endif]--><!--[if mso | IE]></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--></div></body></html>
<div data-channel="sms">
<p>Please bring a water bottle to this week&#x27;s class.</p>
<p>- Acme Gymnastics</p>
</div>
<div data-channel="push">
<p data-title="true">Bring a water bottle</p>
<p>Please bring a water bottle to this week&#x27;s class.</p>
</div>

These variables are available in the Liquid template context. Access a property with a dot, such as enrolment.activity.name. For a list, [n] is one item, starting at 0, such as socials[n].platform. A question mark after a type, such asstring?, means the value can be empty. For a guided introduction to Liquid in Cadence, see Communication templates.

organisation(type: organisation)

Your organisation: its name, contact details and branding.

PropertyTypeDescription
organisation.namestringName of your organisation.
organisation.logo_urlstring?Web address of your logo.
organisation.accent_colourstring?Your brand colour as a hex code, such as #1a73e8.
organisation.accent_foregroundstring?The text colour (white or near black) that reads best on your accent colour. Empty when no brand colour is set.
organisation.emailstringContact email address.
organisation.phonestring?Contact phone number.
organisation.websitestring?Web address of your website.
organisation.addressaddress?Postal address.
organisation.address.street_addressstringStreet number and name.
organisation.address.citystringSuburb or city.
organisation.address.statestringState or territory.
organisation.address.postcodestringPostcode.
organisation.address.countrystringCountry.
organisation.abnstring?Australian Business Number.
organisation.portal_urlstringThe web address of your customer portal.
organisation.time_zonestringTime zone name, such as Australia/Perth.

socials(type: list[social_profile])

Your organisation's social media profiles. Empty until social profiles are available.

{% for social in socials %}
  {{ social.platform }}
{% endfor %}

In the table, n is that item's position, starting at 0.

PropertyTypeDescription
socials[n].platformstringThe platform, such as instagram or facebook.
socials[n].namestringThe display name of the platform.
socials[n].handlestringThe profile handle.
socials[n].urlstringWeb address of the profile.

recipient(type: recipient)

The person who receives this message.

PropertyTypeDescription
recipient.idintegerUnique ID of the recipient. Compare it with a member's ID to tell whether the message is about the person receiving it.
recipient.first_namestringFirst name of the recipient.
recipient.display_namestringFull formatted display name of the recipient.
recipient.rolestringWhy this person receives the message: guardian, member, instructor or staff.

current_date(type: date)

Today's date in your organisation's time zone.

portal_url(type: string)

The web address of your customer portal.

activity(type: activity)

An object representing a class or program activity.

PropertyTypeDescription
activity.idintegerUnique ID of the activity.
activity.namestringName of the activity.
activity.schedule_summarystringA human-readable summary of the activity schedule.
activity.categorycategoryThe category the activity belongs to.
activity.category.idintegerUnique ID of the category.
activity.category.namestringName of the category.
activity.category.path_idslist[integer]The IDs of this category and every parent category, so filters can match subcategories.
activity.programprogram?The program the activity belongs to, directly or through its level.
activity.program.idintegerUnique ID of the program.
activity.program.namestringName of the program.
activity.locationlocationWhere the activity runs.
activity.location.idintegerUnique ID of the location.
activity.location.namestringName of the location.
activity.sportsport?The sport of the activity.
activity.sport.idintegerUnique ID of the sport.
activity.sport.namestringName of the sport.
activity.levellevel?The level of the activity.
activity.level.idintegerUnique ID of the level.
activity.level.namestringName of the level.

occurrence(type: activity_occurrence)

An object representing a specific class occurrence.

PropertyTypeDescription
occurrence.occurrence_idstringPublic occurrence token (local wall time @ IANA zone).
occurrence.start_datetimedatetimeStart date and time of the occurrence.
occurrence.statusstringconfirmed or cancelled.

message_plain(type: string)

message_html(type: string)

email_subject(type: string)

student(type: member)

An object representing a member/person in Cadence.

PropertyTypeDescription
student.idintegerUnique ID of the member. Compare it with recipient.id to tell whether the message is about the person receiving it.
student.first_namestringFirst name of the member.
student.last_namestring?Last name of the member. Only the first name is required.
student.display_namestringFull formatted display name.
student.emailstringPrimary email address.
student.phonestringPrimary phone number.