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 / Testing a MS 365 Group...
Power Automate
Unanswered

Testing a MS 365 Group New Emails: Saving PDF Attachments if Subject Line meets a condition

(0) ShareShare
ReportReport
Posted on by 7

Background:

I am trying to build a flow that will check new emails received into an MS Office 365 Group, and if 2x conditions are met, the flow will save the email's PDF attachments to SharePoint:

 

  1. If the Subject Line contains "Internal Use" and...
  2. If the email contains PDF attachments then save the PDF attachments to SharePoint

How far I've got:

I have been able to build a valid flow (i.e., Flow Checker was OK with it) which drills down to check if an Attachment and test to see if it's a PDF and if it is, then saving it to SharePoint.

 

flow.png

 

Where I need help:

  1. The existing flow doesn't work: despite being Flow Checker 'approved' the flow checks the Group (upon me sending it an email containing a PDF attachment and correct subject line as a test) and just doesn't complete. Is anyone able to see any obvious flaws in my flow and/or has suggestions on how to get this working properly?
  2. Expanding to flow to test the email's Subject Line: I haven't been able to triangulate how to test the subject line. I 'think' I need to utilize the "Get conversation thread" however would appreciate confirmation of this, and how I could integrate this into my flow.

Please let me know if I can elaborate on anything!

Categories:
I have the same question (0)
  • wtcf Profile Picture
    7 on at

    I have been able to get the flow working now (without the Subject line condition), which is as follows - 

    wtcf_0-1693369030063.png

     

    Is anyone able to help guide me with adding a condition that just tests a "post" Subject Line for the string "Internal Use"

     

    Thanks in advance!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 177 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard