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
1
vote
1 answer

Account linking with Google Sign-In: "Wrong recipient, payload audience != requiredAudience"

I'm trying to make account linking with Google sign-in Linking type. For conversation using Dialogflow. To get user information, fulfillment in node.js was written, using this guide https://developers.google.com/actions/identity/google-sign-in. But…
1
vote
1 answer

Custom Dialogflow Fulfillment response

I am trying to return an object as a response from Dialogflow fulfillment. I wanted to return some object to be handled later by my front end but I am getting an error: Error: Unknown response type: "{"fruit1": "apple", "fruit2": …
brian3415
  • 65
  • 1
  • 7
1
vote
2 answers

Actions on Google card carousel response: Images not being displayed

This is the response I'm sending from the webhook: conv.ask(new Carousel({ title: 'Carousel Title', items: { 'AU': { title: 'Australia', subtitle: '', image: new Image({ url:…
1
vote
2 answers

DialogFlow fulfillment for Facebook Messenger Webview

Button to open web view on Facebook Messenger keeps opening a browser, on mobile and desktop I've created Facebook Messenger Bot, created a Test Page and a Test App, currently receiving webhooks from every message on DialogFlow, which respond…
1
vote
0 answers

Getting error when i am setting context in dialogflow using fulfillment

When i am trying to set context for fetching user parameters,it is throwing error on agent.context.set method. exports.dialogflowFirebaseFulfillment = functions.https.onRequest((request, response) => { const agent = new WebhookClient({ request,…
1
vote
1 answer

I am returning a fatal error function must be a string in my php webhook for database fulfillment

I am returning a fatal error saying function must be a string in my webhook database fulfillment. I want to be able to read and write to MySQL database $firstname (isset($update["queryResult"]["parameters"]["firstname"]) ?…
1
vote
1 answer

How do I pair actions and parameters from one user message

So i'm creating a chatbot, where users can ask faq's and place orders for items for loans. One bit i'm struggling with is how to pair paramaters and values when a user makes an order for multiple things in one sentence. So for example: User wants to…
Elrin
  • 13
  • 4
1
vote
2 answers

How to create table in dialogflow-fulfillment

In actions-on-google we can add table like : const {dialogflow, Table} = require('actions-on-google'); const request = require('request'); const conv = new DialogflowConversation(request); conv.ask('This is a simple table example.'); conv.ask(new…
1
vote
0 answers

I want to switch languages in my dialogflow chatbot

I have made a chatbot with intents in English and Hindi language with English as default and integrated it with slack but I want to change the language to Hindi in the chatbot when I reply in hindi or maybe pass a intent which switches the language.…
Kunal Rai
  • 340
  • 2
  • 6
  • 15
1
vote
0 answers

Accessing data in Google Sheets for fulfillment with Dialogflow

I'm trying to create a custom Google action to turn on machines in a facility and log who is using them and for how long. How do I access Google sheets without using a service account? So far, I've essentially just copy pasted from this.…
1
vote
2 answers

Dialogflow returning a "Sorry I can't help" message after three interactions

This issue started this morning (21 June 2019) affecting ALL our dialogflow agents. Previously they have been working fine, though we had observed this behaviour occasionally over the past month, but found it difficult to reproduce. Now we can…
1
vote
1 answer

Is there a way to send the response that's returned from dialogflow (fulfillment) to another account

I am using slack with dialogflow fulfillment to create a chat bot. Can userA send a message to dialogflow and dialogflow return a response to userB?
1
vote
1 answer

DialogFlow - Routing user questions to Knowledge Bases

I am trying to achieve a specific use case with DialogFlow. I have a list of countries and a knowledge base Q&A ser for each country. The questions for each country is similar, only the answers differ. So I have to detect the country as an entity…
Arjun
  • 21
  • 3
1
vote
2 answers

Regarding retrieving prompts

[We have a Dialogflow bot consisting of two intents. Each intent contains some set of questions. The user answers the questions(prompts) and this process continues. We are getting the fulfillment text only after the intent is completed but we need…
1
vote
3 answers

No response from Knowledge Base in Dialogflow

I want to make Frequently asked questions and answers bot in dialogflow. I have Q&A files, so I am used knowledge base in dialogflow .i have the 6-7 file i make documents in the knowledge base. but when i ask question bot not sending any…
harry
  • 37
  • 1
  • 5