Turn Your eLearning Courses into Smart, Automated Communication Systems
Looking to send automated emails with learner data from Articulate Storyline 360?
Articulate Storyline 360 provides a basic email option, but it cannot send user data automatically. You can enable this functionality using JavaScript triggers, an approach commonly used in Storyline 360 development services and custom eLearning development services.
Click Preview to watch the step-by-step process of sending learner data from Storyline 360 via email.
This method is widely adopted by teams building corporate training solutions to send course completion updates, notify managers and improve reporting workflows.
In this blog, you’ll learn how to send user data through email in Storyline 360 using JavaScript, with a clear step-by-step process and ready-to-use code.
What is Articulate Storyline 360?
Articulate Storyline 360 is a powerful eLearning authoring tool used in modern rapid eLearning solutions to create highly interactive courses.
Benefits of Using JavaScript in Storyline 360 to Send User Data
To overcome this limitation, we use JavaScript in Storyline 360 to add advanced features and customization.
- Send course completion emails (useful in employee onboarding training)
- Notify managers or HR teams in compliance training solutions
- Capture learner performance data for learner tracking and analytics
- Enhance reporting beyond standard SCORM reporting limitations
What Do You Need to Send User Data Emails from Storyline 360?
To implement this feature, you need:
- Storyline variables (e.g., UserName, CourseName, ScorePercent)
- A JavaScript trigger
- A mailto link
This approach is commonly used in Storyline 360 development services for quick automation.
How It Works: Sending Email in Storyline 360
The process follows a simple architecture often used in automate eLearning workflows:
Storyline Variables → JavaScript → Mailto Protocol → Email Client
Flow Breakdown:
- Learner completes course
- Storyline stores data in variables
- JavaScript retrieves data
- Mailto link is generated
- Email opens with pre-filled content
This lightweight approach is ideal for quick implementations without needing LMS customization services.
Send Learner Details from Storyline 360 via Email (Step-by-Step Process)
Step 1: Open Your Storyline 360 Project
● Launch your source file in Storyline 360 where you want to implement the email feature.
Step 2: Create Required Variables
You’ll need three variables to store learner and course data:
Variable 1: UserName
● Type: Text
● Purpose: Stores learner’s name
Variable 2: CourseName
● Type: Text
● Purpose: Stores course title
Variable 3: ScorePercent
● Type: Number
● Purpose: Stores learner’s score
Tip: Use the Variables panel, a core concept in Storyline triggers and variables.
Step 3: Add a “Send Email” Button
● Navigate to the Results Slide
● Insert a button labeled:
- SEND E-MAIL
This button will trigger the email action.
Step 4: Add JavaScript Trigger
● Select the button
● Go to Triggers → Add Trigger
● Choose: Execute JavaScript
● Click Edit Script
This interaction is commonly used in advanced eLearning interactivity design.
Step 5: Insert JavaScript Code
Paste the following code into the editor:
var player = GetPlayer();
var userName = player.GetVar(“UserName”);
var courseName = player.GetVar(“CourseName”);
var score = player.GetVar(“ScorePercent”);
var today = new Date();
var day = (“0” + today.getDate()).slice(-2);
var month = (“0” + (today.getMonth() + 1)).slice(-2);
var year = today.getFullYear();
var formattedDate = day + “-” + month + “-” + year;
player.SetVar(“CompletionDate”, formattedDate);
var toEmail = “[email protected]”;
var ccEmail = “[email protected]”;
var subject = “Training Completion – ” + courseName;
var body =
“Hello,\r\n\r\n” +
“I have successfully completed the training course.\r\n\r\n” +
“Details:\r\n” +
“Name: ” + userName + “\r\n” +
“Course: ” + courseName + “\r\n” +
“Score: ” + score + “%\r\n” +
“Completion Date: ” + formattedDate + “\r\n\r\n” +
“Please record my completion.\r\n\r\n” +
“Thank you.”;
var mailto_link = “mailto:” + toEmail +
“?cc=” + encodeURIComponent(ccEmail) +
“&subject=” + encodeURIComponent(subject) +
“&body=” + encodeURIComponent(body);
window.location.href = mailto_link;
Step 6: Publish and Test
● Click Publish
● Open the course
● Enter learner details
● Complete the course
● Click SEND E-MAIL
Result: Your default email client opens with a pre-filled email.
This method works well for lightweight reporting without needing xAPI tracking solutions.
Key Benefits of This Approach
- No external server required
- Easy to implement
- Fully customizable
- Works across most browsers
- Great for quick reporting workflows
Many organizations use this approach before moving to full-scale LMS integration services.
Best Practices for eLearning Developers
- Keep email content concise and clear
- Validate learner inputs before sending
- Use meaningful subject lines
- Test across browsers and devices
- Avoid sensitive data in email body
These practices are essential when building scalable workplace training solutions and leadership development programs.
Summary
Sending learner details through email from Storyline 360 using JavaScript is an easy and powerful way to capture user data and improve communication and reporting.
By combining variables and JavaScript triggers, you can extend functionality beyond standard LMS capabilities something often delivered through custom eLearning development services.
Frequently Asked Questions (FAQs)
Is JavaScript in Storyline 360 beginner-friendly?
While basic implementations are simple, advanced use cases may require coding knowledge. Many developers learn this through Articulate Storyline 360 tutorials and hands-on practice.
Can you send learner details via emails directly from Articulate Storyline 360?
No, Articulate Storyline 360 does not have a built-in feature. However, you can enable email functionality using JavaScript in Storyline 360, which allows you to trigger emails through the mailto protocol.
How does JavaScript help in sending emails from Storyline 360?
JavaScript retrieves Storyline variables such as learner name, course name and score, then uses a mailto link to open the user’s default email client with pre-filled content. This method is widely used in email automation in eLearning.
Can this method replace LMS reporting?
No, this method is a workaround for quick communication and cannot fully replace LMS tracking. It is best used alongside LMS reporting solutions and learner tracking and analytics tools.
Can I customize the email subject and body dynamically?
Yes, you can dynamically populate the email subject and body using Storyline variables. This is a key feature in Storyline 360 customization tips and helps personalize learner communication.

