How can I generate "Embedded data" fields contingent on answers to a multiple choice question?

In Qualtrics, I can use what are called "Embedded data" tags in the survey flow to generate a new variable in the data set that is populated based on conditions related to one or more survey questions.

(A stupid) Example:

Question 1: On a scale from 1 to 5, how much do you like ice cream? Answers: 1,2,3,4,5

Question 2: Are you lactose intolerant? Answers: Yes, No

Embedded data variable:

If Q1 IN (1,2,3) AND Q2 = Yes --> Yuck_Lactose

If Q1 IN (1,2,3) AND Q2 = No --> Yuck_IceCream

If Q1 IN (4,5) AND Q2 = Yes --> Living_Dangerously

If Q1 IN (4,5) AND Q2 = No --> Living_Free

How can I generate such variables in Sawtooth?

Resolved
2 replies