Can't edit Google Smart Home Action sample invocation - actions-on-google

I want to edit the sample invocations showed in the actions directory, but I can't find the Sample Invocations section in my Directory Information section.
I can find only short description and full description.
But in the action directory, under the title: "ASK YOUR ASSISTANT" there are a lot of sample invocations and not all of them are relevant.
How can I edit them?

Invocation is associated with a display name that represents a brand, name, or persona that lets users ask Assistant to invoke your Actions. With assistant actions you can define your own invocations but for Smart Home the sample invocations are defined based on the traits your device supports and are defined by Google.
For example, you can say the following phrases to invoke three separate Actions in an project with a display name of "Facts about Google":
"Ok Google, talk to Facts about Google"
"Ok Google, talk to Facts about Google to get company facts"
"Ok Google, talk to Facts about Google to get history facts"

Related

Flash card template fuctions according to her own will

I made an action on Google where the assistant asks a question regarding country name and the user tells a country name to describe its demography. But the Flash Card template I used knows the answer and doesn't takes user's answer. I want to make it user driven and not assistant driven.
I tried other templates but none of them solves this.

What is the access for a display name I'm given when invoking an action?

When creating my action I'm asked to use a display name for the invoking of the action on the assistant:
Display name is publicly displayed in the Actions directory. Users say or type the display name to begin interacting with your Actions. For example, if the display name is Dr. Music, users can say "Hey Google, Talk to Dr. Music", or type "Talk to Dr. Music" to invoke the Actions.
What I'm a little confused about is in order for the user to invoke my action do they have to say "Talk to xxx"? Or are they allowed to say what's is used for the 'display name'? I see some actions use a name or command and others use the "Talk to".
An example is if my display name is "food store" as an registered app or company can I have the user say "order 20 carrots from food store" or does it have to be "Talk to food store"?
All Actions will be able to be invoked using "Talk to display name". This is like going to the URL of a website directly. This is known as explicit invocation.
You can also make your Action explicitly invokable with additional parameters, so you can say something like "Ask display name to order 20 carrots". These are invocation phrases. This is like going to the URL of a website, but being able to directly type in a path on the site.
In some cases, if a user asks the Assistant a question, or asks it to do something, the Assistant may identify an Action that can do that. This is something like doing a Google search on a question, and Google either providing a link to a website or providing a portion of the site in the sidebar of the answers. This is known as implicit invocation, and while it may work, it is not guaranteed that it works for any specific invocation. In general, your action can suggest phrases that will work, and the more specific those phrases are, the better chance they have of being accepted.
You may also register your Action to handle specific built-in intents. These are phrases that have already been crafted to meet user requests, and that the Assistant will know to pass off to you, since you can handle the request. You can think of them as being similar to smart home requests for other activities. There are a limited number of these intents, but if you have an action that fits the category, it makes sense to support it.

Unable to invoke DialogFlow agent via explicit invocation

I am unable to invoke a intent say, "ABCwelcomeintent" which has event trigger of "GOOGLE ASSISTANT WELCOME". This intent has been mapped to explicit invocation in Google integration settings and synced with actions list.
The training phrases include ABC and talk to ABC (both). I am able to invoke by just saying talk to ABC to Google Assistant.
Can we invoke the app by just saying,
ABC
only and not
talk to ABC
I want to invoke bot without trigger "talk to" and just only ABC. Such way is not mentioned according to the official documentation. Please update the official documentation if there is a way.
The reason for this is my current live bot is unhealthy according to health check probe bot by Google which tries to invoke the bot by just querying "ABC". So I also need to do the same way. And this Health check probe bot will take down my live bot from Production to obsolete.
You may use implicit invocation to make Google Assistant suggest user to use your Assistant App. Otherwise, for explicit invocation, you will need to say "Ok Google! Talk to", "Hey Google! Speak to", "Ok Google! ask" to start the conversation with your assistant app.
It sounds like you have two different issues here.
Health Check
The health check is done through an automated process that sends a payload identical to what it would send if a user triggered it, with a flag indicating it is the health ping. No user actually says anything.
If the health check is failing, then it means that your service isn't responding in some fashion. Check your logs and Dialogflow's logs to indicate what might be happening - is your webhook responding? Are you sending back invalid data? Is Dialogflow misconfigured? There may be many reasons for this. In order to figure out which, we would need to see a lot more information to help you - details of the error Google is reporting from the health check, your Dialogflow logs, the results of your own testing in the simulator, etc.
Name Triggering
Triggering based on just the command "ABC" is a separate issue - there are many ways that your action could be invoked.
All Actions will start with "Hey Google, talk to " or "Hey Google, ask ".
If you have identified specific built-in Intents that your Action can handle, you may also have registered these.
Additionally, Google will identify Implicit Triggers that it may suggest to users that might trigger your Action. You have little control over this, but this is somewhat like SEO - if your Action does this, then Google may suggest it.
Finally, users can setup a Routine or Shortcut which triggers your Action when they say "Hey Google, something".

