I use one click integration in dialogflow + google cloud function for fulfillment. I want to accept user attachment in LINE chat platform.
If I use Facebook messenger, I can use FACEBOOK_MEDIA event to trigger the intent when user uploading some files.
Is there any event that can help me do the same for LINE platform? Or is there any way to trigger dialogflow intent when LINE user upload some files to my chatbot?
Related
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
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.
Is it possible to upload a file from the local phone storage to a server using dialogflow assistant via webhooks?
If yes can you please tell me how will the workflow be?
Thanks in advance.
It depends on integration. For Facebook Messenger you would have to add FACEBOOK_MEDIA event in your intent. On each file sent to your bot you will get a request where you can find file url in incoming json: originalDetectIntentRequest.payload.data.message.attachments[0].payload.url
I am not aware of similar events for other integrations.
Chatbot need to get files from the user (from Skype channel) and then save it into database
I haven't find any sample code or any document related to this requirement.
I have found out the this could be achieved using events. e.g. whenever user upload a file, treat it as a events and then trigger the intent and do the coding in fulfillment as per the requirement.
In case of facebook messenger, there is events "FACEBOOK_MEDIA", but what should I use in skype channel.
We are trying to develop an application with Google Assistant. We already have a chat bot data source. Is it possible to connect Google Assistant to a third party data source instead of using Dialogflow. So in the final solution the Google Assistant will act as speech to text and text to speech medium.
Yes, you can take a look at the Action SDK, which will POST to your webhook containing a JSON payload that includes the speech-to-text, and receive a response from you a JSON payload consisting of your reply.