Template: Your session is covered
Sent to the away instructor when a cover is assigned or removed.
session_cover_away_instructor
This message
- Category
- Sessions
- Message type
- Service message
- Variants
- Staff can add variants
- Who receives it
- StaffAbout audiences
instructor
Sends by default
- On
- Text message
- Off
- Push notification
- On
Fields a variant can filter on
Section titled “Fields a variant can filter on”- Recipient role
recipient.role - Date sent
current_date - Category
activity.category - Program
activity.program - Location
activity.location - Sport
activity.sport - Level
activity.level
Smart blocks
Section titled “Smart blocks”- Session details: Shows the activity, date and time of a class session.
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. |
cover_action(type: string)
reason(type: string)
away_instructor(type: member)
An object representing a member/person in Cadence.
| Property | Type | Description |
|---|---|---|
away_instructor.id | integer | Unique ID of the member. Compare it with recipient.id to tell whether the message is about the person receiving it. |
away_instructor.first_name | string | First name of the member. |
away_instructor.last_name | string? | Last name of the member. Only the first name is required. |
away_instructor.display_name | string | Full formatted display name. |
away_instructor.email | string | Primary email address. |
away_instructor.phone | string | Primary phone number. |
covering_instructor(type: member)
An object representing a member/person in Cadence.
| Property | Type | Description |
|---|---|---|
covering_instructor.id | integer | Unique ID of the member. Compare it with recipient.id to tell whether the message is about the person receiving it. |
covering_instructor.first_name | string | First name of the member. |
covering_instructor.last_name | string? | Last name of the member. Only the first name is required. |
covering_instructor.display_name | string | Full formatted display name. |
covering_instructor.email | string | Primary email address. |
covering_instructor.phone | string | Primary phone number. |