Submit a ticket My Tickets
Login  Sign up
Open navigation

How to Add and Edit Links/Variables in your School Emails

With LearnWorlds, you can send automated email notifications to your users when certain key events occur, such as Registration or Enrollment.

To tailor the notifications sent to your users, you can enrich the text with our editor or AI assistant or even translate the content. Navigate to Communication  School emails and choose the preferred notification template for customization options.

In this article, we will guide you through the process of adding, editing, and removing links and variables utilized for automatically populating specific data. Additionally, you will find a comprehensive list of available variables, along with pre-made links for users to easily share courses on Facebook or Twitter

Add Links

If you wish to add links to redirect a user to a specific page, you can follow these steps:

1. Highlight the text in the email body, and click on Insert Link at the top of the notification.

2. Insert your link, and choose to open in a new tab or select the link to be No follow. Nofollow links have a tag called rel="nofollow" in their HTML code. This tag tells search engines to ignore the link. Since nofollow links don't pass PageRank, they probably don't affect search engine rankings.

If you wish to remove links that you have inserted, click the text containing the link and click on Unlink.

Add Variables

Variables are a special type of text in the form of {{text}} that are replaced by the actual information. For example, the {{school_name}} variable will show the name of your school, and the {{name}} variable will show the name of the user who will receive the email notification.

- A different list of available variables is offered for use on the left side of each email notification.

- Custom sign-up fields are available as variables in the variables dropdown menu in your school emails. 

- Variables are dynamic links, so users can see more personalized content relevant to them when they click on them. For this reason, it's important not to insert URL links on top of written variables, as this will result in an error.

You can insert a variable in the main body of each email notification by selecting a variable from the dropdown menu or you can insert it as a URL on a text since variables are a shorter form of links.

If you want to translate or change the text of an existing link, you will need to know the exact link or variable that is “hidden” underneath to be able to re-insert it after the alterations. 

Right-click on the text link and click on Inspect, or check this article for more information.

In the new area that appears, you will be able to see the exact variable that is “hidden” underneath, for example, in our case, the “Start now your own learning adventure” is connected with the {{homepage}} variable, so the users who click this link will be redirected to your Landing/Home Page.

Once you make all the changes you wish in the text, you can mark the text where you would like to insert the variable. 

List of Available Variables

Below you can check the total available variables which you can use on their corresponding email template and a short description (you can only use the recommended variables that are suggested in each email template):


  • {{school_name}} e.g. You have a new message at Your School LearnWorlds
  • {{name}} e.g. Dear Hayley
  • {{from}} e.g. You have a message from David 
  • {{message}} e.g. You won the badge: Newbie 
  • {{mail_signature}} Your email signature is the following one: Email signature
  • {{address}} Your address can be edited in your School Info here: How to edit my School info
  • {{logo}} Your logo can be found here Logo Page
  • {{product_title}}  e.g. Dear David, are you ready for Course Sales Bootcamp: How to Sell Online Courses in 5 Days?
  • {{course_title}}
  • {{bundle_title}}
  • {{subscription_title}}
  • {{course_link}} e.g. Start now Click here to start.
  • {{colearners}} e.g. You are not on your own; another 25 learners are already active in this course
  • {{sca_authentication_link}} You can check more information here Strong Customer Authentication (SCA)
  • {{password_link}} Note: This should only be used on the "When a learner is imported by admin" email template.
  • {{link}} Note: This variable has different actions when used on the available templates.
  • {{homepage}} e.g. Please click here to sign in
  • {{inbox}} e.g. Click here to view the message and go to your inbox!
  • {{trial_end_date}} e.g. I would just like to remind you that your trial will end on May 16 2020 17:58:11(Australia/Sydney)
  • {{payment_plan_status}} e.g. You have successfully paid the installment 7/20 for the course...
  • {{account_link}} e.g. Please make sure that you have the correct billing details on your account page.
  • {{currency}} e.g., Unfortunately, your most recent invoice payment for $100.00 was declined.
  • {{amount}} e.g., Unfortunately, your most recent invoice payment for $100.00 was declined. Note: The currency and amount variables should be inserted together.
  • {{affiliate_dashboard_link}} e.g. Visit your Affiliate Dashboard to get your affiliate link and start promoting courses!
  • {{affiliate_code}} e.g. Start your sales by using the following code: lKbPhx. Note: the affiliate code is auto-generated by the affiliate's unique dashboard
  • {{affiliate_rate}} e.g. The percentage rate of your affiliate commissions is 10%. Note: It is important to add the percent sign % after the variable.
  • {{affiliate_amount}} e.g. Your school owner has processed a payout of €100
  • {{affiliate_payment_method}} e.g. Your school owner has processed a payout of €100 at PayPal payment method.
  • {{affiliate_payouts_link}} You can check the payments in your affiliate dashboard here:
  • The {{mobile_link}} in registration emails leads to the mobile app to create a password. In the password reset notification, this will lead to a browser page to set up the password. 

Variables that display information and do not generate a link to be clicked upon, for example, {{school_name}}, should not be added as URL links, as this will result in an error. Such variables should be added in a written form (text) only.

Allow Users to Share your Courses on Facebook or Twitter

For Facebook and Twitter, you can use the following in their paid/free course notification emails (or any other notification emails):




These will create shareable links that, when clicked, open the share/tweet dialogue directly, along with the links. You can do the same on the rest of the emails by replacing our variables with other variables or links.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.