About

Grouptheory Inc.

Grouptheory Inc. helps researchers understand people’s experiences and behavior in everyday life.

ODIN is a cloud-based smartphone platform for collecting contextual data and delivering responsive interventions. It helps research teams turn everyday observations into scientific insight.

Click elsewhere to close

Reference

Rule types.

Find a rule by the event, time or context that should start a question. The inventory covers 40 types, including types that require a configured sensor or specialist integration.

On this page

Add a rule on the question you want to appear. A question may have several rules. Each rule has its own eligibility, timing and permitted filters. Sensor-dependent choices depend on the study’s configuration; the full inventory is broader than any one study’s Add Rule menu.

Read the shared settings before choosing a rule →

Time and participation

Upon recurring time intervalA repeated calendar schedule starts the question.
Requires
No sensor required.
Execution platform
Phone or Server

Fields on the trigger screen

Frequency of asking the recurring question (select unit below)
Schedule builder or manual five-field cron expression. Required.
For advanced participants only - enter cron string manually
Required.

Open the complete reference →

Show group of questions upon recurring time intervalA repeated calendar schedule starts a sequence of questions.
Requires
Compound Sequence question.
Execution platform
Phone

Fields on the trigger screen

Frequency of asking the recurring question (select unit below)
Schedule builder or manual five-field cron expression. Required.
For advanced participants only - enter cron string manually
Required.
Questions to display
Required.
Upon random time within a windowA randomly chosen time inside a defined daily window starts the question.
Requires
No sensor required.
Execution platform
Phone

Fields on the trigger screen

Start hour of day (24 hour format)
Choices: 0 through 23. Required.
length of window in hours
Numerical field. Allowed range: 1–23. Required.
Upon given day of study participationA specified day of the individual’s participation starts the question.
Requires
Participant must be registered; account for consent configuration.
Execution platform
Phone

Fields on the trigger screen

Hour of day (24 hour format)
Choices: 0 through 23. Required.
Number of days since signing consent form
Numerical field. Allowed range: 1–60. Required.
Upon end of study (exit interview)The end of the participant’s study period starts an exit question.
Requires
Use the participant’s configured study period.
Execution platform
Phone

Fields on the trigger screen

Hour of day (24 hour format)
Choices: 0 through 23. Optional.

Answers and question events

Upon specific answer to an asked question (follow-up)An answer to a parent question qualifies a subsequent question.
Requires
Create the parent and its response choices first.
Execution platform
Choose the available platform in the form; the illustrated path uses Phone

Fields on the trigger screen

Time to wait before showing the question (in seconds)
Numerical field. Allowed range: 0–604800. Required.
Question required to have been answered prior
Select an existing compatible question. Required.
ID(s) of the required response(s)
Select stored choices from the selected parent question. Allowed range: 0–500. Required.

Open the complete reference →

Show group of questions upon specific answer to an asked question (compound follow-up)A qualifying parent answer starts a sequence of questions.
Requires
Compound Sequence question and an existing parent.
Execution platform
Phone

Fields on the trigger screen

Time to wait before showing the question (in seconds)
Numerical field. Allowed range: 0–604800. Required.
Question required to have been answered prior
Select an existing compatible question. Required.
ID(s) of the required response(s)
Select stored choices from the selected parent question. Allowed range: 0–500. Required.
Which questions will be shown based on the selected choices
Text field. Required.
Immediately after showing a specific question (on-show follow-up)Showing the parent starts the next question, without requiring an answer.
Requires
Existing parent question. This is distinct from an answer-dependent follow-up.
Execution platform
Phone

Fields on the trigger screen

Time to wait before showing the question (in seconds)
Numerical field. Allowed range: 0–604800. Required.
Question required to have been answered prior
Select an existing compatible question. Required.
Upon minimum number of trials on a psychometric question (trial-based follow-up)Reaching a trial count in a task starts another question.
Requires
A compatible psychometric task.
Execution platform
Phone

Fields on the trigger screen

Time to wait before showing the question (in seconds)
Numerical field. Allowed range: 0–604800. Required.
Question required to have been answered prior
Select an existing compatible question. Required.
Minimum number of trials on the given question.
Numerical field. Allowed range: 0–500. Required.
Upon specific answer to an asked question with negation (follow-up)The parent answer must include required choices and exclude specified choices.
Requires
Existing parent and response choices.
Execution platform
Phone

Fields on the trigger screen

Time to wait before showing the question (in seconds)
Numerical field. Allowed range: 0–604800. Required.
Question required to have been answered prior
Select an existing compatible question. Required.
ID(s) of the required response(s)
Select stored choices from the selected parent question. Allowed range: 0–500. Required.
ID(s) of the response(s) required to NOT be selected
Select stored choices from the selected parent question. Allowed range: 0–500. Required.
Upon specific/any answer to an asked end of study question (exit interview follow-up)An exit-interview answer starts a subsequent question.
Requires
An exit-interview parent question.
Execution platform
Phone

