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.
member(type: member)
An object representing a member/person in Cadence.
Property
Type
Description
member.id
integer
Unique ID of the member. Compare it with recipient.id to tell whether the message is about the person receiving it.
member.first_name
string
First name of the member.
member.last_name
string?
Last name of the member. Only the first name is required.
member.display_name
string
Full formatted display name.
member.email
string
Primary email address.
member.phone
string
Primary phone number.
family(type: family)
An object representing a household / family group.