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

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
    12,966 Super User 2025 Season 2 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
    12,966 Super User 2025 Season 2 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
    12,966 Super User 2025 Season 2 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

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