Output Variable Naming (recode) to Salesforce | Experience Community
Skip to main content
Question

Output Variable Naming (recode) to Salesforce

  • May 15, 2026
  • 1 reply
  • 16 views

I have a survey with a multi-select question, akin to "Tell us which Products and Services you want to use next?" (pick up to 3)

Each option in this question has HTML for a Link and hover-over text.

I “recoded” the question with Variable Naming so I could use Variable Naming recode rather than the “selected options,” which carries all the HTML with it.

I go to my workflow and set up to feed data to Salesforce. There is an option to send “recoded values” which are just numbers, but no option to send the Variable Naming.

 

The end goal is to get a basic list of the selected items up to Salesforce (e.g., ServiceA, ServiceB, ServiceC). I saw a thread suggesting there might be some JS to accomplish this by concatenating the selected Variable Names and saving the result to an Embedded Field. However, I could not get the JS to work. 

1 reply

Lpena
Qualtrics Employee
Forum|alt.badge.img+4
  • Qualtrics Employee
  • June 2, 2026

Hey there!

Since multi-select choices containing HTML won't cleanly match your Salesforce picklist values, the most reliable workaround is to  bypass mapping the "Selected Choices" directly. Instead, you'll want to  use Branch Logic in your Qualtrics Survey Flow to look at what the user selected, and then set a clean Embedded Data field, based on those choicess. For example, you can create an Embedded Data variable that appends clean text tokens (like ServiceA, ServiceB, ServiceC) depending on their selections. Once you have that clean, HTML-free Embedded Data field set up, you can safely map that field directly to your Salesforce multi-select picklist.

If things still aren't lining up quite right or you run into a roadblock while configuring the logic, it might be worth letting our support team take a  closer look at your specific survey flow setup. You can easily get in touch with them by logging into the Customer Success Hub and opening a ticket under the technical support section.