I have specific requirement like i have to create API in php that will fetch instruction from alexa skills for e.g i will speck to amazon echo device "Alexa, Can you please find company name of Mr.X" then echo will send some variable or text of my speech as return value of my php API.
After then i will find company name from my own database and i need to send company name to amazon echo as reply for question asked by user...
Step by step:
- Fetch instructions from Echo.
- Sends the instruction to my database and search for asked thing(Comnay name of mr x)
- Database returns the answer to my API (e.g Stackoverflow is company of mr x).
- our API sends it back to Echo for playback(Echo says: Mr.x is employee of stackoverflow).
So, can someone let me know does above flow is possible with amazon echo using PHP or any other way to fulfill above requirement? .
I did goggle it but didn't found any particular help so please provide some more support on it.