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,guardianStaffAbout audiencesinstructor,staff
Sends by default
Chosen by the sender
Fields a variant can filter on
Section titled “Fields a variant can filter on”This message has no fields to filter on.
Smart blocks
Section titled “Smart blocks”This message offers no smart blocks.
Default Templates
Section titled “Default Templates”Template Variables
Section titled “Template Variables”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.
| Property | Type | Description |
|---|---|---|
organisation.name | string | Name of your organisation. |
organisation.logo_url | string? | Web address of your logo. |
organisation.accent_colour | string? | Your brand colour as a hex code, such as #1a73e8. |
organisation.accent_foreground | string? | The text colour (white or near black) that reads best on your accent colour. Empty when no brand colour is set. |
organisation.email | string | Contact email address. |
organisation.phone | string? | Contact phone number. |
organisation.website | string? | Web address of your website. |
organisation.address | address? | Postal address. |
organisation.address.street_address | string | Street number and name. |
organisation.address.city | string | Suburb or city. |
organisation.address.state | string | State or territory. |
organisation.address.postcode | string | Postcode. |
organisation.address.country | string | Country. |
organisation.abn | string? | Australian Business Number. |
organisation.portal_url | string | The web address of your customer portal. |
organisation.time_zone | string | Time 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.
| Property | Type | Description |
|---|---|---|
socials[n].platform | string | The platform, such as instagram or facebook. |
socials[n].name | string | The display name of the platform. |
socials[n].handle | string | The profile handle. |
socials[n].url | string | Web address of the profile. |
recipient(type: recipient)
The person who receives this message.
| Property | Type | Description |
|---|---|---|
recipient.id | integer | Unique ID of the recipient. Compare it with a member's ID to tell whether the message is about the person receiving it. |
recipient.first_name | string | First name of the recipient. |
recipient.display_name | string | Full formatted display name of the recipient. |
recipient.role | string | Why 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.
| Property | Type | Description |
|---|---|---|
activity.id | integer | Unique ID of the activity. |
activity.name | string | Name of the activity. |
activity.schedule_summary | string | A human-readable summary of the activity schedule. |
activity.category | category | The category the activity belongs to. |
activity.category.id | integer | Unique ID of the category. |
activity.category.name | string | Name of the category. |
activity.category.path_ids | list[integer] | The IDs of this category and every parent category, so filters can match subcategories. |
activity.program | program? | The program the activity belongs to, directly or through its level. |
activity.program.id | integer | Unique ID of the program. |
activity.program.name | string | Name of the program. |
activity.location | location | Where the activity runs. |
activity.location.id | integer | Unique ID of the location. |
activity.location.name | string | Name of the location. |
activity.sport | sport? | The sport of the activity. |
activity.sport.id | integer | Unique ID of the sport. |
activity.sport.name | string | Name of the sport. |
activity.level | level? | The level of the activity. |
activity.level.id | integer | Unique ID of the level. |
activity.level.name | string | Name of the level. |
occurrence(type: activity_occurrence)
An object representing a specific class occurrence.
| Property | Type | Description |
|---|---|---|
occurrence.occurrence_id | string | Public occurrence token (local wall time @ IANA zone). |
occurrence.start_datetime | datetime | Start date and time of the occurrence. |
occurrence.status | string | confirmed 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.
| Property | Type | Description |
|---|---|---|
student.id | integer | Unique ID of the member. Compare it with recipient.id to tell whether the message is about the person receiving it. |
student.first_name | string | First name of the member. |
student.last_name | string? | Last name of the member. Only the first name is required. |
student.display_name | string | Full formatted display name. |
student.email | string | Primary email address. |
student.phone | string | Primary phone number. |