Back
Withings Sleep Export my last sleep data. iOS Health Log sleep.

Log new Withings Sleep data to iOS Health

Connect

How this automation works

Automatically record your sleep data in Apple Health for seamless tracking. This Applet runs when your Withings Sleep sensor finishes exporting your latest sleep session, logging the details in the Health app. Ideal for anyone who wants to maintain consistent sleep records across devices and monitor their rest trends effortlessly.

If
Withings Sleep icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires once your last sleep data is ready for exportation.
SleepDuration DeviceUser InBedDateandTime DeviceMac OutofBedDateandTime LightSleepDuration DeepSleepDuration RemSleepDuration SleepScore SnoringDuration SnoringEpisodesCount HeartRateAverage AwakeDuration StatusSleepScore StatusRegularity StatusRecovery NbInterruptions TimeToSleep TimeToGetUp
Then
iOS Health icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action logs sleep to your iPhone's Health app.
sleep_duration asleep_at date_sleep_ended

Services used in this Applet

Create your own Withings Sleep and iOS Health workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

10 triggers, queries, and actions

Export my last sleep data

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires once your last sleep data is ready for exportation.

When I get into bed

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time your Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.

When I get out of bed

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time your Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.

History of my sleep data exports

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of instances of when your sleep data was exported.

History of when I get into bed

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when your Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.

History of when I get out of bed

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when your Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.

Log calories consumed

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action logs calories consumed to your iPhone's Health app.

Log sleep

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action logs sleep to your iPhone's Health app.

Log weight

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action logs body mass in pounds or kilograms to your iPhone's Health app.

Log workout

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action logs a workout to your iPhone's Health app. Choose the type of activity, calories burned, duration, and more to customize your workouts.

Export my last sleep data

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires once your last sleep data is ready for exportation.

History of my sleep data exports

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of instances of when your sleep data was exported.

History of when I get into bed

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when your Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.

History of when I get out of bed

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when your Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.

Log calories consumed

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action logs calories consumed to your iPhone's Health app.

Log sleep

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action logs sleep to your iPhone's Health app.

Log weight

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action logs body mass in pounds or kilograms to your iPhone's Health app.

Log workout

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action logs a workout to your iPhone's Health app. Choose the type of activity, calories burned, duration, and more to customize your workouts.

When I get into bed

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time your Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.

When I get out of bed

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time your Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on Withings Sleep and iOS Health

About Withings Sleep

Withings Sleep is a sleep sensor that tracks heart rate, sleep cycles and features snoring detection. Improve your sleep environment by using applets to lower the room temperature when you get into bed, turn on the lights when you get out of bed, and more.

Explore Withings Sleep

More integrations with Withings Sleep

About iOS Health

The iPhone's Health app consolidates health data from iPhone, Apple Watch, Apple Health, and other apps so you can track your progress in one convenient place. This service requires the IFTTT app for iOS.

Explore iOS Health

More integrations with iOS Health

IFTTT helps all your apps and devices work better together

Get started for free