Fill in google form input fields based on title/heading

How can I automate filling in google forms and selecting radio buttons where applicable, based on the title before the input field?

For example, google forms format is title and then there is an input field below it. I would like to apply some logic if else, based on the title and determine the answer to put in, and the type (text or selecting radio button)

Can I do it with UIPath?