Questions tagged [fulfillment]

115 questions
1
vote
0 answers

Communicating with DialogFlow from SPA with v2 API

I am having trouble understanding how to connect a DialogFlow Agent with an Angular SPA using v2 of the DialogFlow API. I want to create a custom component for my chatbot so I don't want to use iframe. With version 1 of the API, one could recreate…
1
vote
2 answers

How to get external api data using inline editor in dialogflow

I've got a Dialogflow agent for which I'm using the Inline Editor (powered by Cloud Functions for Firebase). When I try to get external api data by using request-promise-native I keep getting Ignoring exception from a finished function in my…
Abdul Rafey
  • 91
  • 1
  • 7
1
vote
1 answer

How to simply respond to a dialogflow webhook fullfilment based on the parameters and intent that is sent

I'm quite new to nodeJS and I want to know how could I make a server that will respond to dialogflow's webhook fulfillment based on the intents and the parameters in dialogflow.
1
vote
0 answers

How to send mp4 response to action on google

I'm making action on google assistant. How to send video response via fulfillment to action on google?
1
vote
1 answer

Shopify_api Ruby Gem not creating fulfillment

I have a csv that we upload to an app and I want that csv with Order Number and Tracking Number to then go in and mark the order as fulfilled and put in a tracking number on each order. When coding this, my Intellisense is not picking up the…
Ian Brown
  • 69
  • 12
1
vote
1 answer

Dialogflow sending image back to webhook fulfillment

Am able to send image or Card back on /webhook route because sender is included in request object. But sender is not included in /ai (fulfillment webhook url). request({ url: 'https://graph.facebook.com/v2.6/me/messages', qs:…
1
vote
3 answers

How to exit conversation in DialogFlow Fullfilment for an Action

I have an action which is a simple word game and upon completing the game should exit the conversation. I want the action to support Google Assistant and speaker based devices ( mobile phone etc) so i am handling the intent in a general…
SanthoshN
  • 619
  • 3
  • 15
1
vote
1 answer

DialogFlow Fulfilment connecting to REST APIs

I want to use Dialogflow fulfillment to connect to an external webservice / API. One way of doing that is to use the custom webhook feature (not the inline web hook). However, when using the custom web hook it seems that you are limited to creating…
Risteard
  • 318
  • 2
  • 12
1
vote
1 answer

How to use dialogflow Fulfillment Inline Editor to save users names and moods on a realtime database?

I built action on google using dialogflow for experience sampling purpose. It's idea is: it asks specific users about their mood 3 times per day. It sends these users then every week a weekly overview about their mood after it has been analysed by…
1
vote
1 answer

Dialogflow - Dealing with user discrepancy when coding fulfilment

When coding fulfilment for Dialogflow (API.AI) is there a way to deal with discrepancies in user responses without having to do a full if statement for all the possible ways a user could say the same thing? A.K.A the manual way. For example, if I'm…
1
vote
1 answer

Writing into a local excel workbook form Dialogflow webhook

As part of chat bot operation, I want to write out conversation entity values to an excel sheet. More like a logger. And I am using it as a separate function inside the webhook fullfillment code (nodeJS) using excel4node. Wanted to know if and how…
Ulhas Shetty
  • 51
  • 1
  • 7
1
vote
1 answer

How to show multiple basic card as a response in dialogflow webhook

I want to send three basic cards as a response to the user through JSON response via fulfillment in python. So is there any way to do it? P.S. Basically, I want to show three buttons to a user for call, mail and call on office, but as Basic card…
Jay Patel
  • 2,341
  • 2
  • 22
  • 43
1
vote
1 answer

Dialogflow : followEventInput

I want to use follow-up intent. My user says something which launch an intent, send a response and launch another one, which sends a response and launch another one... I use those function function…
Grublixx
  • 29
  • 1
  • 6
1
vote
2 answers

How to create intent in DialogFlow Fulfillment by code?

I've started learning DialogFlow, I want to know that how can I create an Intent in Fulfillment by code, instead of creating it by GUI. here is my existing Fulfillment code: 'use strict'; const functions = require('firebase-functions'); const {…
Jay Patel
  • 2,341
  • 2
  • 22
  • 43
1
vote
1 answer

Dialogflow (Custom Payload and Webhook Enabled)

I have noticed that you cannot have a custom payload on one intent and enable Webhook on that intent. Anyone else encountered this issue? I have contacted Google Support, but received no response from them. I tried to set it in the fulfillment, but…
user8459437