Example: Random Number Generator
In some experiments, it may be useful to display a random number to the survey participant.
To set up a random number generator:
- In Survey Flow, add a Web Service element with the following URL:
http://reporting.qualtrics.com/projects/randomNumGen.php
- If desired, you can specify a “min” and “max” value for the random number by passing those parameters to the web service. Once set up, your Web Service element should look like this:

- To display the random number in the survey, you will use the Piped Text feature to pipe in the Embedded Data field called “random.” It will look like this: ${e://Field/random}.
- RSS feeds let you access them with no strings attached, but more advanced Web Services may require information from you before they can send you anything back. If this is the case, click Add a parameter to send to the web service in the Web Services element, underneath the Web Service URL, and enter in any necessary field names and values.
-
To see which data the participant received from the web service, look for the embedded data fields as separate columns in your data set, or as separate items at the bottom of your reports.