New services
Explore Plans
Mobile menu Close menu
FitbitFitbit

Sleep duration below

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

About this trigger

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
API endpoint slug
fitbit.sleep-duration-below

Trigger fields

Target hours Text input > Regular expression

Label
Target hours
Helper text
Slug
target_hours
Required
true
Can have default value
true

Ingredients

Total time slept

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

Total time slept in seconds

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

Date awoken

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