It mostly depends on whether you have access to both authentication server and authenticated client.
You can automate OTP using email. But it required either own email server or email account on a real server,Eg: Gmail/ yahoo.
It is possible to automate OTP via SMS by using google voice and redirecting SMS into your email address.
If your requirements is to set up a word for questions, then just pass that word for which question is asked.