Slots based on conditions in Form Action

Hello All,

I’m using the Form Action and want to have a slot on the basis of some condition. I’ve put the condition on required_slots with the desired slots but on running the bot it asks for every slot.

Sharing the action file in attachments. Also, want to know how to use the pipeline extract entities in slot_mappings. cabbooking.py (4.6 KB)

Help me on this ASAP.

I have a 8 slots which I fill using formAction. I want to use 2 out of 8 slots on basis of condition. Is there a way to do it.