I am wondering how I can wait for the user’s response in a custom action and after that replay a constant message to the user’s response?
Hi, Thanks for the quick reply. At the beginning of the conversation with the chatbot, the chatbot asks the user to input her/his type; it can be a healthcare worker, family member or other. For the healthcare worker and family member, we know what should we do. However, we are not sure about the ‘other’ type so I want to ask the user to give more detail and after that reply a constant message, “I am still learning. I’m being trained to first help healthcare workers and their families. I will do my best to help you now, but I will get even better at my job over time as my computing team makes me smarter and teaches me new things.” I want to wait for the user’s response in the custom action and after receiving the response, reply with the constant message.
@zamaniali1995 you can archived this whilst creating custom action. If user reply as per your framed questions then its fine else set the custom action message which you mentioned. I hope you get this?
Bot: Hi, I am here to help you ! Can you select the type:
Healthcare worker | family member | other
User: Other
Bot: Can you tell me more details? {set form what ever question you need to ask}
User: No or Sorry I don’t want to share further
Bot: I am sorry to listen that, I am still learning. I’m being trained to first help healthcare workers and their families. I will do my best to help you now, but I will get even better at my job over time as my computing team makes me smarter and teaches me new things. (trigger this action)
I hope now it’s clear?
Yes, I completely understood what you mean. I appreciate your assistance.
How can I do that?
@zamaniali1995 For this scenario ? or whole?
User: No or Sorry I don’t want to share further
Please see and understand these videos related to forms(to ask more details from user):
You need to implement some of this using custom action also https://youtu.be/Tslj_0wj-3g
I will encourage you just create the step by step stories of bot and user conversations.
Hi @zamaniali1995 I hope you solve this issue, can I request to please close this as solution for others. Thanks.