1
votes

I'm working on an app that need to handle Call actions from the Google Assistant.

I've managed to implement the Call action (actions.intent.CREATE_CALL) and make it work.

Sentences that are working (My app is starting and I receive the right intent):

  • "Call {Name} on {App name}"
  • "Audio Call {Name} on {App name}"
  • "Video Call {Name} on {App name}"

But, what I want to achieve is to add a new entity-set to handle different call formats. For example:

  • "Private Call {Name} on {App name}"

     <parameter name="call.callFormat">
         <entity-set-reference entitySetId="entityCallFormat"/>
     </parameter>
    
     <entity-set entitySetId="entityCallFormat">
         <entity identifier="PRIVATE_FORMAT" name="private"/>
     </entity-set>
    

Unfortunately is not working, when I pronounce the sentence "Private Call {Name} on {App name}", the action is handled by the default Contact/Phone app for calling that person.

I'm doing something wrong? Or what I want to achieve is not possible by using Built-in intents.

Edit: After uninstalling and installing the app (without changes) the initial sentence "Call {Name} on {App name}" is not working anymore, (Only from Actions Tool). Also "Open {App name}" not working anymore.

1
how you able to make sentences work, as I am trying it but not succeed in it as it is working using Actions Tool but not with voice command. I am following developers.google.com/assistant/app/reference/built-in-intents/… .Abdul Momen Khan

1 Answers

1
votes

The actions.intent.CREATE_CALL built-in intent is currently in beta and only supports invocation via a preview created from the App Actions test tool. Until it leaves beta, the built-in intent may behave unreliably when invoked directly from Google Assistant.

Can you please clarify whether you were using Assistant or the test tool, when you attempted to use the inline entity-set?