Syncing question text back to Salesforce? | XM Community
Skip to main content
Question

Syncing question text back to Salesforce?


MattiasM
Level 5 ●●●●●
Forum|alt.badge.img+62
  • Level 5 ●●●●●
  • 328 replies

Hello and good afternoon from a snowy Sweden!

Is there a way for me to capture the question text from a survey and sync it back to a field in Salesforce? 

I would like to show the question text and then the survey response next to it so it’s independent on the survey question changing in the future. 

 

Thanks in advance

-Mattias

3 replies

MattiasM
Level 5 ●●●●●
Forum|alt.badge.img+62
  • Author
  • Level 5 ●●●●●
  • 328 replies
  • January 5, 2024

Good morning from a cold but sunny Sweden!'

Anyone know if this can be done, now that we are in 2024 and all? :)

 

Thanks in advance

-Mattias


vgayraud
QPN Level 5 ●●●●●
Forum|alt.badge.img+47
  • QPN Level 5 ●●●●●
  • 327 replies
  • January 5, 2024

Hi @MattiasM ,

The simplest route would be to pass back the single response report link to SF, but if you need a custom SF object containing the questions text, I think you’d have to create fields for both your questions and your answers and then fill them with the appropriate piped in text in your mapping.

Question: ${q://QID1/QuestionText}
Answer: ${q://QID1/SelectedChoicesRecode}

 


MattiasM
Level 5 ●●●●●
Forum|alt.badge.img+62
  • Author
  • Level 5 ●●●●●
  • 328 replies
  • January 5, 2024
vgayraud wrote:

Hi @MattiasM ,

The simplest route would be to pass back the single response report link to SF, but if you need a custom SF object containing the questions text, I think you’d have to create fields for both your questions and your answers and then fill them with the appropriate piped in text in your mapping.

Question: ${q://QID1/QuestionText}
Answer: ${q://QID1/SelectedChoicesRecode}

 

Thanks for this @vgayraud - I’ll test it out in the coming week and let you know if I get it to work :) 

Thanks again!

-Mattias


Leave a Reply