api.ai Agent for Burner
[earlier versions of this tutorial reference api.ai. Google acquired api.ai and renamed it dialogflow]
On your Burner account, enable the Developer Connection from the Developer Console.
Generate an incoming webhook
Make a note of your agent's token, obtainable from the settings button.
Deploy the api.ai+burner bot to your Heroku account by tapping the button below. This will install the bot as an app running on your heroku account.
When prompted, enter the Copy and paste the incoming webhook url that was generated above into the
incomingwebhookurlfield, and your API agent's client access token into the
accesstokenof the Heroku form.
Tap "Manage" after the app has finished deploying to heroku.
Find your heroku url under
Settings -> Domainsand paste it into the Outgoing webhook field on the Burner developer console with
/listenappended to it. e.g. if your heroku url is
myapp.herokuapp.comyou would use
https://myapp.herokuapp.com/listenas the outgoing webhook url. Make sure you add
httpas well. __you must append /listen to the url in order for the app to hear the texts it is being sent.
That's it, you're done! Send your newly configured Burner number a text and it should reply back. The first time you send a message it might take a few seconds to reply, so if it doesn't reply immediately be patient.