Questions tagged [dialogflow-es-fulfillment]

Dialogflow ES is a natural language platform owned by Google. (Formerly known as just Dialogflow or as api.ai.) A fulfillment in Dialogflow ES allows an intent to perform operations on input parameters and return an output. Use this tag when issues arise with building fulfillments. For questions about the Dialogflow ES API or UI, use the dialogflow-es tag. For the similarly named, but incompatible, Dialogflow CX, use the dialogflow-cx tag.

Dialogflow ES is a Natural Language Understanding system from Google and was formerly known as "Dialogflow" or "api.ai". It provides NLU processing for relatively simple conversations.

One of the components of Dialogflow ES allows developers to create code in a webhook fulfillment to apply business logic after an Intent has been matched to process the input from the user and apply any business logic to determine a response.

The webhook is called after the user input has been processed and narrowed into a defined Intent. If you are interested in writing code that sends user input to Dialogflow via an API, manipulates the conversational model, or otherwise handles the response after it has been processed by a webhook, you should use the tag.

For the more complex, and completely incompatible, NLU system from Google called Dialogflow CX, which also includes a visual flow editor as well as an API and fulfillment system, see the tag.

778 questions
2
votes
1 answer

Cannot bring data from Firestore in Dialogflow Fulfillment (In-line Editor)

I am using Dialogflow to build an Action for Google Assistant. Everything works, except the Fulfillment of my intent. I am using the Inline Editor (Powered by Cloud Functions for Firebase) to fulfill the intent. My function in itself runs - since I…
2
votes
0 answers

How can I use Dialogflow-fulfillment library while utilizing the serverless architecture?

I'm setting up a lambda function using serverless that will be invoked through a Webhook in Google's NLP Dialogflow. My end goal is to be able to use the dialogflow-fulfillment library. I have tried reinstalling node_modules by doing "npm install…
2
votes
2 answers

Send fulfillmentText and move to another intent with followupEventInput

I've set up a simple webhook with Python/Flask to deal with various Dialogflow fullfilments. Everything is working quite well on that point. The bot is integrated to Facebook Messenger with API V2 of DialogFlow The problem is that, in regards of the…
dernat71
  • 365
  • 4
  • 16
2
votes
1 answer

How to set dialogflow webhook headers with dynamic values by code?

Is there a way to set webhook headers by code? I'd like to send an authorization header to the fulfillment webhook but I need to set it dynamically from code (using nodejs) At the moment my headers are empty.
ddalbosco
  • 169
  • 1
  • 5
2
votes
0 answers

Dialogflow Push Notification setup not working for actions_intent_PERMISSION

I am trying to implement the Push notifications as described here: https://developers.google.com/actions/assistant/updates/notification Here are the steps I followed: Register Action for the Intent as Implicit Invocation in Google Actions. As you…
2
votes
1 answer

Malformed Ressponse: Webhook error on getting response from dialogflow web hook

I'm calling the AWS Lambda repo using AWS CloudAPI for the fulfilment of Actions on Google(AoG). Everything works fine using actions-on-google NodeJS client except the error when which arises while calling from the AoG simulator producing "...isn't…
2
votes
0 answers

Dialogflow textToSpeech fulfilment not reading aloud the text

I am providing users with a response on an audio only device (e.g. google home), when I respond with a textToSpeech field within a simpleResponse, the speech is not read out in the simulator. Has anyone experienced this and know how to fix? I've…
2
votes
1 answer

How to stop dialogflow always returning dates that should resolve to today as tomorrow

I'm having an issue where when Dialogflow resolves @sys.date-time parameters for my intent with text something like '5am', they come back as tomorrow when they should be today. (Today as of now is 2019-04-08, not 2019-04-09 as…
cdharris
  • 61
  • 5
2
votes
1 answer

Read an excel file in fulfillment of DialogFlow

Is it possible to upload an excel/json file for a bot and read through it by code written in the fulfillment after an intent is matched. example, I have a dictionary in excel format, I want to take user input and for that word return the meaning.…
Sonali Gupta
  • 494
  • 1
  • 5
  • 20
2
votes
3 answers

Dialogflow + external API + Google Cloud Functions *without* Firebase: how to return fulfillment response?

I'm trying to build a Dialogflow chatbot that fetches data from an external API via Google Cloud Functions, but without using Firebase. Despite extensive searching, I have not found any good examples or templates of this; it seems like all the…
2
votes
0 answers

Linkout suggestion is not showing to Alpha/Beta tester on Google Assistant using Dialogflow

I am using link out suggestion on my bot in some of my intents and my bot is deployed to my testers on google assistant using dialogflow. But link-out suggestion is not displaying to my testers but its displaying on my developer account. So I want…
2
votes
2 answers

adding custom JSON payloads for TELEGRAM in Dialogflow to get users to share their phone number

the function below is supposed to provides the fulfillment to the share_your_phone_number intent. When the intent is invoked, the share your phone number keyboard is displayed for the user in telegram. function share_your_phone_number(agent)…
Terungwa
  • 61
  • 1
  • 6
2
votes
0 answers

TypeError: Cannot read property 'simpleResponse' of undefined at DialogflowConversation.response

So I have gotten TypeErrors many times before when playing with actions-on-google and dialogflow, however, this property is from what I can understand not in my code but rather in "DialogflowConversation". Therefore i can't understand what possibly…
2
votes
1 answer

Programmatically set fulfillment webhook for DialogFlow

The DialogFlow documentation explains how to configure the Fulfillment webhook address using the web UI. Is there a way to set it programmatically, calling any of the DialogFlow APIs?
Ron Harlev
  • 16,227
  • 24
  • 89
  • 132
2
votes
2 answers

Actions on Google - Close mic without closing the app, or workaround suggestions

Is it possible to close the mic without closing the app? Or any suggestions to the below explained situation are very welcome: I've found some posts already asking for this, but they have about a year old so I wonder whether there's something…
maganap
  • 2,414
  • 21
  • 24