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.
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.
-
Open home.google.com/automations and sign in to your account.
- Click Add new.
- On the right of the screen, under "Help me script," tap Try it.
- 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.
- Describe the automation you want to make.
- Click Copy and paste the automation into your script.
- Edit the script to make sure that it works as you intend and is free from errors.
- Click Validate to verify your script is able to run. You can't activate an automation with errors.
- 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.-
Open home.google.com/automations and sign in to your account.
- Click Add new.
- At the top right, click More options Opt out of data sharing.