Real-time processing of individual responses with R code in Qualtrics workflow | XM Community
Skip to main content

I understand that Qualtrics allows survey data to be analysed collectively for all participants under Data & Analysis → Stats iQ → Advanced → R code.

However, I am interested in analysing responses individually, as they are submitted, using R code. The process would work as follows:

  1. A participant completes the survey.
  2. As soon as the response is submitted, it is processed using R code to generate a PDF report.
  3. This PDF report is then attached to an email in a Qualtrics workflow and sent to the participant.

Is such a workflow possible?

Currently, I download the data, identify new responses, run the code, and send emails manually. I thought it would be more efficient to automate this.

Thank you.

@kubato I have a self-assessment survey that automatically send individual report to the respondent but in workflow there’s no R code. You would have to use JavaScript for Code Task to process the result. And then the reports can be pasted in the Email (no graph, just plain number), if you want it to be fancier you need some HTML and API knowledge to use Open Source Chart Image API | QuickChart (as I know there’s no way to attach an PDF automatically in workflow)

 


Leave a Reply