Embedded data and piped text
Save values for each participant and fill details into the messages they read
Embedded data
Embedded data is values the flow saves for each participant. They are included in your data, and you can test them in logic.
Add a Set embedded data element in Survey flow and give each field a Field name. Value from decides where its value comes from:
| Source | The value |
|---|---|
| Typed value | A fixed value you type. |
| From participant | One of the participant's profile fields. |
| Random number | A whole number between the Lowest number and the Highest number, drawn once per participant. |
| Piped text | Anything piped text can fill in. |
The flow's side panel lists every field the flow sets. Fields set inside a Group are how an experiment's conditions work: Add between-subjects experiment… builds one Group per condition, each setting its own values.
Use a field in a condition by choosing Embedded data as the condition's source: see Logic and randomization.
Piped text
Piped text fills details in when the message is sent, such as the participant's first name. Click where it should go in a question, a choice or a text block, then press Insert piped text. It is added where you last clicked. To add it somewhere else, click in that box first.
| Category | What it fills in |
|---|---|
| Participant | First name, participant ID, profile fields |
| Study | Title, institution, minutes, reward, contact, consent link |
| Survey question | An earlier question's answers, choices and question text |
| Embedded data field | A field the flow sets |
| Date / time | Today's date, a date some days from today, or the current time |
| Random number | A whole number in a range |
Dates and times use the participant's time zone when the text is sent. A question answered later in the flow can only pipe in its question text, since no answer exists yet.
The invite and the reminder use their own details instead, such as First name and Reward: see Invite message and sender name.