Deliver messages to one study arm.
Create a collection of just-in-time adaptive intervention messages and show them after a qualifying answer in one arm, while the comparison arm continues without those messages.
On this page
Before you start
Use a study in Preparing with the feelings question and its choices from the scheduled-question task. This task uses So-so as a recent-answer trigger for a supportive message. The teaching text is illustrative; use the intervention content specified by your protocol.
1. Decide which groups receive what
Use group 1 for the intervention arm and group 2 for the comparison arm. In the existing shared question rules, edit Groups to 1,2 while Preparing so both arms receive the same intended measurements. Keep the message-delivery rule below targeted only to 1.
The Groups field targets a rule. Use 1,2 for the shared measurement rules and 1 for this message rule.
See the full groups step
Write down this group plan for enrollment. Choosing group IDs in a rule does not itself assign or randomly allocate participants. Coupons and later membership changes must follow the study’s allocation plan.
2. Create the message question
Prepare the message collection in this format, then upload it at Prompts.
Message collection: one column
Use one column with a header row (for example, message). Each following row is one complete message. The header is skipped; it is not delivered to participants.
message
"Take a brief pause, then consider what would help you with the next part of your day."
You can use the study contact information in the app if you need to reach the research team.
"If you would like support, visit https://example.org/support"Use comma-separated CSV, not an Excel workbook or a semicolon-separated file. Put a cell in double quotes if it contains a comma, a line break or a double quote; write a literal double quote twice inside that quoted cell. Keep all message text in the first column. URLs can be included in that text.
Download this CSV template- Open Survey → Add Question.
- Enter tag support_message and choose Intervention. This format uses the uploaded collection rather than ordinary question wording.
- Select Next. At Prompts, choose the CSV file.
- Set Selection Criteria to Sampling with replacement and Z-Index to 0.
- Select Done. Check the resulting question card and its message collection.
The CSV supplies the message content; the delivery rule is added afterward.
See the full intervention screen
3. Add the answer-dependent delivery rule
On support_message, select Add Rule → Follow up → Upon specific answer to an asked question (follow-up). Select Phone and continue.
- Time to wait before showing the question
- 0 seconds
- Question required to have been answered prior
- feelings
- Required response
- So-so, using its actual stored choice
- Maximum number of seconds to show the question for
- 1800
- Groups
- 1
See the complete follow-up step
Continue through the remaining wizard steps. Leave optional filters unchecked for this example and select Save. Group 2 has no qualifying message rule from this configuration.
4. Review the two-arm behavior
- Both groups have the intended shared question opportunities.
- In group 1, So-so qualifies the message; Great does not.
- In group 2, neither answer qualifies this message rule.
- The message has its own answer/viewing window and the intended collection-selection setting.
After the test version is In progress, register test phones in the two groups and try the qualifying and nonqualifying cases. Inspect sending/receipt/viewing information appropriate to the message workflow; do not treat a configured rule as evidence that the participant viewed a message.
Check your result. The saved configuration distinguishes shared measurements from intervention-arm delivery, and the team can test both arms without changing the question wording.