Script the Micro Dialogs
Last updated: October 2026
You have completed the concept of your app – congratulations! 🎉 Now you are ready to write the story book of your coaching: every conversation your digital coach has with the user, written down as a script.
- Use the rules for formatting and dialogue logic below to keep the overview while writing.
- Follow the message design tips to write a natural conversation flow.
- Start with the template.
The template is mandatory if the Pathmate team implements your coaching. Following it guarantees a smooth handover between you and the Pathmate team.
Open the Micro Dialog template (with the ADHD Coach as example)
1. Formatting & Structure
- The coach is aligned left, the user aligned right.
- Answer options are written as
Label:Value, e.g.Yes:1. - No spaces or special characters after the value.
- Mark free text inputs clearly and specify validation rules where necessary.
- Keep formatting and layout consistent throughout the whole script.
2. Dialogue Logic
- Give every dialogue a unique, consistent name.
- Use a table of contents to keep the overview.
- For recurring dialogues, reuse existing dialogues via links instead of copying identical paragraphs – e.g. "Jump to StopUser" instead of writing the whole dialogue again.
- Distinguish between
- Jump – continues in the linked dialogue and does not come back, and
- Cascade – runs the linked dialogue and then returns to where it started.
- Build daily routines as a control dialog that cascades into small dialogues – see the pattern on the Decision page.
- Document every calculation and variable explicitly, and mark calculations and variable assignments in blue so they stand out from the coach's text.
How jumps and cascades work in CoachStudio: Decision and Cascading Dialogues.
3. Designing Messages
Clarity & structure
- one idea per message
- keep the wording short and clear
- break complex topics into several short messages
- avoid filler words – use them only where they make the tone more natural
Length & timing
- max. 2–3 sentences (about 200 characters) per message
- spread longer topics across several bubbles
- one coaching session should not take longer than about 10 minutes
- the coach should not send more than 3 messages before the user can respond
More tips and examples: Coaching Dialogues and User Response Options.
4. Quality Checks
Before you hand over or implement your script, check that:
- answer options are clearly distinct and consistent
- terminology is used consistently
- no user journey ends in a dead end
- the coaching stays robust for "lazy users" – e.g. users who answer late or skip days
What happens when a user does not answer? See Defining the Conversational Coaching Flow.
5. The Architecture of a Coaching Dialogue
A coaching is made of many small dialogues. Each dialogue is put together from a handful of building blocks – the same ones you use in your script:
| In your script | Building block | Read more |
|---|---|---|
| What the coach says, incl. images, videos, audio, links and info cards | Message Bubble, Display Content | Best practices for messages |
| What the user answers | Collect Answer | Answer types |
| Values to remember | Store Value | Variables |
| Branches – "if the user answers X, then …" | Decision | Rules |
| Sub-dialogues, jumps and cascades | Decision | Structuring coachings with Micro Dialogs |
| When a dialogue starts, and what if the user doesn't answer | Wait | Timing Messages, Conversational Coaching Flow |
All building blocks at a glance: Dialog Building Blocks.