Since last week there's a new Gupshup functionality in which in order to add a new bot, I can paste in the JSON of the Dialogflow agent.
Where do I get that JSON?
When I export the agent from Dialogflow as ZIP, and unzip it, I have 2 folders (entities + intents) and an 'agent' JSON + 'package' JSON (image below).
Do I have to take the agent.json and put it in Gupshup?
I did that, and deployed it on Telegram to test it (I don't know other way to test it). It's not working. It does not answer anything. I did the Telegram set up correctly.
Thank you in advance.
In Dialogflow Console. Click On The COG icon
Click On The Google Project
Once in Google Console. Click on The Hamburger Icon
Then a JSON file will be downloaded to your local machine. Copy-paste the content into the JSON field. Your Dialogflow agent will be linked.
Happy Coding. :)