Clicking on results after a search

I am trying to create an automation that uses the search bar on a social media platform and gets results. The sequence makes a search for each row on an excel sheet. After the search it is supposed to click on the top profile on the results that appear. Since different searches give different results (profile) the name to click on changes each time and thus uipath cant find what to click on.
Error message: " Something went wrong with the Application .
Could not find the user-interface (UI) element for this action. How can I solve this.

Hi,

Can you please Elaborate that What type of data ,you are searching on social media platform.
Is any thing Common or different .

Hi,
Make your selector dynamic for click event on top profile.

For making any data dynamic use *.

If you are clicking on name of profile so make name dynamic using * in selector.

Dynamic Ex. Link=”https://forum.uipath.com/t/how-do-i-create-a-dynamic-selector-on-click-activity/107718/2”