Sleep Routine
AI-generated bedtime routine tailored to your child's age, current sleep struggle, and what hasn't worked.
When to use this
Use Sleep Routine when bedtime is the war. Tell Beacon the age, the specific struggle (resists going to bed, wakes at 3am, won't stay in bed), and what you've already tried that didn't work. Beacon writes a 6-8 step routine with timings, sensory considerations, and what to do at the wake-ups.
How it works
Pick age + struggle
Age band chip + specific sleep struggle chip. Struggles include: resists bedtime, multiple wake-ups, early waking, won't sleep alone, can't fall asleep.
Tell Beacon what didn't work
Free-text. 'We tried melatonin and a sound machine.' Beacon avoids repeating those in the new routine and addresses why they might not have worked.
Get a 6-8 step routine
Time-stamped sequence (e.g., 18:30 dinner โ 19:00 bath โ 19:20 calming activity โ 19:45 bed). Each step has a 1-line why-it-works. Sensory considerations woven in if you have a Sensory profile.
Save + adjust over time
Archived. Re-generate after 2 weeks with updated context. Sleep routines are a moving target; the archive lets you see what shifted.
What Beacon stores when you use it
generator_uses: Shared with all Workshop tools. tool_type = 'sleep-routine'. content holds the structured routine.
| Column | Type | Example |
|---|---|---|
| id | UUID | 9c1a... Auto-generated. |
| user_id | UUID | your-user-id RLS-locked. |
| tool_type | text | sleep-routine Fixed. |
| inputs_json | jsonb | { "age": "5-7", "struggle": "wakes-3am", "tried": "..." } Replayable. |
| content | jsonb | { "steps": [{ time: "18:30", action: "...", why: "..." }], "wakeups": "..." } Routine + wake-up handling. |
| used_at | timestamp | 2026-05-16T20:14:00Z Quota counter. |
A real example
6yo Avery wakes around 3am every night. Maya tried melatonin and white noise.
| Time | Step | Why |
|---|---|---|
| 18:30 | Dinner (low sugar) | Stable blood sugar overnight |
| 19:00 | Warm bath 10 min | Body temp drop after bath = sleep cue |
| 19:15 | Low light + chamomile or warm milk | Reinforces wind-down |
| 19:30 | 2 books + 1 chosen song | Predictable order, low cognitive load |
| 19:50 | Heavy blanket + dim light | Proprioceptive input for vestibular seekers |
| 20:00 | Lights out, parent stays for 5 min | Co-regulation, then quiet exit |
| 3am wake | No talking, no light, walk back to bed | Avoid reinforcing the wake-up with stimulation |
What Beacon auto-knows
- Every routine you've generated + the struggle and inputs.
- What you said you tried (so it doesn't repeat).
- Cross-reference with Behavior logs: did wake-ups decrease after the routine started?
What Discuss with Beacon adds
- Discuss attaches the latest routine. 'Adapt for the weekend when bedtime drifts later.'
- Or refine: 'The 3am wake-ups are now 5am. Adjust.'
Try these with Beacon
โAdapt this for the weekend when bedtime is 20:30 instead of 20:00.โ
Shifts every step back 30 min while preserving the relative spacing (e.g., bath stays 60 min before lights out).
โAvery refuses the heavy blanket. Replace.โ
Drops the heavy blanket step; substitutes a tight tuck-in or weighted stuffed animal. Notes the function (proprioceptive input) so the replacement isn't random.
โWrite this routine as a visual schedule Avery can follow.โ
Reformats as a 6-icon visual schedule with 1-3 word labels per step. Suggests using the SU Visual Schedule Creator with those exact step labels.
โIt's been 2 weeks. Wake-ups dropped from nightly to 2-3 per week. Now what?โ
Generates a phased fade: keep the routine identical but reduce parent-stays-5-min to 2 min, then 0 min over the next 2 weeks. Don't change the core structure while the wake-ups are still trending down.