Posts

Showing posts with the label dialogflow

How to use Dialogflow's fulfillment code with Kommunicate

Image
Clash Royale CLAN TAG #URR8PPP How to use Dialogflow's fulfillment code with Kommunicate Sorry if this question is dumb but I don't have much experience using Javascript or Dialogflow yet. I have a Dialogflow bot that I've integrated through Kommunicate into a test website. The bot works with responses set through intents, but fulfillment code seems to not run, as any response that's set through fulfillment doesn't happen. The fulfillment is coded through the inline editor. Here's some responses set through intents: And here's a response set through fulfillment: Here, you can see the fulfillment response working through the Dialogflow console: And finally, here you can see that it doesn't work through Kommunicate, but the intent response does: I'm pretty sure my problem is that fulfillment code just isn't running on Kommunicate, and needs to be integrated into Kommunicate in some way that I don't know of. Does anyone know what I need to do? E...

Initiate dialog using Dialogflow, Twilio & Node Js.

Image
Clash Royale CLAN TAG #URR8PPP Initiate dialog using Dialogflow, Twilio & Node Js. I am trying to find a way to trigger a Dialogflow event from Node Js to start a conversation with the end user. For example, I'd like to send a text message to the end user reminding them about their appointment and ask them for a confirmation. As I understand it, I would need to initiate the conversation with the end user, and programatically set the entities and context in Dialogflow. Any insights on how I might achieve this? i.e. DIALOGFLOW AGENT: Hi John, I'd like to confirm you appointment for 2pm this Thursday? By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Why does @sys.any sometimes take entire input successfully as action and other times doesn't in dialogflow?

Why does @sys.any sometimes take entire input successfully as action and other times doesn't in dialogflow? I need to capture the entire statement that user says into a variable and am using @sys.any for it. Why does it need to learn, can't it blindly just take everything into the variable specified for it in actions and parameters? By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.