Need help to call my own api in api.ai - webhooks

I am trying to configre api.ai with my own restful API.
Here i am getting issue when trying to get response from webhook.
can anyone help me in this?

Here is a small video I created for creating webhooks for API.AI
https://www.youtube.com/watch?v=1cD9vU7Ubyg&t=31s
Please comment if you still face any issue.

Related

Facebook custom payload stripped from webhook fulfillment

Hoping someone can provide some guidance here. I have a fulfillment webhook in place which is preparing responses to send back to Facebook Messenger.
Text and images work fine, but I'm having trouble with audio files.
This is what my server outputs:
And this is what I see in the raw interaction log for Dialogflow. For some reason the custom payload is missing:
Does anyone know what might be causing this?
I have found the issue here. The Facebook custom payload should have been under the payload entity which I was missing. Below is the correct JSON structure:

creating userid on dialogflow using twilio

please help. Im trying to make user specific userid on dialogflow using twilio integration with OriginalDetectIntentRequest.
I am trying to do this in fullfillment. So a Node.js solution would be best
Thank you

Dialogflow and heroku Webhooks

I have created a Dialogflow agent which is integrated with telegram bot. The bot answers all the questions to which is trained. Now I want to create a webhook to which the Dialogflow agent will fetch the queries ( e.g weather , movie ratings etc )say from another website. How do i carry it out. I have googled but so far not successful. can any body suggest basic tutorial for the above or examples.
thanks
You can check out my answer here. Most of the part would be helpful. Once you tested it locally you may follow this to deploy NodeJS code on Heroku.

How to retrieve and update data from database using Dialogflow chat bot

I am very new to api.ai(Dialogflow). In my scenario i have to create a chat bot who should be able to update customer information in the real time database by taking the input from customer.
I am not sure how to do this. By some research i understood either by writing code in firebase function it is possible or by writing webhook and deploying to server.
But i am not understanding how to write the code. Any one can give any suggestions or any reference so that i can start coding.
I tried to write by seeing the weather webhook but did not understand this.
Any help is appreciated.
Thanks

How to post data using webhooks?

I am new to using webhooks.
I want to implement webhooks in opencart.
I have array of data which i want to post on the server but i dont have any idea how to do this.
Any help in this greatly appreciatable.
Thanks

Resources