Alexa & Echo guide · Based on my original video
How to Create Alexa Routines: A Beginner’s Guide
A useful smart home starts with a small task you want to stop repeating. In my routines walkthrough I showed the trigger-and-action idea, including a back-door sensor turning on porch lights at night. Here's how to build toward that without making the first routine complicated.

The main takeaway
Start with one voice trigger and one light or plug. Test the action and trigger separately, then add schedules or sensors only after the basic routine works.
Best for
Beginners with Alexa-compatible devices who want their first reliable automation.
Before you start
You need an exact match to a different Echo generation or software interface. Check the model and feature notes below before following older demonstrations.
Device or topic
How to Create Alexa Routines
Original walkthrough
2022-01-29
Start here
What is an Alexa routine?
What helps
- A written companion to my hands-on video
- Practical setup steps and examples
- Model and software differences called out
What to know
- Sensor support and available events vary
- A routine can depend on a manufacturer account or cloud skill
- The old video includes trigger options that may no longer be offered
What is an Alexa routine?
A routine links an event to one or more actions. The event might be a phrase you say, a schedule or a supported device event; the action might be turning on a lamp or playing an announcement. Think about the result you want first. My back-door example was useful because it solved a specific problem: I wanted porch lights when the door opened during the evening. You do not need to begin with that much hardware. A single voice-triggered lamp routine is enough to learn how the event, action and output device fit together.
Check the device before building the automation
Add the light or plug through its supported setup process and test it in the Alexa app. Some products need a manufacturer skill and account link, while others have a different supported connection path. If the accessory needs its own hub, an Echo does not automatically remove that requirement. Check that the specific action you want is exposed in Alexa. A sensor may be visible without providing the exact trigger you expected. Troubleshooting is easier before several routine actions depend on that device. Give it a clear name now so it is easy to select the right one later.
Create a simple voice-triggered routine
Amazon's current setup uses an event and an action. Older versions of the app may label the event When this happens. For the first attempt, choose a phrase that is distinct from a normal Alexa command and one accessory you can see from where you are testing. For example, a custom evening phrase can switch on a desk lamp. Save it before adding extra conditions. The point is to prove that the routine works end to end, not to create an impressive list of actions on the first attempt.
- Open the Alexa app, choose More, then Routines.
- Select the plus button to create a routine and give it a clear name.
- Add an event and choose a voice phrase offered by your app.
- Add a Smart Home action for one compatible light or plug.
- Review any device or output settings, save, and say the phrase to test it.
Understand room groups versus routines
A room group organizes devices; a routine describes something that happens. Create a room group for the office and put the appropriate Echo and lights into it. That can make normal room-based commands easier. A routine can then do something more specific, such as setting those lights and starting another action together. Do not make a separate routine for every ordinary on/off command if a sensible room group already solves the problem. Clear naming helps in both places. Avoid several devices called Light or Plug when you need to pick the right target from a long list.
Build toward the porch-light example
In the original video, my back-door sensor triggered the porch lights during a defined evening window. To reproduce that idea, you need a sensor whose open or closed event is available to Alexa and a supported light or switch. Confirm both separately. Then choose the door event, add the lighting action and set the available time conditions. The hours shown in my old video were for my household, not a universal schedule. Test outside the restricted window too, so you know it stays quiet when it should. If you also want the light to turn off, plan and test that behavior explicitly.
Add actions gradually
Once a routine works, add one action and test again. A bedtime routine might switch off selected lights and adjust another supported device. The order, output speaker, volume and conditions can matter, so read the settings attached to each action. A routine that plays sound on the wrong Echo can be technically running while appearing broken to the person who requested it. Keep a note of the intended result and avoid adding a long chain of actions you have not tested individually. It is much easier to identify the last change than to debug an entire house at once.
Troubleshoot the event and action separately
First try controlling the target directly in Alexa. If that fails, fix the accessory connection or skill before editing the routine. If direct control works, use the routine's manual run option where available to check the action sequence. Then test the real event: the exact voice phrase, sensor state or schedule. Review time zones, active days, conditions and whether the routine is enabled. A manual run can prove the actions work without proving a sensor event is reaching Alexa. Keep those two tests separate. If the routine becomes disruptive, disable it while troubleshooting rather than leaving it to run unpredictably.
Buy only what your routine needs
A smart plug is useful when it solves a simple lamp-control task, but check its electrical ratings and the appliance's behavior when power is restored. It does not turn every appliance into a fully controlled smart device. For a door or motion routine, choose the sensor by its actual hub and Alexa event requirements. The original walkthrough also shows options such as Guard that should not be copied as a current feature list. Use the events offered in your account now. Start with what you own, then buy the one missing piece required by an automation you can describe clearly.
Sources and feature checks
More Alexa, Echo and smart-home guides
What Can Echo Dot Do? A Guide to the 5th GenerationEcho Dot Max Guide: Music, Smart Home and SettingsAlexa Tips and Tricks: Get More From Your EchoCommon questions
Do I need a separate hub for Alexa routines?
It depends on the accessory. Check its required connection method and which events or actions it exposes to Alexa.
Why does the routine run manually but not automatically?
Its actions may be working while the event or conditions are not. Check the trigger, active times and sensor events separately.
Can one routine run several actions?
Yes. Add them gradually and check their order, output devices and individual requirements.
Compare before you buy
Which Amazon Echo Should You Buy?Watch the full walkthrough