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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to store the links...
Power Automate
Unanswered

How to store the links I want in list variable ?

(0) ShareShare
ReportReport
Posted on by 68

Hi


I can loop through the items I want and collect each link for that item. But the variable DownloadLink store only last extracted link. How I can store the extracted links in a list ? I dont need to use excel


Thanks

 

William5234_0-1698419242662.png

 

 

 

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    That's because you have onlu captured a single item. Try capturing several items via the live web helper. It will usually understand that you're trying to capture a list as soon as you capture at least two or three items. When you do that, it will store the results in a list.

    -------------------------------------------------------------------------

    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.

  • William5234 Profile Picture
    68 on at

    But I store each value from a loop, I cant get all links without looping.

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Can you share some screenshots of your flow? It's a bit difficult to understand what you mean without seeing your flow.

  • William5234 Profile Picture
    68 on at

    I cannot but it is simple:

     

    1- open browser

    2- get list of urls

    3- Loop through these url - begin loop

    4- goto web page

    5- Extract data from web page (here I store the data url in a variable)

    6- end loop

     

    I just need the step 5 to store data in a list

     

     

  • William5234 Profile Picture
    68 on at

    I used now action add item to list variable but when I open the variable I find it creating the new list item inside another row and column with a "More" link. Why is that ?

     

    William5234_2-1698442239012.png

     

     

  • William5234 Profile Picture
    68 on at

    Why the extracted data value (a url) alwayes use the input variable as rows and columns ?

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

    Well, if you can only extract one URL at a time, but want them all in a list, you need to use Create new list at the beginning of your flow and then use Add item to list after you have extracted it (inside the loop).

    Somewhat like this:

    1. Create new list
    2. open browser
    3. get list of urls
    4. Loop through these url - begin loop
      1. goto web page
      2. Extract data from web page (here I store the data url in a variable)
      3. Add item to list - add the URL you just extracted into the list you created at the beginning of the flow
    5. end loop

     

    This way you will end up with a list of URLs at the end of your loop.

     

    As to your other question regarding Extract data from web page returning a data table - that's just the way the action is designed. If you only need a single value, you're actually better off with using Get details of element in web pageExtract data from web page is usually used when you need more than one value - a list or a table. That's why it's designed to always return a data table, regardless of how many items you need.

     

    If you want to stick to using Extract data from web page, you can still get the value from the table as %DownloadLink[0][0]%.

    -------------------------------------------------------------------------
    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.

  • William5234 Profile Picture
    68 on at

    Many thanks 👏

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard