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 / Getting items from mul...
Power Automate
Unanswered

Getting items from multiple lists power automate and send in a single email

(0) ShareShare
ReportReport
Posted on by 172
I'm working on a project I need to be able to: Scan through few lists(around 10) based on some criteria and then send a single email with some basic information Title and a link to the item.

My approach was create a separate list to store the list names and URL and then iterate through the list and then append the values to output.

See screenshot below.

The first get items iterate though the list names stored as a list

The second get item gets scan through the list names and output the values

In the compose I can see the values in JSON for each list.

But how do I iterate though it to get the values I need?

I have also tried the below in the Compose 2 (But I manage to get only the first item of each list)

outputs('Get_items_2')?['body']?['value'][0]?['Title']
 

P4EQ3.png

Thanks in Advance

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @naijacoder ,

     

    Could you please share more details about your scenario? What do you mean by send a single email with some basic information Title and a link to the item? 

     

    I have no idea how you could get specific items from the lists, but below the Get items action you can use "Filter array" along with "Select" operations to iterate all entries and get desired column values:

    vjefferni_1-1680489252305.png

     

    You can also add a Create HTML table underneath the Select, use the outputs to generate an HTML table which can use in Email body.

     

    Best regards,

  • Verified answer
    naijacoder Profile Picture
    172 on at

    Thanks v-jefferni for your response.
    What I was looking and meant is send the items all in one email

    I ended solving it myself but without using filter array but Apply to each but would try your approach too
    Whats the filter array in your post suppose to do..?

     

  • naijacoder Profile Picture
    172 on at

    Actually the filter for the list if needed

  • v-jefferni Profile Picture
    on at

    Hi @naijacoder ,

     

    It can be used for applying another query on the outputs of get items and then in Select you will be able to find reference to the dynamic contents, which cannot be referenced easily from get item output array.

     

    Best regards,

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard