Surveys can be selected using the Survey ID (so they always run the latest version) of Survey Model File (so they protected from changes to the online version). The results of each survey are saved to the PsychoPy data file. However, if you want to access the data during your experiment you should use code of the form surveyResponse = surveyComponentName.getResponse() which copies the data into a dictionary.
In my demo I check whether four consent items have been ticked using if len(surveyResponse['consent']) == 4: and then present the mean happiness score on screen using surveyResponse['OHQmean']
Currently, if you want to embed surveys in your experiments, please install 2023.1.3. There are a couple of bugs in the survey component in 2023.2, the fixes for which missed the 2023.2.1 release.
I’ve just reinstalled the older version so I can use it for next week’s topic workshop.