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
0
votes
1 answer

MediaObject in Actions on Google throws an error while using test simulator

I get a response something like this "Sorry, something went wrong. When you're ready, give it another try." This happens when I change the surface to Speaker mode or Smart Display mode. It does not appear while testing in the Phone mode. Following…
0
votes
1 answer

Getting the user's timezone in fulfillment

I'm using Dialogflow alongside the Actions on Google and I'm looking to save content to a database with the date as they key. Is there a way to get the user's correct timezone date? I don't want to request location permission. I've tested other…
0
votes
1 answer

How to change Google account linking default text

I'm building an action using Dialogflow fulfillment library and had to integrate Google sign in account linking to the action. With new SignIn("some text"), "some text" is displayed and then the rest is the default text! I wonder if it is possible…
0
votes
1 answer

Dialogflow doesn't perform web requests

I wrote a little js file that returns departure of public transport. This is what I expect: const dvb = require("dvbjs"); dvb.findStop("NUP").then((data) => { console.log( "Abfahrten für "+data[0].name+ " in " +data[0].city+":" ); …
0
votes
0 answers

Action-on-google local development project, navigate main file to another file

I have created simple Action-on google project and build Action with dialogflow. In Dialogflow Intents are "welcome intent" -> follow-up-yes And then fulfillment enabled (firebase http request) with local development project. in my local project,…
0
votes
1 answer

Access @sys.age from fulfillment DialogFlow

I have defined a parameter named age of the type @sys.age When trying to access it through fulfillment, its showing no output in the first line and falls into the else clause. function EntryPointHandler(agent) { const number =…
Sonali Gupta
  • 494
  • 1
  • 5
  • 20
0
votes
1 answer

Get user message on flask-assistant

I use flask-assistant on python 3 with dilaogflow as a webhook. I looked at the official documentation and I don't find how to get the user message ("queryText" on dialogflow json request). I tried this with no success: # -*- coding: utf-8 -*- from…
mee
  • 688
  • 8
  • 18
0
votes
3 answers

How to call an API inside a cloud function?

I'm working on an Actions on Google chatbot using Dialogflow and Cloud Functions. The runtime is Node.js 6. Why does this function return the empty string? function getJSON(url) { var json = ""; var request = https.get(url,…
0
votes
1 answer

Authenticate Custom App(Voice App) in Google Assistant

I want to Login into my custom application that is using the voice user interface. Explanation: We can link a netflix account with google home, similarly how can I link my custom application which needs to get authenticated before using it. What is…
0
votes
1 answer

Edit firebase functions created by dialogflow

I'm creating an Action for Google Assistant with dialogflow. The tasks in background are handled in javascript in the fulfilment section. I'm a beginner, so I don't want to use my own server here. However the fulfilment js-file is actually a…
0
votes
1 answer

DialogFlow "remind me every 4 hours query"

I am trying to create a reminder app on dialogFlow. I have variety of user phrases screenshot given below. I am facing an issue in my one of user phrase highlighted in red . When a user say Remind me every 4 hours to bla bla bla It returns me…
Qadir Hussain
  • 8,721
  • 13
  • 89
  • 124
0
votes
1 answer

Webhook call failed. Error: 500 Internal Server Error

https://dialogflow.com/docs/tutorial-build-an-agent/create-fulfillment-using-webhook I want to try this example out but after I follow the step on this page It's give me Webhook call failed. Error: 500 Internal Server Error { "responseId":…
blueman010112
  • 456
  • 1
  • 7
  • 19
0
votes
2 answers

How can I save data in storage from the response to an external API

We are using firebase cloud functions for our fulfillment and an external rest api for our crud operations. We have one intent with a few followups and it looks like this - Create Note - - Create Note - fallback* - - - Create Note - fallback -…
0
votes
1 answer

How can I receive input from user without defining training phrases for Actions on Google

We are building a note taking action and want to receive input from a user that can be free text or undefined (a note that we won't know the contents of). We are using Dialogflow and our fulfillment is defined in a webhook. I've read that we can…
0
votes
1 answer

Making a POST request in webhook in an Actions on Google app.intent

We are creating an action that will take user's input and create an entity in our database (datastore). Ideally, we would like to be able to access the user's raw input audio, but it doesn't seem that is possible. As a work around we are going to…