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.
Related
I've been playing around with DialogFlow but I don't see any way for it to receive my support emails. Am I missing something or is that not allowed?
How do I get DialogFlow to receive my emails?
Dialogflow is not designed for this particular usecase. It is designed for creating chat agents, so you get out of the box integration with messenger, slack etc.
However you can programmatically send emails to Dialogflow using SDK and receive the responses.
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.
I have a Dialogflow agent which is integrated in an app and a web version. I want to integrate this chatbot with Chatbase to get analysis metrics of the bot. However, as of chatbase documentation we cannot integrate Dialogflow hosted bots with Chatbase but if I have a server in the middle of my app and chatbot which is saving all the data, can I integrate chatbase with it?
The typical way to integrate Chatbase is to have it called as part of fulfillment. This requires you to set each Intent to use fulfillment, but you can still set the reply as part of the Intent, if you wish. In your webhook, you would call Chatbase to record the event, but not return any response in the webhook, and Dialogflow will use the Response set in the UI.
Chatbase reports are built upon user messages and intents, however there is value in sending us the bot messages to provide context to the Transcripts feature. You can create a server to server integration to send us the JSON payloads in real time, or in batches of up to 100.
Im using fulfillment to get data from database. And I have integrated my bot with facebook.
And currently I'm customizing db response as per facebook in my api itself and sending it to the dialogflow.
And I want to integrate it with skype too.
Now my question is, can I customise my api response in dialogflow instead of in API. As I want to integrate my bot with multiple platforms so accordingly their response will be formatted as per facebook or skype.
So i will need to create another api for skype too. I want to avoid this.
So I want to get output from my api and format it in dialogflow itself using custom payload. So is it possible to work in this way?
Sure! You get the stored data using your API and then you format the response for the platforms you are going to use. In this example, the payload contains different responses for Google Assistant, Facebook and Slack.
Also, take a look at this NodeJS library which makes easier develop your fulfillment code.
I'm looking for a webhook which is able to work with a proxy, because in my company I have to set up the proxy every time I use a software. I want a webhook for dialogflow, and the language I'm using is Python 3.6.
Webhook is basically a web service. depending on the way you write the webhook you have to configure it for the proxy(without taking a look at your current implementation it is hard to tell what is wrong.). there is nothing you can do about that from the dialogflow. basically dialog flow will send your web service a post request and for that you have to send a response. that is how dialogflow webhook works. also your webhook will only work if it is hosted somewhere or you a have publicly accessible IP address. otherwise how could it work.