Back
Google Drive New file in your folder. Smart Life Activate Scene. TP-Link Kasa Turn off.

Turn off Kasa device and activate Smart Life scene when new Drive file is added.

Connect

How this automation works

Automate your smart home by syncing Google Drive with your connected devices. This Applet runs when a new file appears in your selected Google Drive folder, turning off a TP-Link Kasa device and activating a Smart Life scene. Perfect for coordinating file uploads with device actions or routine setups across your home automation system.

If
Google Drive icon
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 file is added to the Google Drive folder you specify. Note: Does not work for Google Docs, Forms, or Sheets files.
Filename Path FileUrl CreatedAt
Then
TP-Link Kasa 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 turn off a selected device.
device
And
Smart Life 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 activate the specified scene.
which_scene

Services used in this Applet

Create your own 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.

55 triggers, queries, and actions

Battery low

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 residual electricity in the lock under threshold.

Camera detects motion

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 the specified camera detects motion. To use this trigger, camera’s motion detection should be turned on.

Camera detects sound

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 the specified camera detects sound. To use this trigger, camera’s sound detection should be turned on.

Device or group is turned off

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 the specified device/group is turned off.

Device or group is turned on

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 the specified device/group is turned on.

Door sensor is closed

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 the door sensor is closed.

Door sensor is open

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 the door sensor is open.

Input incorrect password repetitiously

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 someone input incorrect password repetitiously.

Leak detected

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 water leak detected.

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 file matches your search query in a Google Drive folder. Note: only works for files created after the Applet is turned on.

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 every time a new file is added to the Google Drive folder you specify. Note: Does not work for Google Docs, Forms, or Sheets files.

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 any new photo is saved in the Google Drive folder you specify. Note: only works for photos created after the Applet is turned on.

History of Camera detected sound

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 times when the specified camera detected sound. To use this query, camera’s sound detection must have been turned on.

History of Device turned off

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 times when the specified device/group was turned off.

History of Device was turned on

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 the specified device/group was turned on.

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 Leak detected

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 times when the sensor detected a water leak.

History of low Battery alerts

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 residual electricity in the lock dropped below the threshold. Note: this query will only return future events after this Applet is created.

History of motion detections by Camera

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 a Camera detected motion. To use this query, Camera motion detected should be turned on.

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 repetitious incorrect password alerts

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 times when someone input an incorrect password repetitiously.

History of Shake detected

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 sensor detected a shake

Activate Scene

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 activate the specified scene.

Activate scene

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 activate a selected Scene from your account.

Change brightness

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 change the brightness of a light bulb.

Change color

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 change the color of a light bulb.

Change color temperature

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 change the color temperature of a light bulb.

Set AC temperature

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 set your AC to a specified temperature by remote controller.

Set light brightness

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 set your light to a specified brightness.

Set light color

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 set the light to specified color.

Set speed level

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 set speed level of devices such as fans.

Start Cool Mode

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 set your AC to Cool Mode.

Start Heat Mode

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 set your AC to Heat Mode.

Toggle

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 toggle a device.

Activate Scene

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 activate the specified scene.

Activate scene

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 activate a selected Scene from your account.

Battery low

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 residual electricity in the lock under threshold.

Camera detects motion

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 the specified camera detects motion. To use this trigger, camera’s motion detection should be turned on.

Camera detects sound

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 the specified camera detects sound. To use this trigger, camera’s sound detection should be turned on.

Change brightness

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 change the brightness of a light bulb.

Change color

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 change the color of a light bulb.

Change color temperature

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 change the color temperature of a light bulb.

Device or group is turned off

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 the specified device/group is turned off.

Device or group is turned on

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 the specified device/group is turned on.

Door sensor is closed

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 the door sensor is closed.

Door sensor is open

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 the door sensor is open.

Build an automation in seconds!

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

More on these services

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

About Smart Life

Smart Life provides extraordinary experience with your smart home appliances, including smart plugs, smart lights, air conditioners, humidifiers... As long as your device works with Smart Life, you'll be able to build automation tasks through IFTTT like turning on the living room light when you're back home.

Explore Smart Life

More integrations with Smart Life

About TP-Link Kasa

Kasa by TP-Link is a leading smart home system that includes Kasa Smart Plugs, Smart Bulbs, Smart Switches and more. It works with other leading smart home products such as Amazon Echo, Google Home, and more. Now with IFTTT, you can also create personalized Applets that trigger automatic actions on your Kasa devices.

Explore TP-Link Kasa

More integrations with TP-Link Kasa

IFTTT helps all your apps and devices work better together

Get started for free