How to perform action during active loop of form filing

Is it possible to perform actions during active loop of filling? eg: i want to collect details for hotel booking, hotel_name, room_type, etc. i could keep on asking which hotel you prefer, what type of room you need, and then check if that room is available. And if not available, reset the form and keep on asking. Instead of that is it possible to utter available hotel and available rooms before asking respective questions ( what i mean is to run an action to fetch available hotels and rooms just before asking the slot filling questions)

I think you could first utter available hotels/rooms and then activate the form.

If you can share the relevant code I’ll try to give you more concrete suggestions.

@jupyterjazz I resolved the problem by using ask_for_slotname.

class AskForSlotHotelName(Action):
    def name(self) -> Text:
        return "action_ask_hotelname"

    def run(
        self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict
    ) -> List[EventType]:
        dispatcher.utter_message(text="There are beautiful hotels in DisneyWorld")
        dispatcher.utter_message(text="Which hotel are you looking for?")
        dispatcher.utter_message(text= f"We provide booking for {', '.join(hotel_list[:-1])} and {hotel_list[-1]}")
        return []