Dialog Flow - Integration issues with Google Assistant

We are working on project using Google Home.
Details:
We have built certain intents in Dialog Flow. It has certain follow-up questions to get the parameter values, as a multi-turn dialogue. When testing using Dialog Flow, test console, I am asking
Can you help in booking a table: It prompts back with right question (Where do you want to book a table) as configured in Dialog Flow
Where do you want to book a table : I answer - "Some Restaurant". It prompts back with right question (When do you want to book a table) as configured in Dialog Flow
When do you want to book a table: I answer: "Today" . It prompts back with right question (For how many guests) as configured in Dialog Flow.
For how many guests? - I answer: "4 people." It ends the conversation, as configured in Dialog Flow.
The above conversation works perfectly fine as expected.
When I test using the integration for Google Home (using simulator with action SDK) [See how it works in Google Assistant]
Invoke the app (by using the explicit invocation - Talk to [APP NAME]) - App gets invoked with the right greeting message as configured
After that when I ask the questions as mentioned - above - app leaves the conversation? Nothing is answered back.
Not sure why this issue is happening - anything I am missing in the configuration?
Walk through your intents and make sure the 'set this intent to end conversation' is not set to enabled in Dialogflow (and if you're using a webhook not ending there). Look down at the Responses section in DF.
Start with Welcome Default intent, and then check each intent, all follow-up prompts.
For personal gmail accounts, the Web&App activity, when turned on, it automatically gets enabled.
For gsuite accounts, even when the Web&App activity turned on, it needs to be enabled by the admin of that organization. Only after when it is enabled, the simulator will behave as expected.
I think Actions straight up doesn't work for some (all?) Gsuite accounts, regardless of what permissions you set. Google knows but doesn't care. I spent weeks in an Actions support conversation on this topic and they ultimately punted me to the Gsuite team, who couldn't help. See also:
Sorry, this action is not available in simulation
Actions on Google won't respond to explicit invocations

Can I trigger a Google Assistant action without a conversation?

I'm trying to develop an action for my Google Assistant. I'd like for it to be fire and forget type deal (i.e. 'Add x to my todo list').
The problem is, the assistant won't recognise the command without me first starting a conversation with the assistant app that the action exists within.
(Hey Google, I want to talk to ... )
I'm using webhooks to call a webserver that will handle the request.
I can't use IFTTT in this instance as it needs to be available for everyone in my home. (IFTTT actions are private or public to EVERYONE)
Is there any way to trigger an action without having to say anything else (besides 'Hey Google')?
There's a few ways to complete a quick action. There is implicit triggering, when your action gets matched based on a certain set of requests.
You: Hey Google, add paying taxes to my to-do list
Google: Ok, for that you may want to try talking to My App.
You: Okay
My App: Ok, added paying taxes
That may work, although still may require an extra step with the Google Assistant. Alternatively, you can also launch a specific intent in a conversation without a full conversation.
You: Hey Google, tell My App to add paying taxes to my to-do list
Google: Ok, getting My App
My App: Ok, added paying taxes
A third alternative would be to use the Google Assistant shortcuts feature which will take something you say and interpret that as something else. It only works for static utterances, so it may not work in your case.
You: Hey Google, add paying taxes to my to-do list
Google: Ok, getting My App
My App: Ok, added paying taxes
In this scenario, you'd need to have the shortcut "add paying taxes to my to-do list" to be interpreted as "tell My App to add paying taxes to my to-do list".
If this is designed to be used by several people in your home, you may need to think about how and whether each account should be able to access the same lists.