I am following this link to integrate my chatfuel with api.ai and it worked for me.This script is in Nodejs and uses runkit environment to generate endpoint.
Now I want to integrate both the platform using php and publish it to my own server. I have used this repository which also worked quiet well for me.
Now using PHP script If I want to reflect any smalltalk response from api.ai to my bot, it's working fine. but if I want to call a block of chatfuel from custom payload of api.ai it is not going through. Can anyone please help me on this .....
I am getting "Sorry,Chatbot is Error" error.