Replace Strings for Intelligent Agents
Replace strings are specially formatted codes that can be entered into automated emails; they replace the need to enter information that might change from student-to-student. For example, to send a personalized message to each student in a class of 60, use the replace string {InitiatingUserFirstName}, and the names of the students will be filled in automatically.
See the table below for all of the replace string options and the text they generate. In the course, select What replace strings can I use in the subject and message under the email subject text box to see a list of replace string options.
Replace String
Generated Text
{InitiatingUser}
The user who performs the action that meets the criteria (for use in the "To" field).
{OrgName}
The name of the organization
{OrgUnitCode}
The code for the course (i.e – QNS01_LCD_101_1_12345)
{OrgUnitName}
The name of the course
{OrgUnitId}
The id for the org unit
{InitiatingUserFirstName}
The first name of the initiating user
{InitiatingUserLastName}
The last name of the initiating user
{InitiatingUserUserName}
The username of the initiating user
{InitiatingUserOrgDefinedId}
The ID number of the initiating user
{LoginPath}
The address of the login path for the site
{LastCourseAccessDate}
The date the initiating user last accessed the course
{LastLoginDate}
The date the initiating user last logged in
Here is a sample email using replace strings:
Dear {InitiatingUserFirstName}, You did not logged into the {OrgUnitName} course site in the last week. Please remember that regular participation in course activities is essential for success in this course!
Please log in to the course site as soon as possible.
See you in class,
Grand Admiral Thrawn
In the example above, the name of each student and the course title will automatically appear when the email is sent. The bold text in the example below indicates what was added based on the replace string in the above example:
Dear Jabba,
You did not logged into the Imperial Flight Simulation course site in the last week. Please remember that regular participation in course activities is essential for success in this course!
Please log into the course site as soon as possible.
See you in class,
Grand Admiral Thrawn