- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Automated email response upon certain conditions
- triftan
- Topic Author
- Offline
- New Member
Less
More
9 years 2 months ago - 9 years 2 months ago #115894
by triftan
Automated email response upon certain conditions was created by triftan
Hi there,
I am designing a career personality survey, and the first part is the assessment which I have created over here, recruuit.com/quest2/limesurvey/index.php/survey/index that shows the results.
The 2nd part I want to do is to ask some personal questions like the salary range and years of experience, and determine automated responses based on the salary input: salary (month) <2000, 2000 - 5000, 5000 - 10000, 10000 - 25000, >25000
If salary is 5000 - 10000, 10000 - 25000, >25000, AUTOMATED E-MAIL RESPONSE WITH PROPOSAL FOR CAREER COACHING OFFER.
I am designing a career personality survey, and the first part is the assessment which I have created over here, recruuit.com/quest2/limesurvey/index.php/survey/index that shows the results.
The 2nd part I want to do is to ask some personal questions like the salary range and years of experience, and determine automated responses based on the salary input: salary (month) <2000, 2000 - 5000, 5000 - 10000, 10000 - 25000, >25000
If salary is 5000 - 10000, 10000 - 25000, >25000, AUTOMATED E-MAIL RESPONSE WITH PROPOSAL FOR CAREER COACHING OFFER.
Last edit: 9 years 2 months ago by triftan.
The topic has been locked.
- triftan
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
9 years 2 months ago #115895
by triftan
Replied by triftan on topic Automated email response upon certain conditions
Here's the correct one.
recruuit.com/quest2/limesurvey/index.php...35/newtest/Y/lang/en
The topic has been locked.
- fransmarcelissen
- Offline
- Premium Member
Less
More
- Posts: 118
- Thank you received: 49
9 years 2 months ago #115897
by fransmarcelissen
Replied by fransmarcelissen on topic Automated email response upon certain conditions
If this is not simple within limesurvey(what I expect) you can call an external program to do exactly what you want. The external program can be called with the end url, with url parameters containing the data (if the data are short). The program can be written in php, R, perl or whatever program you want and is trivially simple.
Succes!
Frans
Succes!
Frans
The topic has been locked.
- stefanverweij
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 5
9 years 2 months ago - 9 years 2 months ago #115899
by stefanverweij
Replied by stefanverweij on topic Automated email response upon certain conditions
You could add a hidden equation to the survey, where you would add the e-mail address from the token if the salary is in the range that you want to send e-mails to, and blank if they do not qualify. Add the {questioncode} in the 'send basic notification mails to' field in the survey settings and set 'send confirmation e-mails' in the survey options-tokens tab to 'No'. Finally use the expression manager to create the e-mails that are sent (the basic admin notification)
Good luck,
Stefan
Good luck,
Stefan
Last edit: 9 years 2 months ago by stefanverweij. Reason: spelling
The following user(s) said Thank You: DenisChenu, jboogie21
The topic has been locked.
- fransmarcelissen
- Offline
- Premium Member
Less
More
- Posts: 118
- Thank you received: 49
9 years 2 months ago #115903
by fransmarcelissen
Replied by fransmarcelissen on topic Automated email response upon certain conditions
Very good idea, Stefan!
Frans
Frans
The topic has been locked.
- Bigred01
- Offline
- Premium Member
Less
More
- Posts: 88
- Thank you received: 33
9 years 2 months ago #115905
by Bigred01
Replied by Bigred01 on topic Automated email response upon certain conditions
You can accomplish this using php with a database query and a cron job on your server. In your query you can look for responses that qualify that were submited within the past hour and set the cron job to call the php file on the top of the hour, every hour.
The topic has been locked.
- jboogie21
- Offline
- Senior Member
Less
More
- Posts: 45
- Thank you received: 7
9 years 2 months ago #116031
by jboogie21
Replied by jboogie21 on topic Automated email response upon certain conditions
I have been trying to figure out an automated notification process out forever. Your solution is just what I wanted. Thanks!
The topic has been locked.