Back
Group Location Last member exits an area . Virtual Buttons Push a Virtual Button.

Trigger Alexa Routine when last person leaves home

Connect

How this automation works

Automate your smart home by triggering an Alexa Routine when everyone has left your designated area. This Applet runs when the last member of your group exits a defined location and activates a Virtual Button linked to your Alexa Routine. It’s perfect for automating security, lighting, or thermostat settings once your home is empty.

If
Group Location 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 when the final member exits an area, meaning all members have left the area.
UserEmail Latitude Longitude OccurredAt Radius LocationMapImageUrl LocationMapUrl
Then
Virtual Buttons 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 trigger the Alexa Routine attached to your Virtual Button.
virtual_button

Services used in this Applet

Create your own Group Location and Virtual Buttons 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

Any member enters an area

Pro 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 when any member of the group enters an area.

Any member enters or exits an area

Pro 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 when any group member enters or exits an area.

Any member exits an area

Pro 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 when any member has exited an area.

First member enters an area

Pro 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 when the first person in a group enters an area, meaning only one person from this group is in the area.

First member enters or exits an area

Pro 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 when a member in the group enters or exits an area.

First member exits an area

Pro 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 occurs when the first member of a group exits an area, meaning one person has left.

Last member enters an area

Pro 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 when the final member has entered an area, meaning all members are in the same area.

Last member enters or exits an area

Pro 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 when everyone in the group has entered or exited an area.

Last member exits an area

Pro 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 when the final member exits an area, meaning all members have left the area.

Push a Virtual Button

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 trigger the Alexa Routine attached to your Virtual Button.

Any member enters an area

Pro 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 when any member of the group enters an area.

Any member enters or exits an area

Pro 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 when any group member enters or exits an area.

Any member exits an area

Pro 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 when any member has exited an area.

First member enters an area

Pro 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 when the first person in a group enters an area, meaning only one person from this group is in the area.

First member enters or exits an area

Pro 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 when a member in the group enters or exits an area.

First member exits an area

Pro 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 occurs when the first member of a group exits an area, meaning one person has left.

Last member enters an area

Pro 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 when the final member has entered an area, meaning all members are in the same area.

Last member enters or exits an area

Pro 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 when everyone in the group has entered or exited an area.

Last member exits an area

Pro 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 when the final member exits an area, meaning all members have left the area.

Push a Virtual Button

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 trigger the Alexa Routine attached to your Virtual Button.

Build an automation in seconds!

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

More on Group Location and Virtual Buttons

About Group Location

Group Location allows you to start automations based on the location of everyone in your Group. Group members must download the IFTTT app on iOS or Android and enable location permissions. Save money, increase your safety, and stay connected with group-enhanced location Applets.

Explore Group Location

More integrations with Group Location

About Virtual Buttons

Trigger Alexa Routines with Virtual Buttons. Simply enable the Virtual Buttons Alexa skill and then use this service to unlock Alexa Routines as an IFTTT Action. To connect with this service, you must log in using a Patreon account. See www.virtualbuttons.com to learn more.

Explore Virtual Buttons

More integrations with Virtual Buttons

IFTTT helps all your apps and devices work better together

Get started for free