How to integrate API.ai (dialogflow now) with appdaemon as webhook

I read in the appdaemon docs that once we setup our dialogflow component in our configuration.yaml file, we could get access to the intents directly in appdaemon thru the HASS API I presume.
However that is not working for me and there is not enough detail in the appdaemon docs regarding this setup in the google home helper section.
Could anyone help me with this?

I’m in the same boat, I’m getting “App Not Found” when hitting /api/appdaemon/apiai

@aimc Any help here ?

This bit confuses me:

but is enabled by adding an ad_port directive to the AppDaemon section of the configuration file

I just gave this a go as well as I was planning to do so anyway. I also seem to only end up with a 404. I also have spaces in my app names but want to register REST endpoints for each app so I tried to use this command:

curl -i -X POST -H "Content-Type: application/json" http://192.168.55.139:5050/api/appdaemon/Downstairs%20Hall%20Motion%20Lights -d '{}'

Ah ok - it looks like the doc might be wrong and the directive should be “api_port”. It also looks like (from another thread) the port has to be different from the one being used by HADashboard. I’ve got to the point where I get a 500 Internal Server Error, but looking through the appdaemon error log I can see that is being caused by a misconfiguration in my app - so the REST API is actually working now

I’m afraid not - I don;t have a Google Home and that was contributed code from another forum user.