Can I send email conditionally, based on a question response?

More
5 years 6 months ago - 5 years 6 months ago #77265 by Ben_V
Ben_V replied the topic: Can I send email conditionally, based on a question response?

By the student selecting the school they attend, the detailed notification email will be sent to that principal's email


Maybe you can do something like this:

1) Create an email account dedicated to this survey for e.g using Gmail (This email address is being protected from spambots. You need JavaScript enabled to view it.), because Gmail offers efficient features regarding filters & messages transfer. This account will collect all responses for further dispatching.

2) Set your survey to send email detailed notification (with full responses) to This email address is being protected from spambots. You need JavaScript enabled to view it..

3) In the parameters of This email address is being protected from spambots. You need JavaScript enabled to view it. account set filters for redirecting all incoming emails automatically to differents email addresses depending on keywords included in the message body(=answers):
- If "Lucky Town" in the body" transfer to 'This email address is being protected from spambots. You need JavaScript enabled to view it.
- If "Down Town" in the body" transfer to 'This email address is being protected from spambots. You need JavaScript enabled to view it.
- etc.

Ben

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last Edit: 5 years 6 months ago by Ben_V.

Please Log in to join the conversation.

More
1 month 2 weeks ago #158258 by dotxm
dotxm replied the topic: Can I send email conditionally, based on a question response?
I created a new topic for the answer, in here.

This is the solution I found:

The need
Send a detailed message to the survey admin, if a specific question gets a specific answer

The solution
Instead of an email address, put a condition like so:
{if(QUESTIONCODE.code=="ANSWERCODE","EMAIL","")}

The text you need to change is in orange.

Example implementation (tested on 2.67.3):
{if(RequestsContact.code=="Y","someone@somewhere.com","")}

The option is under:
'Survey properties > General settings & texts > Notification & data management > Send detailed admin notification email to:'


All the best,
Dotan

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now