Skip to main content

Variable overview

Variables are a powerful feature that allow you to make your platform communications dynamic, personalized, and context-aware

Marie Xhauflair avatar
Written by Marie Xhauflair
Updated over 3 weeks ago

First need help with setting up the automation for the notifications? Then check out this article! ๐Ÿš€

What are variables?

First, let's talk about what variables actually are. Essentially, variables are dynamic placeholders to personalize content. Instead of writing each userโ€™s name, module title, or manager manually, variables pull in this data automatically which saves time and makes communication to users more relevant.

Where can we find variables?

  • Notifications

    • Platform

    • Emails

  • Magic wall

  • Learning content

  • Workflows

For who are variables for?

  • Users

  • Buddies

  • Direct and indirect managers

  • Everyone and anyone, really!


๐Ÿ“š List of available variables

โฐ Note: These variables are related to the conditions (users or activities) that trigger the event.

Example user

Profile of user

Groups of user

๐Ÿ‘ค About the user

Which user is this about?

Variable

Description

Example user

{{event.user.first_name}}

First name

John

{{event.user.last_name}}

Full name

Smith

{{event.user.get_full_name}}

Last name

John Smith

{{event.user.username}}

Username

jsmith

๐Ÿ—“๏ธ About the user contract

What is the contract start/end date of the user?

Variable

Description

Example user

{{event.user.profile.contract_start_date}}

Start date of the user's contract

1 May 2025

{{event.user.profile.contract_end_date}}

End date of the user's contract

N/A

๐Ÿค About the buddy

Who is the buddy of the user?

Variable

Description

Example user

{{event.user.profile.buddy.first_name}}

Buddyโ€™s first name

Jane

{{event.user.profile.buddy.last_name}}

Last name of the buddy

Cook

{{event.user.profile.buddy.get_full_name}}

Full name of the buddy

Jane Cook

โœ๏ธ About the manager

Who is the manager of the user?

Variable

Description

Example user

{{manager.first_name}}

First name of the manager

Lisa

{{manager.last_name}}

Last name of the manager

de Jong

{{manager.get_full_nname}}

Full name of the manager

Lisa de jong

{{manager.username}}

Username of the manager

ldejong

๐Ÿ“ฅ Receiver

Who will receive the notification/email?

Variable

Description

{{receiver.first_name}}

First name of the message recipient

{{receiver.get_full_name}}

Full name of the message recipient

{{receiver.last_name}}

Last name of the message recipient

{{receiver.username}}

Username of the message recipient

๐Ÿ“ค Sender information

Who triggered the notification/email?

Variable

Description

{{sender.first_name}}

First name of the sender (person or system)

{{sender.get_full_name}}

Full name of the sender

{{sender.last_name}}

Last name of the sender

{{sender.username}}

Username of the sender

๐Ÿง  Grading & learning events

What learning module is this about?

Variable

Description

{{event.module.title}}

Title of the learning module

{{event.graded_by.get_full_name}}

Full name of the person who graded the module

{{event.grade_description}}

Descriptive label for the grade (e.g., โ€œExcellentโ€)

{{event.grade_comment}}

Comment or feedback left by the grader

๐Ÿ“… Event

When did the event occur?

Variable

Description

{{event.recorded_at}}

Date and time when the event was logged

๐Ÿ”— Actionable Links

Accessing a link.

Variable

Description

<a href="/#/reporting/user-detail/{{event.user.pk}}/">Click here to grade the activity.</a>

Direct link to the reporting page of the user the message is about


๐Ÿ’ก Good to know!

The way variables behave can differ slightly depending on whether you're working with platform notifications or email notifications. For instance:

  • For platform messages, you could add a greeting and explicit mention of the user involved.

  • For email messages, they automatically include greetings, so you can skip "Hi {{...}}".

Did this answer your question?