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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Help pulling SharePoin...
Power Automate
Unanswered

Help pulling SharePoint list items, then filter on items that have been logged within the past 24 hours, then remove duplicate rows that have same Ref number

(0) ShareShare
ReportReport
Posted on by 69

Hi There,

 

I have a Hardware ordering app that logs new orders into a SharePoint list called 'Hardware Orders'. Each order may have multiple rows in the list, and these wwill have a duplicate value in the 'PO_Number' column. 

On a daily basis I would like to email a feedback form link to users who have used the app over the past 24 hours.

 

The plan is to get Flow to run through the rows in my SharePoint list, identify all the rows that have been added within the last 24 hours. The Flow would need to remove rows that have duplicate PO numbers (column 'PO_Number), and also duplicate email addresses of the column 'Submitter_Email'. This should leave a list of unique emails that I can use to send off the feedback link to via email.

 

Please can someone assist in how to run these filter queries in Flow, as I have never done this before. So far I have the 'SharePoint List - Get Items', I think I need to configure the the 'Filter query' but not sure how to get it right.

 

Any help much appreciated!

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,280 Most Valuable Professional on at

    @snipesnab 

    Can you tell me what needs to be in the actual email?  Do you need data from each of the rows associated with a PO?

     

     

  • snipesnab Profile Picture
    69 on at

    I just need to send a static link to a forms survey to all the unique email addresses as a result of the list query

  • snipesnab Profile Picture
    69 on at

    @ScottShearer - Are you able to assist with this, its got me stumped 🙂

  • ScottShearer Profile Picture
    25,280 Most Valuable Professional on at

    @snipesnab 

    Sure.  The key to the solution is this:

    1. Use a SharePoint Get items action with a filter query that looks something like this:
      1. Created ge 'addDays(utcNow(), -1,'yyyy-MM-dd')'
    2. Create any array from the output that contains only the email addresses
    3. Use the union expression and supply the array for both parameters - this will generate values
      1. Here is an example
    4. Loop through the unique values and send the email

    I will provide an example Flow later today.

     

     

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!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard