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:

SourceThe value
Typed valueA fixed value you type.
From participantOne of the participant's profile fields.
Random numberA whole number between the Lowest number and the Highest number, drawn once per participant.
Piped textAnything 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.

CategoryWhat it fills in
ParticipantFirst name, participant ID, profile fields
StudyTitle, institution, minutes, reward, contact, consent link
Survey questionAn earlier question's answers, choices and question text
Embedded data fieldA field the flow sets
Date / timeToday's date, a date some days from today, or the current time
Random numberA 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.