Like @ivar, for my use case I would like to develop something along the following lines:
-
User registers somewhere (preferably in Discourse)
-
Discourse creates token in LimeSurvey (a php based Survey application) via LimeSurvey API
-
LimeSurvey sends user a mail with a link to his personal Survey
-
User fills out Survey
-
Once user completes Survey, LimeSurvey then enables the user in Discourse via Discourse API
-
Finally, LimeSurvey would populate some data from the survey in Discourse via API: Post the survey results as a topic in the “New Members” catagory and populate a few user custom fields with input from the survey (for example Country and a few dates - didn’t check if this can be done via API).
Do you see any architectural problems with building a plugin to implement the workflow outlined above? Do you have any thoughts or tips regarding the implementation of such a setup?