web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Select correct link in...
Power Automate
Answered

Select correct link in website

(0) ShareShare
ReportReport
Posted on by 18

Can anyone help me with the issue below:

I am using Power Automate desktop, after I search for " 40522", the result shows 40522 and J40522, but I just wanted to click on the eye link for  40522. How can I do that? I am just stuck at this step. Thank you in advance.

 

vpn25_1-1701249822381.png

 

 

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    How exactly are you "searching" for it? What actions are you using to click on it? Can you share a screenshot of your flow?

  • vpn25 Profile Picture
    18 on at

    Thank you for the response. I just searched 40522, but the result is shown 2 items because they have the common " 40522" like the image I showed. Please have a look at my flow.

    vpn25_0-1701250623732.png

     

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    You will likely need to extract the search results first using Extract data from web page and then find the result you want. You can use Find or replace in data table to find the row index of the specific result you want. When you set "match entire cell contents" in Find or replace in data table, it will find exact matches only.

     

    You can then use the row index as a variable in your selector. You will need to modify the selector used for the Press button on web page action. See here for reference on how to modify selectors and use variables in selectors: https://learn.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors

    Also this tutorial on more advanced selectors in web automation: https://www.youtube.com/watch?v=2PcyBa22Jj8&ab_channel=Thomas%22Shaky%22Petersen

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • vpn25 Profile Picture
    18 on at

    Hi Agnies, much appreciate your effort, if I search for a value, it shows many results, but I just need one and click the link accordingly. I'm just a newbie, so when I have a chance to practice what you advised me, if it works, I will mark it as the solution. Thank you again.

  • vpn25 Profile Picture
    18 on at

    Hi Agnius Bartninkas, can you help me how can I get the index of data below? 

    vpn25_0-1701425709083.png

     

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Access it as %DataTableMatches[0]['Row']%

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • vpn25 Profile Picture
    18 on at

    thank  you I did it

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard