How do I embed a small survey into an email?

RCBIZMarketingRCBIZMarketing VirginiaCommunity Member Qubie ✭

How do I embed a small survey into an email?

I am looking to implement something like this in an email:

That would have an outcome like this:

Tagged:

Best Answers

  • Michael_Campbell_RedPepperMichael_Campbell_RedPepper Pleasant Grove, UTQualtrics Partner Sage ✭✭✭
    Accepted Answer

    For sure! That's not too difficult to do. You can set up a survey to be sent out, and then pipe the text into it.

    Let me know if you need more help than that! It can get tricky, but that should get you started :)

  • TomGTomG Raleigh, NCCommunity Member Wizard ✭✭✭✭✭
    Accepted Answer

    I think you may be looking for something like this...

    Qualtrics provides a way to insert the first question of a survey into an email. First create a survey with your question. Then go to distributions/emails/compose email. Click on the Inline Email Question icon to insert your question into the email:

    When the respondent clicks on an answer in the email it will take them to your Qualtrics survey with that answer option selected.

Answers

  • Michael_Campbell_RedPepperMichael_Campbell_RedPepper Pleasant Grove, UTQualtrics Partner Sage ✭✭✭

    (this menu is in the Survey Options)

  • RCBIZMarketingRCBIZMarketing VirginiaCommunity Member Qubie ✭

    Thank you @TomG and @Michael_Campbell_RedPepper for your responses! This was what I was looking for. Just tested it and it worked as anticipated. Do either of you by chance know how to embed Salesforce fields into the email as well? We would like to have the case owner, case number, closed date and case subject included if possible. Also, how do I set the survey to expire after 24 hours? I see a survey expiration date but it appears to be only a date range that you set on the entire survey itself. Is it possible to have it expire if not taken within 24 hours after the email has sent? Thanks!

  • TomGTomG Raleigh, NCCommunity Member Wizard ✭✭✭✭✭

    If I remember correctly, I think you can pipe Contact embedded fields into your email message as ${e://Field/field_name}. It's been a while since I've done anything with SalesForce so I'm not sure if those fields count as Contact embedded fields.

    To expire a survey link in 24 hours, under Compose Message click on Show Advanced Options, then set link expire to 1 day:

  • RCBIZMarketingRCBIZMarketing VirginiaCommunity Member Qubie ✭

    @TomG Awesome! Where are you looking at this from? I don't see those options at the bottom. I get to this message my going to Library->Messages Library and finding my Outbound Message name:

  • TomGTomG Raleigh, NCCommunity Member Wizard ✭✭✭✭✭
    edited March 2018

    You'll see the options if you go to Distributions/Email/Compose Message.

  • RCBIZMarketingRCBIZMarketing VirginiaCommunity Member Qubie ✭

    @TomG I see. Is there any way to have this set up before the email is sent out? As soon as the case is closed and it triggers the auto email with the survey link, that's what I would like to have set at 24 hours. I think the above would result in them getting one auto email with a 60 day range to take it by default, then another one sent manually with the same link set to expire in 24 hours.

  • TomGTomG Raleigh, NCCommunity Member Wizard ✭✭✭✭✭

    @RCBIZMarketing said:
    @TomG I see. Is there any way to have this set up before the email is sent out? As soon as the case is closed and it triggers the auto email with the survey link, that's what I would like to have set at 24 hours. I think the above would result in them getting one auto email with a 60 day range to take it by default, then another one sent manually with the same link set to expire in 24 hours.

    I don't know. It is probably worth asking Qualtrics Support how you can set the link expiration via the trigger.

  • robin234robin234 Lausanne, SwitzerlandCommunity Member Qubie ✭

    Hi, @TomG ,

    I just read through the thread and was wondering whether it is possible to include the first question also in an email trigger, because the option does not show there.

    If I copy the html code from the distribution message (where this option exists, as you point out above), it will include it as a table in the email trigger, but once the email is received through the trigger the hyperlink is not there anymore.


    Any idea how to fix this?

  • TomGTomG Raleigh, NCCommunity Member Wizard ✭✭✭✭✭

    I've never tried it, but I don't know why it wouldn't work. Check your html for errors...perhaps a missing end quote or close tag.

  • robin234robin234 Lausanne, SwitzerlandCommunity Member Qubie ✭

    Hi, I will keep trying. Thanks for your response!

    Although I do not think that it is a copy/paste problem. I think it has more to do that when used in the distribution, I think it is somewhat connected to the survey and uses embedded data (at least I cant find any specifc hyperlinks, the URL it gives is ; ${l://ChoiceLink/QID14/1} ). And maybe in the trigger it cant get to this embedded data. Below you find the code which I copy and paste. Maybe you have an idea why the hyperlink does not work (the table appears well in the triggered email)


    Best

    Robin


    SCREENSHOT 1/3 (Wide Format)

    SCREENSHOT 2/3

    SCREENSHOT 3/3


    CODE (sorry for the bad formatting)

    <table align="center" border="0" cellpadding="0" style="padding:16px; background-color:#F2F4F8; border:1px solid #D9DBDE; border-radius:3px; font-family:arial">

       <tbody>

          <tr>

             <td style="padding-bottom:12px;font-size:15px;">${q://QID14/QuestionText}</td>

          </tr>

          <tr>

             <td>

             <table border="0" cellpadding="0" cellspacing="5" style="text-align:center;" width="100%">

                <tbody>

                   <tr>

                      <td style="background:#007AC0;border-radius:3px;"><a href="${l://ChoiceLink/QID14/1}" style="display:block;font-size:12px;text-decoration:none;color:#ffffff;border:12px solid #007AC0;border-radius:3px;background:#007AC0;">${q://QID14/ChoiceDescription/1}</a></td>

                   </tr>

                   <tr>

                      <td style="background:#007AC0;border-radius:3px;"><a href="${l://ChoiceLink/QID14/2}" style="display:block;font-size:12px;text-decoration:none;color:#ffffff;border:12px solid #007AC0;border-radius:3px;background:#007AC0;">${q://QID14/ChoiceDescription/2}</a></td>

                   </tr>

                </tbody>

             </table>

             </td>

          </tr>

       </tbody>

    </table>


    <p><br />

    &nbsp;</p>

  • robin234robin234 Lausanne, SwitzerlandCommunity Member Qubie ✭

    Hi,

    ok I think I solved it. I just hardcopied the link which is used in the email trigger as an hyperlink to the table. That does the job for me.

    Thanks anyways!

    Robin

Sign In to Comment