Back
Google Assistant Activate scene. YouTube Upload video from URL. Webhooks Make a web request. Android Device Play music.

Send a web request and play music when you activate a Google Assistant scene

Connect

How this automation works

Automate your entertainment with voice control. This Applet runs when you tell Google Assistant to activate a specific scene, sending a web request, uploading a YouTube video, and starting music on your Android device. Perfect for setting the mood or automating tasks with one simple voice command. Note: This requires a reachable webhook endpoint (URL).

If
Google Assistant 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 activates a named scene when you say "Ok Google, activate [Scene Name]".
SceneName ActivatedAt
Then
YouTube 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 publish a video or Short from a given URL to your YouTube channel. Video will be uploaded as a Short or regular video based on the video length and aspect ratio.
video_url title description
And
Webhooks 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 make a web request to a publicly accessible URL. NOTE: Requests may be rate limited.
url method content_type additional_headers body
And
Android Device 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 play music on your Android device. The music played depends on your device and setup. Depending on your version of Android, playback may not start automatically.

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.

51 triggers, queries, and actions

Activate scene

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 activates a named scene when you say "Ok Google, activate [Scene Name]".

Connects or disconnects from a specific Bluetooth device

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 your Android device connects to or disconnects from a Bluetooth device you specify.

Connects or disconnects from a specific WiFi network

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 Android device connects or disconnects from a WiFi network you specify.

Connects or disconnects from any Bluetooth device

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 your Android device connects to or disconnects from any Bluetooth device.

Connects or disconnects from any WiFi network

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 Android device connects or disconnects from any WiFi network.

Connects to a specific Bluetooth device

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 your Android device connects to a Bluetooth device you specify.

Connects to a specific WiFi network

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 Android device connects to a WiFi network you specify.

Connects to any Bluetooth device

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 Android device connects to any Bluetooth device.

Connects to any WiFi network

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 Android device connects to any WiFi network.

Disconnects from a specific Bluetooth device

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 your Android device disconnects from a Bluetooth you specify.

Disconnects from a specific WiFi network

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 Android device disconnects from a WiFi network you specify.

Disconnects from any Bluetooth device

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 Android device disconnects from any Bluetooth device.

Get paid members

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 paid members for a channel.

History of channel memberships

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 there is a new membership for your channel.

History of liked videos

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 every time you like a video on YouTube.

History of public videos from subscriptions

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 every time a specific user you are subscribed to makes a new video public.

History of public videos uploaded by you

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 every time you upload a new public video to YouTube.

History of Super Chat messages

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 there is a new Super Chat message in a live chat during a live stream on your channel.

History of Super Stickers

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 there is a new Super Sticker in a live chat during a live stream on your channel.

History of web requests received

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 Maker service received a web request to notify it of an event. For information on querying events, go to your Maker service settings and then the listed URL (web) or tap your username (mobile)

List playlist videos

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 videos from a specified playlist.

List playlists

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 playlists for a specified channel.

List subscriptions

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 subscriptions of a specified channel.

Make a web request

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 the status code from a request made to the provided URL. If the response body is in the correct format it will also return the body’s extracted values. Please see the documentation link on the Webhooks service page.

Launch Google Maps Navigation

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 launch Google Maps Navigation on your Android device and begin turn-by-turn guidance to the destination you specify.

Make a web request

Pro 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 make a web request to a publicly accessible URL. NOTE: Requests may be rate limited.

Mute ringtone

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 mute your Android device's ringtone. If your device is already muted, it will remain muted.

Play a specific song

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 play a song you specify on your Android device. The music played depends on your device and setup. Depending on your version of Android, playback may not start automatically.

Play music

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 play music on your Android device. The music played depends on your device and setup. Depending on your version of Android, playback may not start automatically.

Set ringtone volume

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 ringtone volume of your Android device.

Turn off Do Not Disturb 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.
Turn off Do Not Disturb mode on your Android Device

Turn on Do Not Disturb 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.
Turn on Do Not Disturb mode on your Android Device.

Update device wallpaper

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 update the wallpaper on your Android device from the image URL you specify.

Upload video from URL

Pro 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 publish a video or Short from a given URL to your YouTube channel. Video will be uploaded as a Short or regular video based on the video length and aspect ratio.

Activate scene

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 activates a named scene when you say "Ok Google, activate [Scene Name]".

Connects or disconnects from a specific Bluetooth device

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 your Android device connects to or disconnects from a Bluetooth device you specify.

Connects or disconnects from a specific WiFi network

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 Android device connects or disconnects from a WiFi network you specify.

Connects or disconnects from any Bluetooth device

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 your Android device connects to or disconnects from any Bluetooth device.

Connects or disconnects from any WiFi network

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 Android device connects or disconnects from any WiFi network.

Connects to a specific Bluetooth device

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 your Android device connects to a Bluetooth device you specify.

Connects to a specific WiFi network

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 Android device connects to a WiFi network you specify.

Connects to any Bluetooth device

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 Android device connects to any Bluetooth device.

Connects to any WiFi network

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 Android device connects to any WiFi network.

Disconnects from a specific Bluetooth device

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 your Android device disconnects from a Bluetooth you specify.

Disconnects from a specific WiFi network

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 Android device disconnects from a WiFi network you specify.

Disconnects from any Bluetooth device

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 Android device disconnects from any Bluetooth device.

Build an automation in seconds!

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

More on these services

About YouTube

YouTube is a video-sharing website on which users can upload, share, and view videos. Use Applets to manage your liked videos, get notified about new uploads from your subscriptions, and grow your YouTube subscribers by automatically letting the world know when you post something new to your channel. https://www.youtube.com/t/terms

Explore YouTube

More integrations with YouTube

About Webhooks

Learn to use webhooks and integrate other services on IFTTT with your DIY projects. You can create Applets that work with any device or app that can make or receive a web request. If you'd like to build your own service and Applets, check out the IFTTT Developer Dashboard. Connect a webhook to any of the 750+ apps and services on IFTTT.

Explore Webhooks

More integrations with Webhooks

About Android Device

Android powers devices that are beautiful and available in many shapes and sizes. Unlock new functionality for each of your devices with the Android Device service. This service requires the IFTTT app for Android.

Explore Android Device

More integrations with Android Device

About Google Assistant

Create custom voice commands for your Google Assistant. Available on Android, iOS and Google Home devices. Get more details here.

Explore Google Assistant

More integrations with Google Assistant

IFTTT helps all your apps and devices work better together

Get started for free