Google Assistant Created in DialogFlow Endpoint Changes - dialogflow-es

I have created a Google Home app in DialogFlow and have since had the app published by Google. I am assuming that I can change the fulfillment endpoint address in Dialogflow and this won't affect my live app - my assumption being that a packaged version of the app together with the endpoint at submission time is what is running on the Google Assistant.
Does anybody know if this assumption is correct?

No, this assumption is not correct.
By default, changing the fulfillment URL in your Dialogflow project will change it for the live Action.
Although there is some information that is generated when you release an Action built with Dialogflow (the Intents and Entities, for example, get turned into entries for the Assistant), the fulfillment URL is not one of them. The Assistant sends it to a special URL on Dialogflow's servers, and Dialogflow then sends it to the URL you've specified.
However, you can look into the Dialogflow Beta feature that supports versions and environments to see if that will do what you want.

Related

Access to the management of scenes in the action builder for a google assistant agent to allow identification of users

I have built a google assistant agent with DialogFlow. I plan to use it as a chatbot. It works rather well as it calls my webhook page. The problem is that I need an id to differentate users. Unfortunately There is no such id in the json I receive in my webhook.
I try to follow the instructions of https://developers.google.com/assistant/identity/google-sign-in#configure_the_project , to receive this id in the webhook . But the process mentions the creation of a scene and unfortunately I can not do this with the version of my Actions Console: It does not have a menu to manage scenes.
Does anybody know how to solve this ? or more generally to get the id of the user or of the device in the webhook ?

Create Service Now (SNOW) incident from Google DialogFlow

I have a free SNOW developers instance ,and i want to be able to raise an incident from Google DialogFlow. I have the user name and reason for the call transcribed into text and need to pass it to SNOW to create the incident. I have already created an integration where i can query the status of a SNOW incident from Google.
Here you go, you can do this with fulfillment.
Enable fulfillment on that intent.
Write it in NodeJS or JAVA or python.
Raise the ticket from your fulfillment (use service now API make http call from your server)
Once you get the response, send the ticket number back to google assistant, reply to the user.
This the way you can implement this. Directly from dialogflow you can not integrate any other 3rd party API.

Telephony Responses Using Dialogflow Webhook

I'm trying to integrate phone gateway with my dialogflow agent. I have a webhook code that takes care of responses for my intents. The agent works perfectly in the google assistant. However, while using telephony gateway I'm only getting the Default Responses and not the webhook ones.
The issue is, most likely, that you are using the actions-on-google library to send responses back. This library sends responses that are specific to Actions and don't work with other Integrations.
You can try switching to the dialogflow-fulfillment library.

DialogFlow simulator operates differently from the web integration

I am trying to develop an agent using DialogFlow. When doing this, it is possible to debug the agent via the link https://console.dialogflow.com/api-client/#/assistant_preview .This (sort of) works as far as it allows me to interact with my agent etc. On the DialogFlow integrations page I can create a "Web Demo". Typing in exactly the same interactions with the web demo when trying to perform user sign in fails, where as on the simulator it works.
This may be similar to Dialogflow Agent works in Google simulator, failed in console and web link
Surely both methods of interaction should work the same way otherwise this is impossible to test with any level of confidence.
User sign-in is an Assistant feature that Dialogflow supports, but it is not a Dialogflow feature.
The Web Demo is just that - a demo. You can use the Dialogflow Detect Intent API and provide your own authentication system through that if that's what you're trying to do.
If you're looking to test just the Dialogflow interaction, you can test that using the simulator on the right hand side of the page.

How to create a custom webhook in Dialogflow based on Azure?

So I would like to implement Dialogflow fulfilliment using a custom node.js webhook. I've created a node.js app in Azure (I have my own .azurewebsites.net site), however I'm not quite sure how to link it to Dialogflow. How do I do this? Thank you.
On the dialog flow side Go to dashboard and click on fulfillment on side bar provide the web hook and basic authentication and headers.
On nodeJs make sure you provide POST Webhook API where dialogflow app sends requests.
Are you familiar with Express or any other framework to create REST APIs with Node?
There are tons of material on the web, but this is a starting point if you like.
In this link you'll find the documentation that shows which fields will be posted to your endpoint and those that you'll want to send back to Dialogflow.

Resources