Notification

To get the most out of Google Home, choose your Help Center: U.S. Help Center, U.K. Help Center, Canada Help Center, Australia Help Center.

Create home automation scripts with AI 

Help me script is an experimental feature for script editor that uses generative AI capabilities to help you write scripted automations for your home. With this feature, you can describe the automation you want, and it will generate a script for you to edit and use.

The use of generative AI with the script editor is still experimental. It's available on Google Home for web as part of the Public Preview for a limited time.

Help me script works best when prompts are written in English. Home automations require the use of supported smart devices. Devices need to be added in the Google Home app to the home where you want to create the Routine.

Important: All household members can check when these Routines run. Routines are for convenience only, not safety- or security-critical use cases. Don't create Routines that could result in injury or harm if they fail to start or stop. Routines can depend on working internet, Wi-Fi, and service availability from both Google and the third parties who manufacture the devices included in Routines. Routines may not always work, and Google isn't responsible for any harm or losses incurred due to failed Routines.

How to draft automation scripts using AI

This feature is experimental. Scripts generated with this feature may not work as created or could have unexpected results. Check and test all parts of the script for errors including device names, that the script will work as intended, and edit it where necessary before activating and running a script written by Help me script.

  1. Open home.google.com/automations and sign in to your account.
  2. Click Add new.
  3. On the right of the screen, under "Help me script," tap Try it.
  4. Read and accept the terms and conditions.
    • Optionally, you can also allow Google to use your interactions and script outputs to help improve Google's generative AI models, products, and services.
  5. Describe the automation you want to make.
  6. Click Copy and paste the automation into your script.
  7. Edit the script to make sure that it works as you intend and is free from errors.
  8. Click Validate to verify your script is able to run. You can't activate an automation with errors.
  9. Click Save to add your automation to your home or save in-progress work. If your script is valid when you save it, your automation automatically activates. If you don't want it to run yet, turn Activate off.

Learn more about how to write automation scripts and how to get additional help.

Sample prompts

  • "When I wake up in the morning, start the coffee maker, and play my favorite playlist." 
  • "Lock the doors and turn off the lights when I go to bed."
  • "Use lights and TVs to make my house look occupied when I arm the security system."
  • "Send me a notification when the doorbell rings but nobody is home."
  • "Suggest an automation to keep the air fresh when I'm cooking."
  • "Run the vacuum on Tuesday and Friday when I’m away, and stop it when I arrive home."

Opt out of data sharing

Sharing your interactions with Google is not required to use the Help me script feature, but can help improve Google's generative AI model. If you opted in to sharing your data with Google, you can opt out any time. Note: Data that has already been used and disconnected from your account cannot be deleted.
  1. Open home.google.com/automations and sign in to your account.
  2. Click Add new.
  3. At the top right, click More options and then Opt out of data sharing.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
8448179995278564141
true
Search Help Center
true
true
true
true
true
1633396
false
false