SCODEMeetup / ChatBot

Encompassing full food request workflow and ChatBot at Hands-On as initial project
GNU General Public License v3.0
0 stars 0 forks source link

Twilio Functionality #1

Open MathematicsCLtd opened 6 years ago

MathematicsCLtd commented 6 years ago

It would be great if we could have the bot interact with the user over the phone via voice. Someone said that could be done using Twilio. There are instructions here for setting it up: https://www.linkedin.com/pulse/build-conversational-ivr-60-minutes-twilio-studio-ameer-badri/. I tried setting it up and it is not working. I’ve been working with support from both Twilio and Dialogflow. Both are making suggestions, but I don’t understand things well enough to set it up. The Twilio instructions are for Dialogflow V1, but our bot is in Dialogflow V2. I changed Twilio to V2, but not sure if the code still applies. The most recent email from Dialogflow is: V2 supports audio request, you may check this documentation on how to send an audio request to Dialogflow: https://dialogflow.com/docs/reference/api-v2/rest/v2/projects.agent.sessions/detectIntent#request-body

MathematicsCLtd commented 6 years ago

https://www.twilio.com/docs/sms/whatsapp/api?utm_source=facebook&utm_medium=cpc&utm_campaign=3Q-Twilio-Whatsapp-Retargeting&utm_content=FB-WhatsApp-Retargeting-Site_Visitors-Video-V1

Suggestion from @mihiramin89

MathematicsCLtd commented 6 years ago

Twilio GitHub suggestions from @vijayyadav06:

https://github.com/twilio https://github.com/twilio/twilio-chat-ios

TheAnig commented 6 years ago

Working on it, I've done an initial spike on how things work. Looking at what's needed for switching over to V2