Fields on the trigger screen

Time to wait before showing the question (in seconds)
Numerical field. Allowed range: 0–604800. Optional.
End of study question required to have been answered before
Select an existing compatible question. Optional.
ID(s) of the required response(s)
Select stored choices from the selected parent question. Allowed range: 0–500. Required.
Upon specific answer text found on an asked question (fill-text follow-up)Text in the parent answer matches the configured content.
Requires
Fill Text parent, not Multiple Choice IDs.
Execution platform
Phone

Fields on the trigger screen

Time to wait before showing the question (in seconds)
Numerical field. Allowed range: 0–604800. Optional.
Question required to have been answered prior
Select an existing compatible question. Required.
Text required for triggering a follow-up question
Text field. Required.
Upon a numeric answer compared to a given number (fill-number follow-up)The parent’s numerical answer satisfies a comparison.
Requires
Fill Number parent.
Execution platform
Phone

Fields on the trigger screen

Time to wait before showing the question (in seconds)
Numerical field. Allowed range: 0–604800. Optional.
Question required to have been answered prior
Select an existing compatible question. Required.
Type of operation (eg: greater, lesser, equals etc)
Choices: Greater Than, Lesser Than, Equals To, Greater Than or Equal To, Less Than or Equal To. Required.
Numeric value to be compared with
Numerical field. Allowed range: -2147483648–2147483647. Required.

Participant initiative

Upon discretionary button pressThe participant chooses an in-app button to start a question.
Requires
Decide whether the button belongs in the study protocol or only in a test version.
Execution platform
Phone

Fields on the trigger screen

Button label (at most 30 characters)
Text field. Required.
Button position on the screen
Numerical field. Allowed range: 1–10. Required.

GPS location

Upon arrival at specified locationEntering the specified location starts the question.
Requires
GPS collection and relevant phone permission.
Execution platform
Phone or Server

Fields on the trigger screen

Location Latitude
Numerical field. Allowed range: -90–90. Required.
Maximum distance from location (in meters, as a radius)
Numerical field. Allowed range: 10–10000. Required.
Location Longitude
Numerical field. Allowed range: -180–180. Required.
Upon departure from specified locationLeaving the specified location starts the question.
Requires
GPS collection and relevant phone permission.
Execution platform
Phone or Server

Fields on the trigger screen

Location Latitude
Numerical field. Allowed range: -90–90. Required.
Maximum distance from location (in meters, as a radius)
Numerical field. Allowed range: 10–10000. Required.
Location Longitude
Numerical field. Allowed range: -180–180. Required.
While at specified locationRemaining inside the specified location offers recurring opportunities.
Requires
GPS collection and relevant phone permission.
Execution platform
Phone or Server

Fields on the trigger screen

Latitude
Numerical field. Allowed range: -90–90. Required.
Maximum distance from location (in meters, as a radius)
Numerical field. Allowed range: 10–10000. Required.
Longitude
Numerical field. Allowed range: -180–180. Required.
Frequency of asking the question (in seconds)
Numerical field. Allowed range: 1–86400. Required.
While NOT at specified locationBeing outside the specified location offers recurring opportunities.
Requires
GPS collection and relevant phone permission.
Execution platform
Phone or Server

Fields on the trigger screen

Latitude
Numerical field. Allowed range: -90–90. Required.
Minimum distance from location (in meters, as a radius)
Numerical field. Allowed range: 10–10000. Required.
Longitude
Numerical field. Allowed range: -180–180. Required.
Frequency of asking the question (in seconds)
Numerical field. Allowed range: 1–86400. Required.
Upon arrival at any of the specified locationsEntering any configured location starts the question.
Requires
GPS collection and the configured location list.
Execution platform
Phone

Fields on the trigger screen

Locations
Required.

Multiple locations: five named columns

Keep the header latitude,longitude,radius,cronstring,duration. Each following row defines a location and one schedule window. Headers are matched without regard to letter case.

latitude,longitude,radius,cronstring,duration
40.0000,-105.0000,100,0 9 * * 1-5,60
40.0100,-105.0200,150,0 14 * * *,120

Latitude and longitude are decimal degrees; use a decimal point and a minus sign for west/south. Radius is a nonnegative integer in meters. Duration is a positive integer in minutes, starting at the cron time. Cron has five space-separated fields: minute, hour, day of month, month, day of week. Use fixed minute/hour values here; 0 is Sunday, 1 is Monday and 6 is Saturday. Quote the cron cell if it contains commas. Repeat a location on another row for a different schedule; do not give the same location and cron expression conflicting durations.

