Use ChatGPT to create survey responses | XM Community
Skip to main content

I need to solicit respondents occupational job titles, so I’m using an open-ended question: “What is your job title” and will get responses like “carpenter”, “teacher”, etc. 

The problem is, for these to be really useful for us they need to be linked to a specific code in Canada’s National Occupation Classification System. 

So, someone might enter “teacher”, but they could be a “secondary school teacher” or an elementary school teacher and we may want to distinguish between those two, both have distinct codes in the NOC.. 

In my mind, I would like to use ChatGPT to do the following:

  1. Take the piped text fo the respondent’s initial job title
  2. Feed that with a prompt to ChatGPT
  3. Have qualtrics present the user with all possible matches that respond from the NOC
  4. Have the user then select which one best matches their job title
  5. Record that response.
     

I have been playing around with the ChatGPT Task in a workflow and I am successfully able to get 1 and 2 done. When I enter “carpenter” or “teacher” into an open-ended question, I can get qualtrics to respond with a lot of good matches from the NOC. *But how do I turn those into survey responses in a follow-up question for steps 3, 4 and 5.*

Thank you. 

@sjkiss I’m guessing you’re using survey flow web services?
When you send a test, what is your GPT API response looks like?
You can save them as embedded data and pip-text them out later in the following question


When I send a test, I get a well formatted list of possible matches. How do I save them as embedded data and pipe text them back?


@sjkiss Send a test API. The response should be return in JSON.
 

Then click Add Embedded Data to save the response. Can i have the API document of what you’re using


Hi, I’m really. new to this level of Qualtrics. I don’t understand this:
 

Can i have the API document of what you’re using


  1. Send a test API. 

From where? Should I send it from the workflow task screen? Or from the survey flow screen? Or on the ChatGPT website itself?


@sjkiss I’m guessing you’re using survey flow web services?

Oh I see, well the workflow can’t work in the middle of survey like the survey flow webservices. So those result of yours might have to be fed in a different survey I guess.


@sjkiss did you ever figure this out? I am facing a similar challenge of trying to parse the GPT-generated response back into my original survey with no luck. 


Hi: it seems like this is a hard no from qualtrics. I hvae moved onto this strategy [here](

), specifically the select2. But I’m not getting any responses on that thread. If anyone monitoring this issue here has any insight into that, I’d be grateful over there! Specifically I don’t know how to implement select2!

 


Leave a Reply