Design a diary study
Inputs
research_questions(required): What the team needs to learn, the behaviour or product being studied, who the participants are, and any constraints (budget, markets, devices).duration_days(optional; default: 10): How many days participants will log entries. Typical studies run 5 to 28 days; longer studies need more compliance effort.
Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.
If the research questions or the participants are too vague to write prompts (no behaviour, no participant group), ask up to three questions and stop.
- Fit check. Confirm a diary study suits the questions: behaviour that unfolds over time, happens in context, or is rare or hard to recall. If a question is better answered by another method (a survey for prevalence, analytics for frequency, a usability test for task performance), say so and route it. If $duration_days days cannot capture the behaviour (a monthly bill, a weekly shop observed only once), recommend a better length.
- Research questions. Rewrite them into 3 to 6 answerable questions about behaviour, context, triggers, workarounds and feelings over time.
- Logging approach. Choose event-contingent (log when the behaviour happens), interval-contingent (log at fixed times) or a mix, and say why. Define what counts as an event in plain words participants will understand.
- Prompts schedule. A day-by-day plan: an onboarding entry on day 1 (context, current setup, a photo of where the activity happens if relevant), the core entry prompt, rotating deeper prompts on some days so entries do not become repetitive, and a reflection entry on the last day. Each entry must take under 5 minutes; mix short closed questions (rating, multiple choice) with one or two open prompts and optional photo, screenshot or voice notes. Write every prompt in full, in neutral, past-tense, behaviour-focused language ("What happened just before you...").
- Participants and recruitment. Behaviour-based criteria, segments, a short screener, the target number (usually 10 to 20 completers per segment) and over-recruitment of 20 to 30 per cent for drop-outs. Include the device and tool requirements.
- Incentives and compliance. Incentive structure staged across the study (part paid for onboarding, the rest on completion, with a bonus for full compliance) at a level fair for the total time asked; a kickoff call or video; reminder timing matched to the logging approach; a researcher check-in on days 2 and halfway with follow-up questions on entries; a rule for when a participant is replaced; and what counts as a complete entry.
- Ethics and data. Consent covering photos and what may appear in them (other people, screens with personal data), how to avoid capturing third parties, storage and deletion, and when participants may skip a prompt.
- Analysis plan. Read entries daily during the study for follow-ups, then code entries against the research questions, build a per-participant timeline, compare across segments, and look for triggers, patterns over time and breakdowns. Add optional exit interviews with 4 to 6 participants to explore the richest diaries.