Back
Withings Sleep Export my last sleep data. Google Drive Upload file from URL.

Upload Withings Sleep data to Google Drive

Connect

How this automation works

Automatically back up your Withings Sleep data to Google Drive for secure storage and easy access. This Applet runs when your most recent sleep data is ready for export and uploads the file directly to a chosen Google Drive folder. Ideal for anyone who wants an organized and accessible record of their nightly sleep activity.

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
Google Drive 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 will download a file at a given URL and add it to Google Drive at the path you specify. NOTE: 100 MB file size limit.
url filename path

Services used in this Applet

Create your own Withings Sleep and Google Drive 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.

17 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.

New file from search in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new non-Google Workspace file matching your search query is uploaded in a Google Drive folder. When enabled, all non-Google Workspace files in the folder will be set to viewable by anyone with the link.

New file in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new non-Google Workspace file is added to the specified Google Drive folder. When enabled, all non-Google Workspace files in the folder are set to viewable by anyone with the link.

New photo in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new photo is saved in the Google Drive folder you specify. When enabled, both existing and new non-Google Workspace files in the folder will be set to viewable by anyone with the link.

New starred file in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new non-Google Workspace file is starred in a specified Google Drive folder. When enabled, both existing and new non-Google Workspace files in the folder will be set to viewable by anyone with the link.

New video in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new video is saved in the Google Drive folder you specify. When enabled, both existing and new non-Google Workspace files in the folder will be set to viewable by anyone with the link.

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 files from search uploaded in your folder

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 recent files that matches your search query in a Google Drive folder.

History of files starred in folder

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 recent files starred in a specified Google Drive folder.

History of files uploaded in your folder

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 recent files added to the Google Drive folder 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 photos uploaded in your folder

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 recent photos saved in the Google Drive folder you specify.

History of videos uploaded in your folder

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 recent videos saved in the Google Drive folder you specify.

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.

Upload file from URL

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 will download a file at a given URL and add it to Google Drive at the path you specify. NOTE: 100 MB file size limit.

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 files from search uploaded in your folder

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 recent files that matches your search query in a Google Drive folder.

History of files starred in folder

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 recent files starred in a specified Google Drive folder.

History of files uploaded in your folder

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 recent files added to the Google Drive folder 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 photos uploaded in your folder

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 recent photos saved in the Google Drive folder you specify.

History of videos uploaded in your folder

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 recent videos saved in the Google Drive folder you specify.

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.

New file from search in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new non-Google Workspace file matching your search query is uploaded in a Google Drive folder. When enabled, all non-Google Workspace files in the folder will be set to viewable by anyone with the link.

New file in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new non-Google Workspace file is added to the specified Google Drive folder. When enabled, all non-Google Workspace files in the folder are set to viewable by anyone with the link.

New photo in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new photo is saved in the Google Drive folder you specify. When enabled, both existing and new non-Google Workspace files in the folder will be set to viewable by anyone with the link.

Build an automation in seconds!

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

More on Withings Sleep and Google Drive

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 Google Drive

Google Drive lets you store and access your files anywhere — on the web, on your hard drive, or on the go. Applets let you send the most important information into your Google Drive, automatically.

Explore Google Drive

More integrations with Google Drive

IFTTT helps all your apps and devices work better together

Get started for free