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 use variables a...
Power Automate
Answered

How to use variables as array coordinate inputs?

(0) ShareShare
ReportReport
Posted on by 2

I have a list of URLs in an excel worksheet that I want to go to each like and have PAD click on a few buttons and then move to the next link and repeat.

 

I am able to connect to the excel and import the list or URLs as a data table. I am stuck on trying to build a loop to iterate through the list of URLs. I tried to create a simple variable (%URLItem%) and then increment it for each loop. I am unable to pass that variable into go to web page action to then look up that particaulr item from the array. Any ideas on what I am doing wrong?

 

Darnallc_1-1642609846284.png

 

 

 

 

I have the same question (0)
  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    You cannot have 2 brackets on a list variable.  You can only have one.  You only need 2 on a datatable.

     

    %List[ListIndex]% or %DataTable[RowIndex][ColumnIndex(or Title)]%

     

    So, if all your URLs are in a List, then:

     

    Loop 0 to %URL_List.Count - 1%

        'do something with %URL_List[LoopIndex]%

    End (Loop)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard