Skip to main content

Notifications

Community site session details

Community site session details

Session Id : aYcScBDywqptu8qDOKLez6
Power Automate - Building Flows
Answered

Setting Up Filter Query with Apply To Each Flow

Like (1) ShareShare
ReportReport
Posted on 15 Jan 2024 17:55:53 by 104

Hi,

 

So i have a List that has a due date in it. I have a current flow where the Filter Query is DueDate eq " or DueDate eq " and it works perfectly.

 

However, is there a way, without creating another flow. To set it up so that if the DueDate is 7 days from now it sends out an email and if the DueDate is 30 days from now it sends out another email. I want the body of the emails to be different depending upon the result of the filter query.

 

I know this can be done simply by creating 2 separate flows but can it be made into 1? I am not sure how to set up the flow design

 

Thank you

  • Verified answer
    abm abm Profile Picture
    32,464 Most Valuable Professional on 15 Jan 2024 at 18:52:18
    Re: Setting Up Filter Query with Apply To Each Flow

    Hi @martzj 

     

    Under the same flow you could replicate the same List Filter action step and change the query accordingly. Then next step add the Apply to Each to iterate the results. Under the Apply to Each you can add the Send email action step. Follow the same steps for the other filter query action step.

     

    Thanks

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 105

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 90 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 62 Super User 2025 Season 1

Overall leaderboard
Loading started