In the Actions Console, I click on the Add Action Button and the browser sends me to the Dialog Flow Essentials page. There, I've created an agent what works. However, in the Actions Console, no action seems to be created.
How can I use my google home device to interact with the DialogFlow agent? Am I missing some step in the Actions Console UI?
On the integrations window in dialog flow, click on the google assistant integration
You will receive the above pop-up window where you can configure the action that will be triggered and if you want to make some changes to the integration you will need to click the manage assistant app option and the follow window will open.
Here, you can specify how the action will work and when you are done configuring it. You will be able to deploy it . You will need to introduce a few more things, so with this, your action will be totally personalizable.
Related
I am developing a custom action for google assistant.
In order to get user data and other user info. I need allow account linking flow.
My Account Linking flow:
Open the Google Assistant app on Android or iPhone.
Say the Action – "Talk to My test app”
Read and agree to the Action Terms and Conditions that appear on the screen.
Sign in with Web app.
Go back to Google assistant and ends linking flow
Everything works properly. But once account linked, I am not able to test the flow again
Could anyone suggest, how to unlink my account and test the above account linking process again? Thanks in advance
During development you can unlink your account via the actions on google console. If you navigate to the test window, you can see a settings button on the top right, click that and a setting pop-up should open. There you should look for an unlink button.
This will unlink your account, so when you restart the conversation for your action with this account, you will be prompted to sign-in again via accountlinking. This also works if you are testing on your phone. You just need to make sure that the account on your phone and the simulator are the same.
We are currently using the B2C_1_SignInNative User Flow in an Android and iOS app. That user flow has a User Name and Password UI as well as a "Don't have an account? Sign up now" optional flow.
We are using the out of the box customisation capability to show a custom wrapping page into which the standard UI is injected. This has served us well while the app has only been available as private release however we will soon be moving to public app store so will be inviting users outside of the app and the app B2C flow will be sign in only.
We'd like to remove the "Sign up now" flow from existing installs. Is it possible to remove that? Alternatively are we allowed to add some custom CSS to our wrapping page to hide the link?
UPDATE
So we definitely can add some custom CSS to hide the "Sign up now" action but unfortunately the page and contents are cached in the app browser. We are relying on the Microsoft.Identity.Client library to show the browser UI
It seems that you are using a "Sign up and sign in" flow.
In order to not have the "Sign up now" option, you can create a "Sign In" only flow by selecting one of the bellow during flow creation:
I'm working with actions on google and dialogflow, and recently they proposed google signin to make account linking fast without writing own oauth server.
Today I implemented their google signin in my dialogflow app it is working quite fine but unfortunately I am unable to delete that account to check all development aspects, I tried my other google accounts and my friends account but soon ended up out of accounts
Un other methods when i enable and disable testing it forget about linking but in google signin it is tightly stick with the account, and i have tried almost everything i can try like restarting my phone and clearing cache of chrome browser but it looks like it is saving account somewhere in cloud.
What i need to do is, when i sign in first time it ask for name permission, i need that screen again and again for testing something
Google calls this Removing a Website or App that has access to your account. It is done using the myaccount.google.com console.
If you want to do this using Android, the easiest way is to:
Open your device's Settings app Settings app and then Google and then Google Account.
At the top, tap Security.
Under "Signing in to other sites," tap Signing in with Google.
Tap the name of your project.
Choose Remove access.
Through the web, you can go to Apps With Access to your Accounts:
Scroll down to the "Signing in with Google" section
Locate your project.
Select it, and choose "Remove access"
The name that is shown should be the name you've given to your project as part of the OAuth screen. If you haven't set that up (and if you're just playing around, you probably haven't), it will use the Project ID for your project. You can find this on the Cloud Console home screen attached to the same project name that you used in Dialogflow and the Action Console.
While you're in there, you will probably want to configure the OAuth screen to have a name for the app as it will be visible to users on the OAuth screen. From the menu, select "APIs & Services" and then "Credentials"
Select the "OAuth consent screen" tab, and fill in the "Application name".
This name should then be in the list of applications you have installed, and can remove.
I am developing a new google home app. The google action is written in Dialogflow. The web hook is written in node js using JOVO framework. The action requires account linking with OAUTH.
I am trying to simulate and test "first time user" or "new user". In JOVO this is handled with a handler called NEW_USER.
I am looking to create the correct testing conditions so NEW_USER is triggered, unable to do so. Tried the following
1) https://support.google.com/googlehome/answer/7126338?co=GENIE.Platform%3DAndroid&hl=en - this contains a section in Step 2 to unlink the app. This does not work as described , as my action is yet unpublished I do not see it in the section as described, so I cannot unlink it.
2) I go to dialog flow and force a change in some intent - this seams to unlink my account. So now when I open my action "ok google , talk to XYZ" it asks for account linking - however, after account linking it does not go to NEW_USER handler, it seams to remember that I am not a new user.
3) Go to my OAUTH server and logout the user - google assistant still remembers that user is not new user
4) Create a new OAUTH user from google home app while doing account linking - even then NEW_USER is not triggered. The google assistant still remembers and does not treat me as new user.
Is there a way to create conditions to test a new user on google home?
Just a side note, this is easy on Alexa. In Alexa app, if you disable your skill and re-enable it, all previous history is lost and NEW_USER is triggered. So I am able to test "first time user" condition for developing Alexa.
We had success using the account linking URL provided in the Google Assistant Simulator and clicking on "unlink my accounts": https://gala-demo.appspot.com/
I have a Standard Web Application hosted control in USD. In that web app, I have javascript that is doing a window.open("http://event/?eventname=[MyEventName]"). The event has an action to navigate, but it is only navigating in the current tab; it doesn't create a new tab. Any ideas as to what I'm missing?
In response to the Event, it is necessary for your Action Call to call the Navigate Action on the desired Hosted Control, or "tab." Based on your description, it seems as though your Action Call is calling the Navigate Action on the Standard Web Application that is raising the Event. Instead, call the Navigate Action on some other Hosted Control, the one that you want to actually perform the navigation. If no Hosted Control exists for this purpose, it will be necessary to create one.