This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Setting up an email alert using response data

You can insert survey fields in your alert. The steps below describe how to set up a conditional email sent to an address the respondent has provided.

Further details are available in the worksheet: Sending email alerts if participants select an answer

This step describes how to set up two email alerts, one for people under 18 and one for people over 18, and send them to respondents who have requested a special offer and entered an email address.

  1. Look up the variable details for the age of the respondent.

    VD: Variable details showing age with groups highlighted

  2. In this case we wish to send one email if they are over 18, and a different email if they are under 18, or have not answered the Age question.
  3. Look up the variable details for the email address. This has been added to the survey as question 12.

    Variable details showing responses for email address

  4. Because it is an open question, there is not a list of codes. Instead, there is just the option of OK. This means that a valid response has been entered.
  5. Click Questionnaire window: design mode to change to the Questionnaire window and click Questionnaire properties button to open the Questionnaire Properties dialog.
  6. Select Alerts in the left hand panel to display the Alerts section.

    Alerts properties: email message with new alert tab highlighted

  7. The most recently created message will be displayed. Click the New Alert tab to create a new alert.
  8. Enter a subject.
  9. Set the condition. This is the email for people over 18, so the email needs to be sent if they have entered an email address (Q12 OK) and have responded with one of codes 2 to 6 to the age question. This can be expressed as (Q12 OK) and (Q9>1).
  10. Put your cursor in the Address field and click [Insert]. Select the email address variable.

    Alerts properties: email message with voucher conditions

  11. Enter a message. If you wish to add a unique voucher code, you can store it in a survey variable and then insert it.
  12. Click the right hand arrow to move through the alerts and show the New Alert tab

    Alerts properties: move arrow highlighted

  13. Create an email alert to send a voucher to people who are under 18. In this case, you need to send it if they have requested an email (shown by providing an email address) and either did not reply to the age question or selected under 18. The condition for this would be
    (Q12 OK) and (Q9 NR or (Q9 =1)).
    The brackets show that there must be a valid answer to Q12 and the answer to Q9 is either a no reply or under 18.
  14. Click [OK] to save your alerts.

You can now publish your survey and upload it to Snap WebHost. When you have uploaded your survey, you can test the alerts by completing test surveys. This allows you to check that the right emails are (or are not) sent for the different possible responses.

The condition is not checked in the Alerts properties. If you wish to check whether you have created a working condition, create a derived variable using the conditions you wish to test. Invalid conditions cannot be saved when creating a variable. You can then enter test cases to check what happens.

See Also

Description of what appears when you use a survey field in text