You could try setting up your
stories.md file so that the user is first asked their name, then their phone, and then use a custom
FormAction (link) to ask what the problem is. The form will only need to fill in one slot,
def name(self) -> Text:
def required_slots(tracker: Tracker) -> List[Text]:
"""A list of required slots that the form has to fill"""
def slot_mappings(self) -> Dict[Text, Union[Dict, List[Dict]]]:
"""A dictionary to map required slots to
- an extracted entity
- intent: value pairs
- a whole message
or a list of them, where a first match will be picked"""
# Use the entered text as value for the problem slot
domain: Dict[Text, Any],
) -> List[Dict]:
"""Define what the form has to do
after all required slots are filled"""