Use survey A to create tokens and send invitations to survey B & C

4 years 11 months ago #77768 by Limer2001

I have the following challenge:

Person A: fills (open) survey A with the data (firstname,lastname,email) for person B and person C.

After this:

Token for survey B gets created and invite is sent to person B.

Token for survey C is automatically created and invitation is send for survey C. But in the email (and if possible welcoming screen) for this survey i need to mention the name(firstname;lastname) of person B. (e.g. Dear person C, this is an invitation to answer a survey about {firstnamepersonB}{lastnamepersonB}

I would really like to hear your thoughts and ideas on how to, if possible, realize this.
I did some research and found that maybe Cronjob limesurvey script could easily help me to automatically do the sending of questionairres. (from )

Please Log in to join the conversation.

4 years 11 months ago #77831 by atiut
Hi Limer2001

If person A is a trained interview operator or at least acts in a controlled environment i might be able to propose a solution. Let me know.

Please Log in to join the conversation.

4 years 11 months ago - 4 years 11 months ago #77833 by DenisChenu

- A ending php script with SAVEDID and SID ( autolaoding URL http://myurl?sid={SID}&savedid={SAVEDID} )
- In this script, get the answer of lime_survey_{SID} WHERE id={SAVEDID}
- From the answer create the 2 token line (if it doesn't exist)
- Send the 2 email with the good link

Not really difficult but need some work, 4 day of work[*] at first glance.

* Professionnal services.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 4 years 11 months ago by DenisChenu.
The following user(s) said Thank You: Limer2001

Please Log in to join the conversation.