Slot value based on user input

I am buildng a bot. In that I want to ask user whether he wants to give an email or not.If not then move onto next parameter, take its value and execute the code in custom action. If yes, then take its value in slot and move onto the next parameter and execute the custom action. How can I do this?

Hmm, why not write simple stories for this?

@saurabh-m523 because, I have to send an email based on the user’s answer if its a yes or a no. The code for email is in custom actions. I am thinking of putting the mail code in an if part . I would like it if you have another approach. Thanks!