Do the numbers have an arbitrary amount of digits as well?
For the name (and the numbers, if the answer to the above question is affirmative), you'll have to use dictation:
Start Dictation Mode (Clearing Dictation Buffer)
Start Loop While : [{DICTATION}] Equals ''
End Loop
Stop Dictation Mode
Set Text [~name] to '{DICTATION}'
Now, chances are you'll find the accuracy isn't great; Only thing you can do is train your speech recognition profile as best you can, and speak clearly.
If you're trying to dictate names, you'll probably also come across ones that aren't in the dictionary, meaning you have to add them manually before they'll be recognized.
where would the wait for spoken response be found in VA
"Other >", "Advanced", "Get User Input", "Wait For Spoken Response"