Hi!
I need to send an email that is not linked to a survey but an embedded data (it is a date field) of the participant. Is there any workaround i can do for this?
Thank you in advance!
Hi!
I need to send an email that is not linked to a survey but an embedded data (it is a date field) of the participant. Is there any workaround i can do for this?
Thank you in advance!
You can perhaps schedule it as a Thank You email if it’s part of a distribution you can easily select in a survey.
Hi
So for example I am bringing contacts by an integration and there is a field there of last date that is configured as MM/DD/YYYY, we need to send to the people that last date was 4 days before an email, but this email would not be linked to any survey. It is just a we miss you type of email.
You can use this event in workflow (Experience ID Change Event (qualtrics.com)). Based on contacts added.
Once you have the date field you need to compare it with current date you can use code task post which you can use email task conditional basis.
Hi
This is a great approach!
Would you help me to understand a little bit more the code task as a conditional for the email. I got a little bit lost there.
Something like this
function codeTask() {
var lastDate = "~{qde://supplemental.embeddedData.LastDate}";
var currentDate = new Date();
currentDate.setDate(currentDate.getDate() - 4);
var lastDateParts = lastDate.split("/");
var lastDateObj = new Date(lastDatePartst2], lastDatePartst0] - 1, lastDatePartst1]);
if (lastDateObj <= currentDate){
return {
result: "true"
}
}else return {
result: "false"
}
}
You can then use the result value of true as condition before email task, also update last date embedded data from piped text as required. It would look like below:
Hope it helps!
Thank you so much
I will try this way.
Hi
The trigger should be experience ID change and not at a specific time, I am guessing that’s the error.
Hi
In case you have the option of running Contact import automation via SFTP, I can suggest a simple option here.
Not sure if this would completely solve the requirement, but could be a workaround.
This is how it ended up looking.
Thank you for the help guys!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.