How to get bot response in action_listen custom action

Hi Team, I wanted to get that exact bot result in action server,

In my scenario i used action_listen default action method. In this method i need to get bot response based on user input Please suggest me to give any examples

Thanks In Advance