I am trying to import variables from GA voice commands that can then be used in scripts/automations in HA. Researching the topic I see this used to be doable with IFTTT or Dialogflow but not anymore - and the discussions on this are relatively old, so hoping there is some new solution out there!
Essentially, I want to say something like “Hey Google, add XYZ to playlist” and then have HA pick up “XYZ” and use that as a variable in a script.
Unfortunately not (currently at least). I was using the IFTTT integration to do this, and was not happy when Google removed it. Then I switched to any.do because it could work with google and HA, but then Google removed that integration too.
Google has introduced the Script Editor where you can build more advanced routines, but it doesn’t support variables in the okgoogle event (see here). So no luck there either.
I moved over to using HA Assist with various devices, but none of them worked terribly well (eg. Atom Echo, old-timey phone, Pi + conference speaker). I recently bought the HA Voice PE and that seems to work pretty well. However I have a Google device in every room, but only one PE, so have lost some location flexibility.