Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Filter via Subject - Power Automate

(0) ShareShare
ReportReport
Posted on by 26

Server sends me 4 emails, 2 per environment per server. Each of these emails has a subject format of env-svrname-SomeText.

I have 6 columns in my spreadsheet namely: email body, date, stage-svr1, stage-svr2, prd-svr1, prd-svr2.

The email body contents are filtered via filter array to display FAIL items and remove null items.


Only the email subject has the env-Svrname. I want to filter the subject of the email per environment per server so that the email body would be under their respective columns without using excel formulas.


Expected output would be in the spreadsheet would be:


Date stage-svr1 stage-svr2 prd-svr1 prd-svr2
10/24/22 SomeText: FAIL SomeText: FAIL SomeText: FAIL, SomeText: FAIL


It should only be 1 row per day because the emails are sent simultaneously.



Related post for the email body contents: https://powerusers.microsoft.com/t5/Using-Flows/Display-Results-of-an-array-power-automate/m-p/1833357#M34259

  • abc1235 Profile Picture
    26 on at
    Re: Filter via Subject - Power Automate

     

    PA7.PNGPA8.PNG

    I wanted the STAGECDC, STAGEPDC etc to display the contents of the email body based on the subject of the email. Is there a way to do that apart from using excel's formula? That's the workaround I'm currently doing to get what I needed. 

  • VictorIvanidze Profile Picture
    12,515 on at
    Re: Filter via Subject - Power Automate

    Could you show your flow?

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1