Uttering for a slot from within custom action

Hello,

Is there a way where I can utter for a slot to be filled from within the custom actions?

Eg,

Suppose for form filling action if any of the slot abc is not set to handle that we write

utter_ask_abc:

  • text: “Please fill abc”

Can we do this dynamically from within formations? Because that utter_ask_abc can be dynamic sometimes and I might need to fetch it from DB and then make a string and send it.

Yup! Just name the action action_ask_abc instead.

See Using a Custom Action to Ask For the Next Slot in the Docs.

1 Like