web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How to identify an email with pdf file type attached

(0) ShareShare
ReportReport
Posted on by 8

i have a request, when you receive an email, how can outlook identify if the attachment is a PDF type file, if yes, save it to SharePoint or OneDrive automatically, if no, sent it back to the sender and tell him that the attachment in the email is not a PDF type file, or even doesn't have an attachment included. i need to filter every email to identify if they include pdf attachment, kindly let me know if i don't make it clear. thanks!!

I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    on at
    Re: How to identify an email with pdf file type attached

    Hi @superdamon ,

     

    Maybe you can try this:
    By getting the attachment name and judging whether the name contains 'pdf'.

    vmengmlimsft_0-1695707464595.png

     

     

    Hope this helps you!

    -----------------------------------------------------------------------------------------------------------------------------------

    If my answer solves your problem, please accept it as a solution to help more people stuck on the same problem find it.

     

    Best regards,

    Rimmon Li

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 722 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 461 Moderator

#3
developerAJ Profile Picture

developerAJ 283

Last 30 days Overall leaderboard