In the example, the first location is considered during a one-hour window beginning at 09:00 Monday–Friday; the second has a two-hour window beginning at 14:00 every day. Replace these illustrative coordinates and schedules with your study locations. These are schedule windows, not the question’s answer window or a throttle.

Download this CSV template
Upon departure from any of the specified locationsLeaving any configured location starts the question.
Requires
GPS collection and the configured location list.
Execution platform
Phone

Fields on the trigger screen

Target locations, as a CSV file. More info...
Required.

Multiple locations: five named columns

Keep the header latitude,longitude,radius,cronstring,duration. Each following row defines a location and one schedule window. Headers are matched without regard to letter case.

latitude,longitude,radius,cronstring,duration
40.0000,-105.0000,100,0 9 * * 1-5,60
40.0100,-105.0200,150,0 14 * * *,120

Latitude and longitude are decimal degrees; use a decimal point and a minus sign for west/south. Radius is a nonnegative integer in meters. Duration is a positive integer in minutes, starting at the cron time. Cron has five space-separated fields: minute, hour, day of month, month, day of week. Use fixed minute/hour values here; 0 is Sunday, 1 is Monday and 6 is Saturday. Quote the cron cell if it contains commas. Repeat a location on another row for a different schedule; do not give the same location and cron expression conflicting durations.

In the example, the first location is considered during a one-hour window beginning at 09:00 Monday–Friday; the second has a two-hour window beginning at 14:00 every day. Replace these illustrative coordinates and schedules with your study locations. These are schedule windows, not the question’s answer window or a throttle.

Download this CSV template

Proximity to other participants

Upon forming/joining a group of participants (Bluetooth)A qualifying nearby-participant group forms or is joined.
Requires
Bluetooth participant-proximity integration; confirm intended devices with the ODIN team.
Execution platform
Phone or Server

Fields on the trigger screen

Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
Definition of NEAR
Text field. Required.
Minimum number of other participants in the proximity of the participant
Numerical field. Allowed range: 1–10. Required.
Upon someone leaving a group of participants (Bluetooth)A qualifying nearby-participant group loses a member.
Requires
Bluetooth participant-proximity integration.
Execution platform
Phone or Server

Fields on the trigger screen

Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
Definition of NEAR
Text field. Required.
Minimum number of other participants in the proximity of the participant
Numerical field. Allowed range: 1–10. Required.
Upon forming/joining a group of participants (BLE)A qualifying BLE participant-proximity group forms or is joined.
Requires
BLE participant-proximity collection and permissions.
Execution platform
Phone or Server

Fields on the trigger screen

Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
Definition of NEAR
Text field. Required.
Minimum number of other participants in the proximity of the participant
Numerical field. Allowed range: 1–10. Required.
Upon someone leaving a group of participants (BLE)A qualifying BLE participant-proximity group loses a member.
Requires
BLE participant-proximity collection and permissions.
Execution platform
Phone or Server

Fields on the trigger screen

Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
Definition of NEAR
Text field. Required.
Minimum number of other participants in the proximity of the participant
Numerical field. Allowed range: 1–10. Required.

Beacon proximity

Upon being in the proximity of beacon device(s)Coming near one of the specified beacons starts the question.
Requires
Configured beacons and beacon-proximity collection.
Execution platform
Phone

Fields on the trigger screen

Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
Definition of NEAR
Text field. Required.
Minor of the beacon(s)
Numerical field. Allowed range: 1–65536. Required.
Upon leaving beacon device(s)Leaving the specified beacon proximity starts the question.
Requires
Configured beacons and beacon-proximity collection.
Execution platform
Phone

Fields on the trigger screen

Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
Definition of NEAR
Text field. Required.
Minor of the beacon(s)
Numerical field. Allowed range: 1–65536. Required.
While in the proximity of beacon device(s)Remaining near the specified beacons offers recurring opportunities.
Requires
Configured beacons and beacon-proximity collection.
Execution platform
Phone

Fields on the trigger screen

Frequency of asking the question (in seconds)
Numerical field. Allowed range: 1–86400. Required.
Definition of NEAR
Text field. Required.
Minor of the beacon(s)
Numerical field. Allowed range: 1–65536. Required.
Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
While NOT in the proximity of beacon device(s)Being away from the specified beacons offers recurring opportunities.
Requires
Configured beacons and beacon-proximity collection.
Execution platform
Phone

Fields on the trigger screen

Frequency of asking the question (in seconds)
Numerical field. Allowed range: 1–86400. Required.
Definition of NEAR
Text field. Required.
Minor of the beacon(s)
Numerical field. Allowed range: 1–65536. Required.
Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
Upon being in the proximity of beacon device(s) (ML)A calibrated beacon-proximity determination starts the question on arrival.
Requires
Specialist configuration with the ODIN team.
Execution platform
Phone

Fields on the trigger screen

