Search code examples
webhooksactions-on-googledialogflow-esfulfillment

How to implement fulfillment for alpha/beta releases actions google


I've been developing on Actions on Google using Dialogflow. The webhooks worked like charm when using the simulator for testing.

I published an Alpha released but it isn't working at all. The Alpha testers can't get it connect and when I tested that Alpha version on the simulator, it tells " isn't responding right now. Try again soon."

In the documentation "Releasing Your Actions to Alpha and Beta Environments", a paragraph reads: "Implement fulfillment for alpha/beta releases The release channel information is not included in the HTTP request from the Assistant to your fulfillment. To handle release channels in your fulfillment, you should provide different fulfillment URLs (for example, one fulfillment URL for the beta and another URL for the production version of your Action)"

I searched everywhere and I could not find any pointers on how to implement a new fulfillment for the Alpha (and eventually the published release). I have one url that I use in the fulfillment on Dialogflow, so how can I do otherwise?


Solution

  • The same webhook will work for all the versions, (at least it is working for aplha in my case), check for one of the following cases...

    1. Make sure you have added Alpha testers' mail addresses to alpha testers list, otherwise they will not be able to access the alpha release.
    2. Make sure you have deployed the latest updated version of agent on actions on google page. If not do so, enter image description here If you are getting a "modified action" message like this, that means you have a change that is not yet deployed.
    3. Deployment of agent is not instant and takes quite a bit of time to get accessible on Google actions platforms. Check the current release status of your latest deployment, it should show "deployed", if it's showing "deploying" you have to wait for some time to get it deployed.

    4. If all of the above is Ok, test the alpha release and check out your web-hook log (even check if web-hook is at least receiving the requests or not) , that will be the only place where you will find any possible error.