Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Creating a Condition to check file type.

Like (1) ShareShare
ReportReport
Posted on 12 Nov 2024 00:24:58 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.

  • Verified answer
    trice602 Profile Picture
    13,768 Super User 2025 Season 1 on 12 Nov 2024 at 04:30:36
    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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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 55

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 39 Super User 2025 Season 1

#3
VictorIvanidze Profile Picture

VictorIvanidze 26

Overall leaderboard
Loading started