Unrecognized Deep Link Fallback not working in simulator - actions-on-google

I'm having trouble triggering my unrecognized action fallback intent. When I start the app with an unrecognized implicit action the default welcome intent is triggered. I followed the instructions on this page https://developers.google.com/actions/dialogflow/define-actions. The fallback intent has an input context of google_assistant_welcome, and the action name is deeplink.unknown. The default welcome intent has no contexts, and has GOOGLE_ASSISTANT_WELCOME in it's events section. What am I doing wrong?

The solution for me was (in addition to all your steps): add a training phrase of literally "any phrase" and mark the entire phrase as #sys.any.
Those are the steps outlines in Google's Actions on Google codelab (see "Define a custom fallback intent") to add a fallback for an unrecognized deeplink.

Related

Siri parameter resolved with NeedsValue is taking the user to the main app

I am working on an app that is incorporating Siri with custom intents and configurable & resolvable parameters, but I am seeing some unexpected behavior and wondering if anyone has seen this.
When a parameter is resolved with “needsValue” in spotlight it will continue in the main app, I am expecting it to prompt the user for the value needed. In the Shortcuts app the shortcut runs as expected and prompts the user for the parameter value.
Step-by-Step if anyone wants to give it a shot or check with their project:
Start with a project that includes Sirikit and parameters.
Enable configurable & resolvable for a parameter
Resolve the parameter with “needsValue” in the intentHandler.
Run the shortcut in spotlight

Expected result: Siri would prompt the user for the needed value for the parameter
Actual result: The user is taken to the main app

I was also able to reproduce this in the SoupChef sample project Apple provides by adding a new String type parameter and resolved that method with .needsValue in OrderSoupIntentHandler.
In the intentHandler the settings I have are:
Widgets: ✅ Intent is eligible for widgets
Configurable in Shortcuts: ⧠ Intent is user-configurable in the shortcuts app and Add to Siri
Suggestions: ✅ Intent is eligible for Siri Suggestions
Any help would be very appreciated, thank you!
Apple has answered my feedback assistant submission and identified a potential fix via an OS update

Remove Invocation Requirement for Alpha Released Google Home Action

Can a private, alpha released, action remove the need to use the phrase "talk to [my app]" in invocation?
For example, is it possible to invoke the action by saying:
"Ok Google, tell me my agenda." Automatically invoking the private action.
In contrast to, "Hey Google, tell My App to tell me my agenda."
Implicit invocation seemed promising, but further research made me think it was just a way for Google to suggest your app to a user. Am I mistaken in this interpretation?
Implicit invocation is a feature, similar to built-in intents to invoke an action directly without the talk to my app prefix. These features should work for public as well as alpha release actions.
I don't know if agenda specifically will be supported, as that is something that can be handled directly by the Google Assistant, but a query like play a game will suggest your alpha released action.

Publishing actions on google failed with unclear message

Every time I try to publish my actions on google for alpha release it denies the request with this unclear error message:
For en: Your sample invocations are structured incorrectly. Make sure they all start with a trigger phrase, include either your app name or pronunciation, and successfully invoke your app.
My trigger phrases all passes the invocation page rules and it works fine in the simulator. this is my invocation phrase
Talk to Doctor Electronics
Any one has a clue?
It sounds like it is talking about the sample invocations configuration, which is in the Directory information page of the console for your Action under the Details section. Make sure these phrases are correctly structured and make sense for your action.

DialogFlow Actions on Google: dialogflow-helper-intents-nodejs Tutorial - Query Pattern is missing for Custom Intent

I am attempting to use the tutorial located here: https://github.com/actions-on-google/dialogflow-helper-intents-nodejs
I have created an entirely new agent to make sure none of my existing intent settings are causing this. I import the file helper-intents-examples.zip and modify NOTHING in ANY of the intents. I go to Integrations->Integration Settings, add all of the intents, and hit test, and I get the following error for every single second turn intent:
Request contains an invalid argument. Query pattern is missing for
custom intent 'X'
I have found no tutorial that doesn't result in this error for the confirmation/rejection/permission response intents. This error is incredibly generic and unhelpful in solving this issue.

Error Message (Query Pattern Missing) When Trying to Publish Google Action

I get error message when try to publish actions and submit it for review. It says query pattern missing on default welcome intent. My query pattern is not missing at all. Can someone please explain to me why I get this error and how to fix it so I can submit my action? I have submitted my question to tech support and ofcourse nobody has ever responded to my message. Thank you for any help that you can provide.
Here is screenshot of the default welcome intent.
Thank you for any help that you can provide.
I was getting this error because i had added two languages(English and Hindi) and i haven't added any training phrases for Hindi. So either add training phrase for all languages or remove the language u don't need in the intents. This solved the problem for me.
I got this error because I had an intent in the "implicit invocation" list that was triggered by an event from the fulfillment server.
The implicit invocation list should only contain deep-linkable intents such as "OK Google, ask Personal Chef for a hot soup recipe". Not callbacks/returned events without a spoken trigger.
You can edit the implicit invocations under Integrations > Google Assistant.
I have figured out what's the problem and how to fix it.
The problem is occurring because at once, you had not input the query and you would have tried for submitting the project but the error prompted. After writing the queries, you again went to Actions Console for submitting the project but again it showed the same prompt.
Now the problem which occurred is that actions console was not updated with the dialog flow. To update the console, you have to go to your project settings and then go to 'Environment'. There you have to create an environment and then publish it. Then head towards actions console, there you will be able to submit you action.
Learn about environment here.