I am trying to send a messages to my phone using the response variable according to a guide online. When I run the automation, I get an error saying my response variable is undefined:
“Error rendering message: UndefinedError: ‘response’ is undefined”
Did I miss something when setting up the automation?
Please paste the entire YAML for the automation, correctly formatted. Note that when you manually run an automation, only the actions section is run. If your service call to populate the response is not in the actions section, that bit won’t be run and response will be undefined.