Help with custom action slots

do you have an example of action.py code that could ask both of those questions and take in open text input? thanks!