Wait for user's response in the custom actions

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?

@zamaniali1995 Hey! Can you elaborate with some example please?

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 :slight_smile: ! 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? :slight_smile:

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):

  1. https://youtu.be/U3an88fjFRc
  2. https://youtu.be/qnqBHG0E9EY
  3. https://youtu.be/jj4BL9o3Q7o

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.