Send survey link

Oct 17, 2022

Hi All, I have a test that is given at the end of a classroom course, and I would like to trigger sending an email, inviting the attendee to take a survey of the course. I was thinking to trigger this on the "exit course" button. I can't seem to find a way to do it. Could anyone help me...? Thanks

5 Replies
William Ryan

I found a stale link to a related question, that almost gets me there: Send Email Trigger Question - Building Better Courses Discussions - E-Learning Heroes (articulate.com)

In a nutshell, add a trigger that executes a javascript, sample code:

var subject="Enter your subject text here";
var body="Enter body text here";
window.location.href = "mailto:user@example.com?
subject"+subject+"&body="+body;

I'm curious if a variable created by a requirement that the user enter their email address prior to coming to the slide, could solve the problem.

The solution to my problem would then be to have two sequential triggers - the first to run the javascript, the second to send the email. A third trigger will be to close the course after those two are done.  

David Schwartz

Hi William,

If you are launching from an LMS, I'd think the LMS would be the best bet for triggering an email. As that other discussion notes, the method of having Javascript create an email message could be fraught, unless you are certain that the learner has a valid email account and they are logged in on a machine where they use their email.

Have you considered just having them click a link to launch the survey immediately after having completed the test?

William Ryan

Hi David, thanks for your response.

I thought about using the LMS to trigger an announcement or message to trigger the survey, but it's not really doable (no inbuilt functionality). The trigger would be either when the classroom course offering is closed (which is done in the LMS), or when the student completes the classroom course test (which is done online, in Storyline). Prerequisites for attending the classroom course is a laptop, and having done all of the course prerequisites in the LMS, so there is no question that the student will have a computer with a working email client.

Having the survey done immediately after the test is, of course, a possibility. However, the reality is that the test is the last thing that is done before everyone packs up their belongings to go back home. Most people are more interested in getting out of the room than anything else, let alone a survey... It would also be good to give them a rest so they can reflect a little on the experience of the week-long course, before asking for their feedback. At least that's my opinion...

David Schwartz

I understand, and agree, end of the day is probably not the best time to ask for people to respond thoughtfully to the survey.

As you noted above, you could definitely ask for their email addresses at the top of the test, and store that in a variable so that the email could be generated for their client without further input. Depending on the LMS, and if you are confident about the data it contains, you might be able to get the email address fed from the LMS, so the user does not have to input it manually.