Integration settings
Configure with the ODIN team; the rule inventory states the prerequisites.
Upon leaving beacon device(s) (ML)A calibrated beacon-proximity determination starts the question on departure.
Requires
Specialist configuration with the ODIN team.
Execution platform
Phone

Fields on the trigger screen

Integration settings
Configure with the ODIN team; the rule inventory states the prerequisites.

Recognized activity

Upon starting specified activityStarting the selected recognized activity starts the question.
Requires
Activity-recognition integration and device support; confirm availability before designing around it.
Execution platform
Phone or Server

Fields on the trigger screen

Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
Activity
Choices: driving, biking, on foot (walking or running), running, still, walking. Required.
Upon finishing specified activityFinishing the selected recognized activity starts the question.
Requires
Activity-recognition integration.
Execution platform
Phone or Server

Fields on the trigger screen

Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
Activity
Choices: driving, biking, on foot (walking or running), running, still, walking. Required.
While doing specified activityThe selected recognized activity offers recurring opportunities.
Requires
Activity-recognition integration.
Execution platform
Phone or Server

Fields on the trigger screen

Frequency of asking the question
Numerical field. Allowed range: 1–86400. Required.
Activity
Choices: driving, biking, on foot (walking or running), running, still, walking. Required.
Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
While NOT doing specified activityAbsence of the selected recognized activity offers recurring opportunities.
Requires
Activity-recognition integration.
Execution platform
Phone or Server

Fields on the trigger screen

Frequency of asking the question
Numerical field. Allowed range: 1–86400. Required.
Activity
Choices: driving, biking, on foot (walking or running), running, still, walking. Required.
Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.

Empatica E4 measurements

Upon GSR above averageA qualifying rise relative to the configured GSR comparison starts the question.
Requires
Empatica E4 integration and suitable wearable data.
Execution platform
Phone

Fields on the trigger screen

Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
Threshold (%)
Numerical field. Allowed range: 0–100. Required.
Time to calculate the average
Numerical field. Allowed range: 1–86400. Required.
Upon GSR below averageA qualifying fall relative to the configured GSR comparison starts the question.
Requires
Empatica E4 integration and suitable wearable data.
Execution platform
Phone

Fields on the trigger screen

Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
Threshold (%)
Numerical field. Allowed range: 0–100. Required.
Time to calculate the average
Numerical field. Allowed range: 1–86400. Required.
While GSR is above averageAn above-comparison measurement offers recurring opportunities.
Requires
Empatica E4 integration and suitable wearable data.
Execution platform
Phone or Server

Fields on the trigger screen

Frequency of asking the question
Numerical field. Allowed range: 1–86400. Required.
Time to calculate the average
Numerical field. Allowed range: 1–86400. Required.
Threshold (%)
Numerical field. Allowed range: 0–100. Required.
Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.
While GSR is below averageA below-comparison measurement offers recurring opportunities.
Requires
Empatica E4 integration and suitable wearable data.
Execution platform
Phone or Server

Fields on the trigger screen

Frequency of asking the question
Numerical field. Allowed range: 1–86400. Required.
Time to calculate the average
Numerical field. Allowed range: 1–86400. Required.
Threshold (%)
Numerical field. Allowed range: 0–100. Required.
Number of seconds to wait before showing the question
Numerical field. Allowed range: 0–604800. Required.

Forecasts

Forecasting ruleConfigure a daily forecast calculation and its named outputs. This rule does not itself display a question.
Requires
End-to-end forecaster registration currently requires the ODIN team.
Execution platform
Server

Fields on the trigger screen

Integration settings
Configure with the ODIN team; the rule inventory states the prerequisites.
Upon specified forecast resultA comparison of configured forecast outputs starts a question or message.
Requires
An available registered forecaster with agreed output meanings. Configure the response in the website UI.
Execution platform
Server

Fields on the trigger screen

Frequency of checking the if the conditions defined are met (select unit below)
Schedule builder or manual five-field cron expression. Required.
Rule whose forecasts to react to
Select an existing compatible rule. Required.
Left parameter
Select a named output from the chosen forecast rule. Required.
Right parameter
Select a named output from the chosen forecast rule. Required.

The comparison is Left parameter less than Right parameter; select the output order accordingly.

Events, filters and collection are different

An arrival rule watches an event; a location filter restricts another event to a place. A sensor supplies the measurements. Configure the required collection while the study is in Preparing, and test the event under the participant’s real device conditions.

Compare additional conditions →

Review sensor requirements →

Other rule CSV uploads

Windows upload: minimum and maximum hours

Where a rule offers a Windows CSV upload, use the two headers min,max and one hour range per following row.

min,max
8,11
14,18

Both values are whole hours from 0 to 23. Min must be no greater than max. Split a range spanning midnight into separate rows. This file supplies ranges to that rule; it does not replace a locations or message-collection CSV.

Download this CSV template

Search the researcher guide

Search page titles, topics, and common task words.

Screenshot

1×