Create Alexa Routines for Smart Devices
Use the Alexa app on your mobile device to create Routines that automate how your compatible Echo devices and smart home devices work together.
Video: Creating a Routine for your Smart Devices
To create a Routine in the Alexa app on your mobile device:
Go to the menu and select Routines.
Select the + icon in the top right corner.
Select When This Happens, and then choose how to trigger the Routine. For sensor routines, select your installed motion or contact sensor.
Select Add action, and then choose which action it completes. To receive a push notification when a motion or contact sensor is triggered,select Send notification.
Under From, select which device controls the routine.
Tip: To modify or delete a Routine, go to the Routines section in the Alexa app. Choose a Routine listed in the Enabled section to make your changes.