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 / How to select each ite...
Power Automate
Answered

How to select each item from web page which is dynamic in number or quantity?

(0) ShareShare
ReportReport
Posted on by 12

Hi,

 

I am new to PDA and automating the process of - 1) Login into web application (Webflow) 2) Go to list of collection of items 3) Select each item 4) Import item contents into csv file from import option of web application.
For this I am using Power automate desktop. I managed to go till step 2. However, it is becoming difficult for me to select each item from collection and choose Import option.
Here is my flow-

VinayakJ_0-1619514953143.png

After action 10 (Extract data from webpage), I am able to retrieve list of text of items of following collection-

VinayakJ_1-1619515166965.png

However, not sure how to select each item from left pane and click on Export as generic. For this, I tried to use Loop with Click link on Web Page, but not able to select item dynamically using Click link on Web Page.
Since this collection is dynamic (number of items in left pane may increase or decrease in future), I can't use div for each item.
Does anyone face this kind of issue ?  Any help would be appreciated.

 

Thanks in Advance

 

  • Verified answer
    Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    This is a bit of an advanced technique, so I hope you can understand my explanation.

     

    • You need to capture one of the list item UI element, then modify the selector so it applies to all the list items.
    • Turn on the Ordinal property in the selector, and verify that :eq(0) selects the first item, :eq(1) selects the second, etc.
    • Create a basic Loop that starts at 0 and ends at 100.
    • Go back into your selector, turn on custom mode and replace :eq(0) with :eq(%LoopIndex%)
    • Add an action that uses the UI element in the loop - verify that each item is used sequentially.
    • The action fails when there are no more items, so you need to add a If webpage (does not) contain condition at the beginning of the loop, to Exit gracefully. 
  • VinayakJ Profile Picture
    12 on at

    thanks Henrik_M......it works like charm...

  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    Great to hear! 

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 237 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 194

Last 30 days Overall leaderboard