Is it possible to have DialogFlow read your emails and create responses? - dialogflow-es

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.

Related

How to send multiple response from Dialog flow using different type of rich responses

Is there any way to create a Dialogflow response like this?. After providing all those required values user will hit Confirm. Then the intent will get triggered. I'm planning to integrate my bot into Facebook, Telegram, and WhatsApp

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.

Chatbase integration with Dialogflow chatbot which is integrated in an app through a third party API

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.

Intercept fulfillment response

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.

Is it possible to connect Dialogflow (Api.ai) with Slack so that humans can monitor and possibly even intervene or add to the conversation via Slack?

I know Dialogflow (Api.ai) can be a bot in Slack. But what about monitoring the conversation and possibly manually intervene in the conversation? If possible, what would be the general direction to implement this?
So Slack has Open APIs for interacting with the Slack App. Here
Since you want to monitor the conversations so Events APIs and Conversations APIs would help you to notify as well as capture the conversations.
conversations.history will help you to fetch the messages within public or private channels.
Since you want to intervene in the conversation then I suggest using chatbot, which will provide a suitable way to intervene and respond to some particular events. Bot Users
Dialogflow has an sample on how to do this: https://github.com/dialogflow/agent-human-handoff-nodejs
You'll have to build you own front end for the human to override the response and call the Dialogflow query API to integrate:
Slack <--> Front end w/human override <--> Dialogflow's query API <--> Dialogflow Agent
Yes, it's possible. Just login to DialogFlow with your Google credentials, then on the left sidebar you can see the Integrations Tab. Click on it. You will find a bunch of different integrations for line, telegram, Twilio, kik, Viber, Skype and a lot more.
Click on Slack. It will ask you for some details for connecting with endpoints such as client ID, token, client secret. You can get it from the Slack API. You can also check the Slack API integration link here. After everything is properly set up, click the "Test in Slack" button in the DialogFlow Slack integration.

Resources