Explore Plans
Mobile menu Close menu
FitbitFitbit

Sleep duration below

This Trigger fires every time you log sleep below the target hours you specify.

Developer info

API endpoint slug
fitbit.sleep-duration-below

Trigger fields

Target hours Text input > Regular expression

Label
Target hours
Helper text
e.g. 7.5
Slug
target_hours
Required
true
Can have default value
true

Ingredients

Total time sleptThe total time you slept

Slug
TotalTimeSlept
Filter code
Fitbit.sleepDurationBelow.TotalTimeSlept
Type
String
Example
8h 0m

Total time slept in secondsThe total time you slept in seconds

Slug
TotalTimeSleptInSeconds
Filter code
Fitbit.sleepDurationBelow.TotalTimeSleptInSeconds
Type
String
Example
28800

Date awokenDate when you awoke

Slug
DateAwoken
Filter code
Fitbit.sleepDurationBelow.DateAwoken
Type
Date (ISO8601)
Example
2020-07-07