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 / Power Automate Flow to...
Power Automate
Suggested Answer

Power Automate Flow to Sort Incoming Emails Based on Email Addresses Listed in Excel

(0) ShareShare
ReportReport
Posted on by 8

I'm working to set up a flow in Power Automate as an alternative to using Outlook Rules, which have reached their size limits for my needs. Here’s what I want the flow to accomplish:

  1. Trigger whenever a new email arrives in my inbox.
  2. Check an Excel spreadsheet to see if the sender’s email address exists in a specific column.
  3. If the sender’s email is found in the spreadsheet, automatically move the email to a designated subfolder in my Outlook account.

Is this setup achievable in Power Automate, and how reliable is this approach in terms of consistency and processing large numbers of emails? I’m open to any advice on configuring this flow effectively.

Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,085 Super User 2026 Season 1 on at
    Something like this should work:
     
    For the List rows present in a table action, you'll add a filter query to lookup the e-mail address of the sender (replace EmailAddress with the column name in your Excel file):
    In the condition you'll check to see if at least one matching row was found with this condition, which uses a length expression to count the number of rows returned (length(outputs('List_rows_present_in_a_table')?['body/value'])):
    If rows are returned, you can use the Move email action to move it to the folder of your choice. As for how much it can process, that will depend on your licensing for Power Automate. If you expect a lot of e-mail and do not have any filters enabled on the trigger, you'll probably need either a premium per user license or a per flow plan. You can read about limitations at Requests limits and allocations - Power Platform | Microsoft Learn.
  • Cchurchoptimum Profile Picture
    8 on at
    The issue didn't work and the ai on the side said the below. If I don't have anyone in the "From" Field for "When a new email arrives (v3), would this be an issue?:

     
  • David_MA Profile Picture
    14,085 Super User 2026 Season 1 on at
    You will need to show how you configured the action. It works for me. AI is telling lies (aka hallucinating) as all e-mails have to come from someone. How could you get an e-mail if it didn't come from someone? You probably don't have something configured correctly, so you will need to show how you configured the action that caused the error. It should be configured as shown below with Requester replaced by your column name:
    This is a flow run showing this works:
  • Cchurchoptimum Profile Picture
    8 on at
    I think the issue may be related to the "From" Property. Do you have to add it to the "When a New Email Arrives" Module?
  • David_MA Profile Picture
    14,085 Super User 2026 Season 1 on at
    Nothing special is required to return the From field with the When a new email arrives (V3) trigger. It is automatically included as noted at Office 365 Outlook - Connectors | Microsoft Learn:
     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard