This Trigger fires every time your Fitbit logs new sleep.
Developer info
- API endpoint slug
- fitbit.new-sleep-logged
Trigger fields
No fields for this trigger
Ingredients
Time to leave bed secondsThe time spent in bed after awaking, in seconds
- Slug
- TimeToLeaveBedSeconds
- Filter code
- Fitbit.newSleepLogged.TimeToLeaveBedSeconds
- Type
- String
- Example
- 600
Total time sleptThe total time you slept
- Slug
- TotalTimeSlept
- Filter code
- Fitbit.newSleepLogged.TotalTimeSlept
- Type
- String
- Example
- 8h 0m
Restless countNumber of moments you were restless while sleeping
- Slug
- RestlessCount
- Filter code
- Fitbit.newSleepLogged.RestlessCount
- Type
- String
- Example
- 4
Total time slept in secondsThe total time you slept, in seconds
- Slug
- TotalTimeSleptInSeconds
- Filter code
- Fitbit.newSleepLogged.TotalTimeSleptInSeconds
- Type
- String
- Example
- 28800
Time to fall asleepNumber of minutes before falling asleep
- Slug
- TimeToFallAsleep
- Filter code
- Fitbit.newSleepLogged.TimeToFallAsleep
- Type
- String
- Example
- 7m
Time awakeThe time spent awake
- Slug
- TimeAwake
- Filter code
- Fitbit.newSleepLogged.TimeAwake
- Type
- String
- Example
- 30m
Time awake secondsThe time spent awake, in seconds
- Slug
- TimeAwakeSeconds
- Filter code
- Fitbit.newSleepLogged.TimeAwakeSeconds
- Type
- String
- Example
- 1800
Awake countNumber of moments you were awake while trying to sleep
- Slug
- AwakeCount
- Filter code
- Fitbit.newSleepLogged.AwakeCount
- Type
- String
- Example
- 2
Fell asleep atThe date and time you fell asleep, localized to your Fitbit timezone setting
- Slug
- FellAsleepAt
- Filter code
- Fitbit.newSleepLogged.FellAsleepAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Time to fall asleep secondsNumber of seconds before falling asleep
- Slug
- TimeToFallAsleepSeconds
- Filter code
- Fitbit.newSleepLogged.TimeToFallAsleepSeconds
- Type
- String
- Example
- 420
Time to leave bedThe time spent in bed after awaking
- Slug
- TimeToLeaveBed
- Filter code
- Fitbit.newSleepLogged.TimeToLeaveBed
- Type
- String
- Example
- 10m
Awoke atThe date and time you woke up, localized to your Fitbit timezone setting
- Slug
- AwokeAt
- Filter code
- Fitbit.newSleepLogged.AwokeAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00