Hi all,
I am building a bot which answers queries related to subject.
scenario :
User : asked a question
Bot : replied some answer
Bot : did that helped you? buttons (yes/no)
User : selects no button
when no button is clicked its runs custom action. and search that query on google.
so in order to do this, in actions I wrote
text = tracker.latest_message[‘text’]
bot fetched ‘No’ as text . but I want the bot to fetch, users question before he said "No" so that I can search that question on google.
any suggestions/help are highly appreciated!