@neilgram Some tips for the first part:
1: You define an input where you write the subjects, or you can store them in a list. Then, with a select menu, you can choose them according to your needs. You will then send the element you choose from the list and assign it to the prompt in the API...