How to set reminder email in specific date/time | XM Community
Skip to main content

Hello,

 

I need to build an event registration/scheduling survye similar to Calendly.

My question is how to include the following trigger feature: : users can receive a reminder email 3 hours before the slot they signed up for is up.

I’ve heard that this trigger can be based on the date and time stored in “embedded data”, but I have no idea how to achieve it.  Please help to guide some tips and details what I should do. 

Thank you very much!!

 

Best,

You have to use qualtrics distribution apis oe calculate reminder time

var selectedDate = "${e://Field/SelectedDate}";
var selectedTime = "${e://Field/SelectedTime}";
var eventDateTime = new Date(selectedDate + ' ' + selectedTime);
eventDateTime.setHours(eventDateTime.getHours() - 3);

var reminderDateTime = eventDateTime.toISOString();  // Save this in Embedded Data
Qualtrics.SurveyEngine.setEmbeddedData('ReminderDateTime', reminderDateTime);
 


Leave a Reply