Back
Button widget Button press. Sonos Play Favorite. Alexa Actions by mkZense sendAlexaActionByMkzense.

Play Sonos favorite and trigger Alexa action with a Button press

Connect

How this automation works

Start your favorite Sonos playlist and trigger an Alexa routine instantly. This Applet runs when you press the Button widget on your phone or tablet, setting your Sonos volume and starting playback while Alexa actions run automatically. Perfect for controlling your smart home audio and routines with a single tap. Note: Install the IFTTT app and add the Button widget to your home screen.

If
Button widget 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 every time you press the button.
ShareURL Latitude Longitude LocationMapURL LocationMapImageURL OccurredAt
Then
Sonos 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 a Sonos Favorite.
favorite room include_grouped_rooms
And
Sonos 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.
Set Volume of Sonos Player or Group
volume room include_grouped_rooms
And
Alexa Actions by mkZense 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 service from mkZense will send an action to run a routine on your Alexa device. Use it to add Voice to your Applet.
sensor

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.

13 triggers, queries, and actions

Button press

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 you press the button.

Mute

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.
Mutes a Sonos Player or Group

Pause

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 pause playback.

Play Favorite

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 Sonos Favorite.

Play Stream

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 stream audio, such as a radio station, from a URL.

Resume

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 resume playback.

sendAlexaActionByMkzense

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 service from mkZense will send an action to run a routine on your Alexa device. Use it to add Voice to your Applet.

Set 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.
Set Volume of Sonos Player or Group

Skip to Next Track

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 skip to the next track, if Sonos is playing a queue.

Skip to Previous Track

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 skip to the previous track, if Sonos is playing a queue.

Unmute

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.
Unmutes a Sonos Player or Group

Volume Down

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 decrease the volume by a small amount.

Volume Up

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 increase the volume by a small amount.

Button press

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 you press the button.

Mute

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.
Mutes a Sonos Player or Group

Pause

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 pause playback.

Play Favorite

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 Sonos Favorite.

Play Stream

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 stream audio, such as a radio station, from a URL.

Resume

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 resume playback.

sendAlexaActionByMkzense

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 service from mkZense will send an action to run a routine on your Alexa device. Use it to add Voice to your Applet.

Set 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.
Set Volume of Sonos Player or Group

Skip to Next Track

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 skip to the next track, if Sonos is playing a queue.

Skip to Previous Track

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 skip to the previous track, if Sonos is playing a queue.

Unmute

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.
Unmutes a Sonos Player or Group

Volume Down

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 decrease the volume by a small amount.

Build an automation in seconds!

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

More on these services

About Button widget

Make buttons and control other services with a single tap. This service creates widgets that you can use from the home screen of your Android or iOS device.

Explore Button widget

More integrations with Button widget

About Sonos

Sonos is the wireless Home Sound System that fills as many rooms as you want with great-sounding music, movies and TV.

This service is in beta. As new features are available, they’ll be delivered through software updates and made available here.

Explore Sonos

More integrations with Sonos

About Alexa Actions by mkZense

Send Actions to your Alexa device from IFTTT. Your Alexa speaker can respond to this action using Alexa routines.

Explore Alexa Actions by mkZense

More integrations with Alexa Actions by mkZense

IFTTT helps all your apps and devices work better together

Get started for free