Configuring a robot to interact with a web DDL

Hi guys, need some help regarding a design approach to automating a process.

Say that I had description field with some text, and that I wanted the text found in that description to dictate which option the robot selects from the drop down list. (For example, if keyword ‘Three’ or ‘3’ was found in the description the robot would select item 3 in the combo box.

How do you think that you would approach this.

Currently thinking of drawing up key words and then doing the click events in a number of if statements with the condition being the get text value of the description.

Would love to hear some feedback on this.