Automation selecting option in dropdown based on user input

Basically, I just want the automation to select the option (that the user writes in “Input Dialog”) when the dropdown list is shown