actions-on-googleactions-builder

Google Assistant taking over the commands given to my action


There have been triggering problems with my action since a few days ago. The queries that should have been handled by my action were routed to Google Assistant main flow. This happens on both Android Phone, and Google Home.

Steps to repro:

I'd expect Assistant to stay in Tinker Doodle conversation, and feed the input to my action.

This makes Tinker Doodle almost unusable. Can you help with this?

I configured the NO_MATCH system intent to call my webhook, since I use my own NLP.

This worked well on Android Phone and Google Home, until a few days ago. There is no problem running in simulator on Action Builder.

Here are the screenshots of the main scene and NO_MATCH intent from Action Builder.

enter image description here enter image description here


Solution

  • It isn't clear, but this sounds like it may be related to recent announcements that, in some cases, phrases that don't match a specific Intent may cause your Action to close so the Assistant can handle the phrase instead.

    Even besides this, handling things with NO_MATCH is generally undesirable, since that will only happen three times in a row before the Action is forcibly closed.

    Instead, you should create an Intent that can handle "any" input and route that input to your handler using this method. That involves:

    1. Creating a new Type (I usually call it "Any") that accepts Free form text

    Creating an Any type

    1. Creating an Intent (which I have named "matchAny") that accepts values of this type through its training phrases (or even just one phrase that accepts a value of this type)

    matchAny Intent

    1. In your Scene, add this as an Intent that can be matched, and then set the handler for your webhook when it does.