How do I create a questionnaire that provides an automatic response based on certain answers