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
10
votes
2 answers

Why can't rich messages be displayed in Messenger since they are shown in the internal tester?

I have a Dialogflow chatbot. In the Dialogflow internal tester everything works fine, but in the version displayed on facebook I cannot get the cards or suggestions. Even when I replace them with code from another working chatbot. const functions =…
10
votes
4 answers

Error: Request unsafe for browser client domain: dialogflow.googleapis.com

I'm setting up a DialogFlow wrapper and I'm using the DialogFlow JavaScript SDK. But, I'm getting the following error: Error: Request unsafe for browser client domain: dialogflow.googleapis.com This was working before, but I'm not sure why it…
6
votes
0 answers

How to re-order Intent response messages or auto chain Intents in Dialogflow?

I am using Dialogflow and have x amount of Intents setup in a particular structure including both contextless intents & follow-up intents. With this I have 1 default "Welcome Intent" that has a simple Text Response. However I also have a Google…
baikho
  • 5,203
  • 4
  • 40
  • 47
6
votes
2 answers

Webhook call failed: URL_REJECTED error in DialogFlow v2 Fulfillments

Error description Upon calling DialogFlow v2 detectIntent API, we randomly get an internal error with status code 13: Webhook call failed. Fetch failure with no HTTP status code. Status: State: URL_REJECTED Reason: 67 This error seems to happen…
5
votes
1 answer

How do I use async functions in dialogflow?

I'm getting the error as "async functions' is only available in es8 (use 'esversion 8')" I tried putting "esversion:8" in inline code, package.json but its not working out and function is not getting deployed. Code: index.js 'use strict'; 'use…
5
votes
1 answer

Can Dialogflow response time limit be modified?

I am making a bot on dialogflow with a webhook. I get an error : DEADLINE_EXCEEDED. My webhook takes a bit over 5 seconds to return a response. Is there a way to allow a longer time than 5 seconds ?
5
votes
3 answers

Cannot Read Context in Dialogflow Fulfillment (Suddenly Undefined)

We built a Dialogflow agent using google cloud functions as webhook which worked properly until yesterday evening. At that time I exported the agent and reimported it later on and it worked for a while. What stopped working is that…
4
votes
1 answer

How to perform Firebase Authentication using Dialogflow

I was wondering if anybody has tried to implement a Telegram chatbot that requires the user to login. I have an intent in dialogflow that requests the user's login ID (their email) and password, but I have no idea how to code that in the…
4
votes
1 answer

Dialogflow: Set multiple contexts using fulfillment library (node.js) in Dialogflow

I'm trying to set/change multiple contexts based on user's response. For this, I am trying to set output context by agent.setContext() using fulfillment library through inline editor (node.js). I want to delete contexts set by intent in dialogflow…
4
votes
1 answer

Handling of NO USER INPUT in dialogflow

I have an intent "Reprompt" in my agent with event value as "actions_intent_NO_INPUT" and Action value as no.input but still my agent triggers "Default Fall back intent" in case of no user input. I need help to understand how to have my agent…
4
votes
1 answer

Google DialogFlow V2 mysterious error in fulfillment (Google Assistant simulator empty response, request, error tab)

I am facing a mysterious error in my application. (Google Assistant + Fulfillment written in NodeJS running on Firebase) My application is about buying gasoline. If you want to buy something else like apples it will ask back. If want to buy…
4
votes
2 answers

How to access previous conversation details in Dialogflow fallback intent

What would be the best way of accessing the previous conversation details when Dialogflow maps the input to a fallback intent? We'd like to steer the user back into the right direction by re-prompting the last suggestion chips that were given. The…
3
votes
0 answers

Mock time with dialogflow

I want to write integration test cases for Dialogflow intent querying. Is there any way to send a request with the time mocked? I don't see anything about this in the documentation. I can send a post request as follows: POST /query sample HTTPCURL…
3
votes
1 answer

Hiding quick response options after using them once in a Dialogflow-Kommunicate chatbot

I am implementing a chatbot with Dialogflow and have used Kommunicate to integrate it to a website. I want to hide/ disable quick responses after they are once used. How can I do it? An example of how quick responses are displayed in my bot is given…
3
votes
1 answer

How to add Suggestion Chips through Fulfillment for the Dialogflow Messenger integration?

So I have the Dialogflow Messenger embedded in a website and want to add some Suggestion chips. It's easy through the Custom Payload Response type and they show up just fine. But how do I add them through fulfillment? I currently have a custom…
1
2 3
51 52