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 Platform Community / Forums / Power Automate / Creating a Condition t...
Power Automate
Unanswered

Creating a Condition to check file type.

(1) ShareShare
ReportReport
Posted on by 4

I am trying to figure out how to create a condition where TRUE condition is the email attachment file type is an excel spreadsheet and the FALSE condition is any other file type.

Categories:
I have the same question (1)
  • Verified answer
    trice602 Profile Picture
    15,331 Super User 2025 Season 2 on at
    Creating a Condition to check file type.
    Hi,
     
    Excel spreadsheets have a specific file content type you can check.  In my test, it works well.
     
     
    application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
     
    The key here is to make sure you turn on Only with Attachments and Include Attachments in the trigger, shown below.
     
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     


     

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard